aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/snmp.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2016-05-24 18:40:45 +0100
committerEmilien Macchi <emilien@redhat.com>2016-06-29 15:43:50 -0400
commitb5781172ba18d57d8c586c62102e6e856fb55bf6 (patch)
tree3be1e524b4a1c254702ea72ada8451180521c21a /puppet/services/snmp.yaml
parent463333ccc7a33db21157db49b69c37a4b04593d9 (diff)
Convert SNMP configuration to composable services format
Change-Id: I7265b0781acefd4a0de687b0465144e57bcc079f Partially-Implements: blueprint composable-services-within-roles
Diffstat (limited to 'puppet/services/snmp.yaml')
-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