bea99b1b5d6642cdda86f154aef8a0648a8c5af4
[apex-tripleo-heat-templates.git] / puppet / services / time / ntp.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   NTP service deployment using puppet, this YAML file
5   creates the interface between the HOT template
6   and the puppet manifest that actually installs
7   and configure NTP.
8
9 parameters:
10   ServiceNetMap:
11     default: {}
12     description: Mapping of service_name -> network name. Typically set
13                  via parameter_defaults in the resource registry.  This
14                  mapping overrides those in ServiceNetMapDefaults.
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   NtpServer:
22     default: []
23     description: NTP servers
24     type: comma_delimited_list
25
26 outputs:
27   role_data:
28     description: Role ntp using composable services.
29     value:
30       service_name: ntp
31       config_settings:
32         ntp::ntpservers: {get_param: NtpServer}
33         tripleo.ntp.firewall_rules:
34           '105 ntp':
35             dport: 123
36             proto: udp
37       step_config: |
38         include ::ntp