Merge "Composable firewall rules"
[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   EndpointMap:
11     default: {}
12     description: Mapping of service endpoint -> protocol. Typically set
13                  via parameter_defaults in the resource registry.
14     type: json
15   NtpServer:
16     default: []
17     description: NTP servers
18     type: comma_delimited_list
19
20 outputs:
21   role_data:
22     description: Role ntp using composable services.
23     value:
24       service_name: ntp
25       config_settings:
26         ntp::ntpservers: {get_param: NtpServer}
27         tripleo.ntp.firewall_rules:
28           '105 ntp':
29             dport: 123
30             proto: udp
31       step_config: |
32         include ::ntp