Merge "Add cinder cron container to run db purge"
[apex-tripleo-heat-templates.git] / ci / common / all-nodes-validation-disabled.yaml
1 heat_template_version: pike
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   This implementation of the validations is a noop that always reports success.
9
10 parameters:
11   PingTestIps:
12     default: ''
13     description: A string containing a space separated list of IP addresses used to ping test each available network interface.
14     type: string
15   ValidateFqdn:
16     default: false
17     description: Optional validation to ensure FQDN as set by Nova matches the name set in /etc/hosts.
18     type: boolean
19   ValidateNtp:
20     default: true
21     description: Validation to ensure at least one time source is accessible.
22     type: boolean
23
24 resources:
25   AllNodesValidationsImpl:
26     type: OS::Heat::SoftwareConfig
27     properties:
28       group: script
29       inputs:
30         - name: ping_test_ips
31           default: {get_param: PingTestIps}
32         - name: validate_fqdn
33           default: {get_param: ValidateFqdn}
34         - name: validate_ntp
35           default: {get_param: ValidateNtp}
36       config: |
37         #!/bin/bash
38         exit 0
39
40 outputs:
41   OS::stack_id:
42     description: The ID of the AllNodesValidationsImpl resource.
43     value: {get_resource: AllNodesValidationsImpl}