Merge "Template param for what command occ runs"

This commit is contained in:
Jenkins 2016-07-11 09:16:37 +00:00 committed by Gerrit Code Review
commit 869a88d047
5 changed files with 35 additions and 0 deletions

View File

@ -91,10 +91,17 @@ parameters:
ServiceConfigSettings:
type: json
default: {}
ConfigCommand:
type: string
description: Command which will be run whenever configuration data changes
default: os-refresh-config
resources:
CephStorage:
type: OS::Nova::Server
metadata:
os-collect-config:
command: {get_param: ConfigCommand}
properties:
image: {get_param: Image}
image_update_policy: {get_param: ImageUpdatePolicy}

View File

@ -91,10 +91,17 @@ parameters:
ServiceConfigSettings:
type: json
default: {}
ConfigCommand:
type: string
description: Command which will be run whenever configuration data changes
default: os-refresh-config
resources:
BlockStorage:
type: OS::Nova::Server
metadata:
os-collect-config:
command: {get_param: ConfigCommand}
properties:
image:
{get_param: Image}

View File

@ -316,11 +316,18 @@ parameters:
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
metadata:
os-collect-config:
command: {get_param: ConfigCommand}
properties:
image:
{get_param: Image}

View File

@ -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}

View File

@ -112,11 +112,18 @@ parameters:
ServiceConfigSettings:
type: json
default: {}
ConfigCommand:
type: string
description: Command which will be run whenever configuration data changes
default: os-refresh-config
resources:
SwiftStorage:
type: OS::Nova::Server
metadata:
os-collect-config:
command: {get_param: ConfigCommand}
properties:
image: {get_param: Image}
flavor: {get_param: Flavor}