X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=puppet%2Fcontroller-config.yaml;h=811c544d0440f728752931802463318468181516;hb=8ad9cf17eaea1b450da8b3c2b9be66955fe5172c;hp=4135ffac492845b1ba6f7b151cef3a794db82b62;hpb=2c09ad590c05e6fd614f9ea78c43638c2a901930;p=apex-tripleo-heat-templates.git diff --git a/puppet/controller-config.yaml b/puppet/controller-config.yaml index 4135ffac..811c544d 100644 --- a/puppet/controller-config.yaml +++ b/puppet/controller-config.yaml @@ -3,6 +3,16 @@ heat_template_version: 2015-04-30 description: > A software config which runs manifests/overcloud_controller.pp +parameters: + ConfigDebug: + default: false + description: Whether to run config management (e.g. Puppet) in debug mode. + type: boolean + StepConfig: + type: string + description: Config manifests that will be used to step through the deployment. + default: '' + resources: ControllerPuppetConfigImpl: @@ -10,12 +20,17 @@ resources: properties: group: puppet options: + enable_debug: {get_param: ConfigDebug} enable_hiera: True enable_facter: False + modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules outputs: - name: result config: - get_file: manifests/overcloud_controller.pp + list_join: + - '' + - - get_file: manifests/overcloud_controller.pp + - {get_param: StepConfig} outputs: OS::stack_id: