Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Template param for what command occ runs
[apex-tripleo-heat-templates.git]
/
puppet
/
compute.yaml
diff --git
a/puppet/compute.yaml
b/puppet/compute.yaml
index
f800cca
..
db398f1
100644
(file)
--- a/
puppet/compute.yaml
+++ b/
puppet/compute.yaml
@@
-316,11
+316,18
@@
parameters:
ServiceConfigSettings:
type: json
default: {}
ServiceConfigSettings:
type: json
default: {}
+ ConfigCommand:
+ type: string
+ description: Command which will be run whenever configuration data changes
+ default: os-refresh-config
resources:
NovaCompute:
type: OS::Nova::Server
resources:
NovaCompute:
type: OS::Nova::Server
+ metadata:
+ os-collect-config:
+ command: {get_param: ConfigCommand}
properties:
image:
{get_param: Image}
properties:
image:
{get_param: Image}