[node-patches] Change in ovirt-node[node-3.0]: add SysV handling for plugin-snmp
mburns at redhat.com
mburns at redhat.com
Thu May 23 15:31:24 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/35/15035/1
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 2b84612..59ba96e 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/15035
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee870da1824f523a217cca5a760fcfc7e7430946
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Michael Burns <mburns at redhat.com>
More information about the node-patches
mailing list