Merge "Add default for DeployIdentifier in nested templates"
[apex-tripleo-heat-templates.git] / puppet / controller-config.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   A software config which runs manifests/overcloud_controller.pp
5
6 parameters:
7   ConfigDebug:
8     default: false
9     description: Whether to run config management (e.g. Puppet) in debug mode.
10     type: boolean
11   StepConfig:
12      type: string
13      description: Config manifests that will be used to step through the deployment.
14      default: ''
15
16 resources:
17
18   ControllerPuppetConfigImpl:
19     type: OS::Heat::SoftwareConfig
20     properties:
21       group: puppet
22       options:
23         enable_debug: {get_param: ConfigDebug}
24         enable_hiera: True
25         enable_facter: False
26         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
27       outputs:
28       - name: result
29       config:
30         list_join:
31         - ''
32         - - get_file: manifests/overcloud_controller.pp
33           - {get_param: StepConfig}
34
35 outputs:
36   OS::stack_id:
37     description: The software config which runs overcloud_controller.pp
38     value: {get_resource: ControllerPuppetConfigImpl}