[node-patches] Change in ovirt-node[master]: move snmpd.conf default configuration to plugin-snmp package

jboggs at redhat.com jboggs at redhat.com
Wed Jan 16 02:27:25 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: move snmpd.conf default configuration to plugin-snmp package
......................................................................

move snmpd.conf default configuration to plugin-snmp package

rhbz#894067

Change-Id: Id5dc7346f8a440f20f5ba69e3c4c01ea5132758f
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M ovirt-node.spec.in
M recipe/common-post.ks
2 files changed, 6 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/74/11074/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index bd60709..1ddbb8c 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -123,6 +123,12 @@
 %post plugin-snmp
 systemctl enable snmpd.service
 
+cat > /etc/snmp/snmpd.conf << \EOF_snmpd
+master agentx
+dontLogTCPWrappersConnects yes
+rwuser root auth .1
+EOF_snmpd
+
 
 %package plugin-cim
 Summary:        CIM plugin for %{product_family} image
@@ -132,7 +138,6 @@
 
 %description plugin-cim
 This package provides a cim plugin for use with%{product_family} image.
-
 
 %post plugin-cim
 %if ! %{is_systemd}
diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 88dc00a..88bd2b8 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -134,12 +134,6 @@
 save
 EOF_kdump
 
-cat > /etc/snmp/snmpd.conf << \EOF_snmpd
-master agentx
-dontLogTCPWrappersConnects yes
-rwuser root auth .1
-EOF_snmpd
-
 # add admin user for configuration ui
 useradd admin
 usermod -G wheel admin


--
To view, visit http://gerrit.ovirt.org/11074
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5dc7346f8a440f20f5ba69e3c4c01ea5132758f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list