Change flat network name for nosdn fdio scenario
[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   ServiceData:
11     default: {}
12     description: Dictionary packing service data
13     type: json
14   ServiceNetMap:
15     default: {}
16     description: Mapping of service_name -> network name. Typically set
17                  via parameter_defaults in the resource registry.  This
18                  mapping overrides those in ServiceNetMapDefaults.
19     type: json
20   DefaultPasswords:
21     default: {}
22     type: json
23   RoleName:
24     default: ''
25     description: Role name on which the service is applied
26     type: string
27   RoleParameters:
28     default: {}
29     description: Parameters specific to the role
30     type: json
31   EndpointMap:
32     default: {}
33     description: Mapping of service endpoint -> protocol. Typically set
34                  via parameter_defaults in the resource registry.
35     type: json
36   NtpServer:
37     default: ['pool.ntp.org']
38     description: NTP servers list. Defaulted to pool.ntp.org in order to
39                  have a sane default for Pacemaker deployments when
40                  not configuring this parameter by default.
41     type: comma_delimited_list
42
43 outputs:
44   role_data:
45     description: Role ntp using composable services.
46     value:
47       service_name: ntp
48       config_settings:
49         ntp::servers: {get_param: NtpServer}
50         tripleo.ntp.firewall_rules:
51           '105 ntp':
52             dport: 123
53             proto: udp
54       step_config: |
55         include ::tripleo::profile::base::time::ntp