summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-30 12:39:17 +0000
committerGerrit Code Review <review@openstack.org>2016-06-30 12:39:17 +0000
commit109fafc6c0f12c4c187f6917cacd7547849ee957 (patch)
treeed3c8fc9305ffcf2cb7e0b1afe6803dfc5feaa80 /puppet/services
parent66b9735f42c7ff774c3b8d54a26c95c05a3ad2b4 (diff)
parentb5781172ba18d57d8c586c62102e6e856fb55bf6 (diff)
Merge "Convert SNMP configuration to composable services format"
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/snmp.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/puppet/services/snmp.yaml b/puppet/services/snmp.yaml
new file mode 100644
index 00000000..24ee2933
--- /dev/null
+++ b/puppet/services/snmp.yaml
@@ -0,0 +1,31 @@
+heat_template_version: 2016-04-08
+
+description: >
+ SNMP client configured with Puppet, to facilitate Ceilometer Hardware
+ monitoring in the undercloud. This service is required to enable hardware
+ monitoring.
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ SnmpdReadonlyUserName:
+ default: ro_snmp_user
+ description: The user name for SNMPd with readonly rights running on all Overcloud nodes
+ type: string
+ SnmpdReadonlyUserPassword:
+ description: The user password for SNMPd with readonly rights running on all Overcloud nodes
+ type: string
+ hidden: true
+
+outputs:
+ role_data:
+ description: Role data for the SNMP services
+ value:
+ config_settings:
+ snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
+ snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
+ step_config: |
+ include ::tripleo::profile::base::snmp