aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/snmp.yaml
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-05-02 12:15:08 -0400
committerEmilien Macchi <emilien@redhat.com>2017-05-02 12:15:08 -0400
commit6ec49bdddab58463d8f99ea4316857f41d4278e5 (patch)
treec3d1850a800b7074d5a7f5f2f98778c31301fd4c /puppet/services/snmp.yaml
parent903778a8684bc8d314078e3afa73cf74d38f2910 (diff)
snmp: add SnmpdBindHost parameter
SnmpdBindHost will be useful for users who want to change the binding options for SNMP daemon. It has to be an array, and by the default the value is ['udp:161','udp6:[::1]:161'] like it was in puppet-tripleo profile. Change-Id: Iccf0a8d35cc05d34272c078c97a5dddfb8e7d614 Closes-Bug: #1687628
Diffstat (limited to 'puppet/services/snmp.yaml')
-rw-r--r--puppet/services/snmp.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/snmp.yaml b/puppet/services/snmp.yaml
index 80c29f95..072ccc1a 100644
--- a/puppet/services/snmp.yaml
+++ b/puppet/services/snmp.yaml
@@ -28,6 +28,10 @@ parameters:
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
type: string
hidden: true
+ SnmpdBindHost:
+ description: An array of bind host addresses on which SNMP daemon will listen.
+ type: comma_delimited_list
+ default: ['udp:161','udp6:[::1]:161']
outputs:
role_data:
@@ -37,6 +41,7 @@ outputs:
config_settings:
tripleo::profile::base::snmp::snmpd_user: {get_param: SnmpdReadonlyUserName}
tripleo::profile::base::snmp::snmpd_password: {get_param: SnmpdReadonlyUserPassword}
+ snmp::agentaddress: {get_param: SnmpdBindHost}
tripleo.snmp.firewall_rules:
'127 snmp':
dport: 161