aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/manifests/overcloud_object.pp
diff options
context:
space:
mode:
authorRichard Su <rwsu@redhat.com>2016-01-05 17:46:03 -0800
committerRichard Su <rwsu@redhat.com>2016-02-29 09:53:57 -0800
commit95614e47544fad95b8d9ba7a75f4faa3b70589fa (patch)
treec22e4c0a9c5294036f508d20c8efc8b956beb0ba /puppet/manifests/overcloud_object.pp
parent1dcfdab92067afe30cf26edb27f384a01b8809c2 (diff)
Add missing createUser line to /etc/snmp/snmpd.conf
Adds missing configuration which allows overcloud nodes to be polled by undercloud node. One would have expected the snmp::snmpv3_user call to create the missing configuration line. But as noted in this bug, it does not: https://github.com/razorsedge/puppet-snmp/issues/9 Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1223278 Change-Id: Ieb2d612a27a938b45056bd37176f44cb55543d75 Closes-Bug: 1532700
Diffstat (limited to 'puppet/manifests/overcloud_object.pp')
-rw-r--r--puppet/manifests/overcloud_object.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/manifests/overcloud_object.pp b/puppet/manifests/overcloud_object.pp
index 1eabddf1..eb4e9680 100644
--- a/puppet/manifests/overcloud_object.pp
+++ b/puppet/manifests/overcloud_object.pp
@@ -46,7 +46,7 @@ snmp::snmpv3_user { $snmpd_user:
}
class { '::snmp':
agentaddress => ['udp:161','udp6:[::1]:161'],
- snmpd_config => [ join(['rouser ', hiera('snmpd_readonly_user_name')]), 'proc cron', 'includeAllDisks 10%', 'master agentx', 'trapsink localhost public', 'iquerySecName internalUser', 'rouser internalUser', 'defaultMonitors yes', 'linkUpDownNotifications yes' ],
+ snmpd_config => [ join(['createUser ', hiera('snmpd_readonly_user_name'), ' MD5 "', hiera('snmpd_readonly_user_password'), '"']), join(['rouser ', hiera('snmpd_readonly_user_name')]), 'proc cron', 'includeAllDisks 10%', 'master agentx', 'trapsink localhost public', 'iquerySecName internalUser', 'rouser internalUser', 'defaultMonitors yes', 'linkUpDownNotifications yes' ],
}
hiera_include('object_classes')