Include redis/mongo hiera when using pacemaker
[apex-tripleo-heat-templates.git] / puppet / objectstorage-config.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   A software config which applies puppet on the objectstorage role
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   ObjectStoragePuppetConfigImpl:
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       inputs:
28       - name: step
29         type: Number
30       outputs:
31       - name: result
32       config:
33         list_join:
34         - ''
35         - - str_replace:
36               template: {get_file: manifests/overcloud_role.pp}
37               params:
38                 __ROLE__: objectstorage
39           - {get_param: StepConfig}
40
41 outputs:
42   OS::stack_id:
43     description: The software config which applies puppet on the objectstorage role
44     value: {get_resource: ObjectStoragePuppetConfigImpl}