92c3f9ef0e23d2d30f8d767de7e587d8ac235559
[apex-tripleo-heat-templates.git] / puppet / services / time / ntp.yaml
1 heat_template_version: pike
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   DefaultPasswords:
17     default: {}
18     type: json
19   RoleName:
20     default: ''
21     description: Role name on which the service is applied
22     type: string
23   RoleParameters:
24     default: {}
25     description: Parameters specific to the role
26     type: json
27   EndpointMap:
28     default: {}
29     description: Mapping of service endpoint -> protocol. Typically set
30                  via parameter_defaults in the resource registry.
31     type: json
32   NtpServer:
33     default: ['pool.ntp.org']
34     description: NTP servers list. Defaulted to pool.ntp.org in order to
35                  have a sane default for Pacemaker deployments when
36                  not configuring this parameter by default.
37     type: comma_delimited_list
38
39 outputs:
40   role_data:
41     description: Role ntp using composable services.
42     value:
43       service_name: ntp
44       config_settings:
45         ntp::servers: {get_param: NtpServer}
46         tripleo.ntp.firewall_rules:
47           '105 ntp':
48             dport: 123
49             proto: udp
50       step_config: |
51         include ::tripleo::profile::base::time::ntp