[node-patches] Change in ovirt-node[master]: add SysV handling for plugin-snmp
mburns at redhat.com
mburns at redhat.com
Sat May 18 03:10:37 UTC 2013
Michael Burns has uploaded a new change for review.
Change subject: add SysV handling for plugin-snmp
......................................................................
add SysV handling for plugin-snmp
Change-Id: Iee870da1824f523a217cca5a760fcfc7e7430946
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/48/14848/1
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 08330ca..3b1aeeb 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -121,7 +121,11 @@
This package provides an snmp plugin tools for use with%{product_family} image.
%post plugin-snmp
+%if %{is_systemd}
systemctl enable snmpd.service
+%else
+chkconfig snmpd on
+%endif
cat > /etc/snmp/snmpd.conf << \EOF_snmpd
master agentx
--
To view, visit http://gerrit.ovirt.org/14848
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee870da1824f523a217cca5a760fcfc7e7430946
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>
More information about the node-patches
mailing list