Due to bugs in v2 driver, reverting to v1
[apex-tripleo-heat-templates.git] / all-nodes-validation.yaml
1 heat_template_version: ocata
2
3 description: >
4   Software Config to drive validations that occur on all nodes.
5   Note, you need the heat-config-script element built into your
6   images, due to the script group below.
7
8 parameters:
9   PingTestIps:
10     default: ''
11     description: A string containing a space separated list of IP addresses used to ping test each available network interface.
12     type: string
13   ValidateFqdn:
14     default: false
15     description: Optional validation to ensure FQDN as set by Nova matches the name set in /etc/hosts.
16     type: boolean
17
18 resources:
19   AllNodesValidationsImpl:
20     type: OS::Heat::SoftwareConfig
21     properties:
22       group: script
23       inputs:
24         - name: ping_test_ips
25           default: {get_param: PingTestIps}
26         - name: validate_fqdn
27           default: {get_param: ValidateFqdn}
28       config: {get_file: ./validation-scripts/all-nodes.sh}
29
30 outputs:
31   OS::stack_id:
32     description: The ID of the AllNodesValidationsImpl resource.
33     value: {get_resource: AllNodesValidationsImpl}