diff options
author | Steve Baker <sbaker@redhat.com> | 2016-07-05 11:31:39 +1200 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2016-07-05 11:31:39 +1200 |
commit | 072b0670cce6d33cc402185731437df63d1782d6 (patch) | |
tree | fff8aa8e9ffe8bc3979c7f2088ad7a5763730534 /puppet/controller.yaml | |
parent | 794fece5cc25d74ca0d874174e2c837a15750fbf (diff) |
Template param for what command occ runs
The ConfigCommand parameter overrides the server resource metadata to
specify what command os-collect-config runs whenever any configuration
data changes.
The default is already 'os-refresh-config' so this change has no
effect but it allows a future change to specify an
os-refresh-config --timeout argument to fix bug #1595722.
Change-Id: I8dd35b6724d8c00e5495faca84ee8fee77641b82
Partial-Bug: #1595722
Diffstat (limited to 'puppet/controller.yaml')
-rw-r--r-- | puppet/controller.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/controller.yaml b/puppet/controller.yaml index 2d15bbfa..f6d63d18 100644 --- a/puppet/controller.yaml +++ b/puppet/controller.yaml @@ -390,6 +390,10 @@ parameters: ServiceConfigSettings: type: json default: {} + ConfigCommand: + type: string + description: Command which will be run whenever configuration data changes + default: os-refresh-config parameter_groups: - label: deprecated @@ -401,6 +405,9 @@ resources: Controller: type: OS::Nova::Server + metadata: + os-collect-config: + command: {get_param: ConfigCommand} properties: image: {get_param: Image} image_update_policy: {get_param: ImageUpdatePolicy} |