aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-21 16:19:30 +0000
committerGerrit Code Review <review@openstack.org>2016-06-21 16:19:30 +0000
commita2614491be1cae82e4b04337184b75644633ce3f (patch)
treeba4cf25e3c25c770f5cb0296c3ce816b13d9a94a /puppet/services
parentd6eec7809a57e21faea1737a0339e1f84b96b28a (diff)
parent296bffde893dbbf36c62d664e24e2584b89b8070 (diff)
Merge "Composable roles within services - NTP"
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/time/ntp.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/puppet/services/time/ntp.yaml b/puppet/services/time/ntp.yaml
new file mode 100644
index 00000000..dbef6f91
--- /dev/null
+++ b/puppet/services/time/ntp.yaml
@@ -0,0 +1,27 @@
+heat_template_version: 2016-04-08
+
+description: >
+ NTP service deployment using puppet, this YAML file
+ creates the interface between the HOT template
+ and the puppet manifest that actually installs
+ and configure NTP.
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ NtpServers:
+ default: []
+ description: NTP servers
+ type: comma_delimited_list
+
+outputs:
+ role_data:
+ description: Role ntp using composable services.
+ value:
+ config_settings:
+ ntp::ntpservers: {get_param: NtpServers}
+ step_config: |
+ include ::ntp \ No newline at end of file