diff options
author | Jiri Stransky <jistr@redhat.com> | 2015-07-16 10:43:18 +0200 |
---|---|---|
committer | Jiri Stransky <jistr@redhat.com> | 2015-09-30 15:30:22 +0200 |
commit | 94822943c15aaec1c68c5e36dc667185c36f490d (patch) | |
tree | b4e2d24f3db941fba20597cbc9c47404be64d57d /puppet/compute-post.yaml | |
parent | 9e918a4a517f62d4417909311041e3e54a726462 (diff) |
Allow enabling debug mode for config management (Puppet)
Also adds an environment file which can be passed to heat stack-create
to enable debugging.
Change-Id: I9758e2ca3de6a0bed6d20c37ea19e48f47220721
Depends-On: Ie92d1714a8d7e59d347474039be999bd3a2b542f
Diffstat (limited to 'puppet/compute-post.yaml')
-rw-r--r-- | puppet/compute-post.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/compute-post.yaml b/puppet/compute-post.yaml index b4a6126b..b63b06b4 100644 --- a/puppet/compute-post.yaml +++ b/puppet/compute-post.yaml @@ -4,6 +4,10 @@ description: > OpenStack compute node post deployment for Puppet. parameters: + ConfigDebug: + default: false + description: Whether to run config management (e.g. Puppet) in debug mode. + type: boolean servers: type: json NodeConfigIdentifiers: @@ -17,6 +21,8 @@ resources: type: OS::Heat::SoftwareConfig properties: group: puppet + options: + enable_debug: {get_param: ConfigDebug} outputs: - name: result config: |