diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-19 21:22:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-19 21:22:45 +0000 |
commit | 27a92d279e623b96550310354f3b83fea82fef87 (patch) | |
tree | 8be40a6b91832f101e7657f8bd4493f756029eab /puppet/blockstorage-role.yaml | |
parent | 11a97ec7430118bbf4a11c87eceb3adec40ea4ac (diff) | |
parent | d6c0979eb3de79b8c3a79ea5798498f0241eb32d (diff) |
Merge "Blacklist support for ExtraConfig"
Diffstat (limited to 'puppet/blockstorage-role.yaml')
-rw-r--r-- | puppet/blockstorage-role.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/puppet/blockstorage-role.yaml b/puppet/blockstorage-role.yaml index 551a88ca..95dcf0b5 100644 --- a/puppet/blockstorage-role.yaml +++ b/puppet/blockstorage-role.yaml @@ -377,6 +377,7 @@ resources: properties: server: {get_resource: BlockStorage} RoleParameters: {get_param: RoleParameters} + deployment_actions: {get_attr: [DeploymentActions, value]} NetworkDeployment: type: OS::TripleO::SoftwareDeployment @@ -485,6 +486,9 @@ resources: NodeExtraConfig: depends_on: NodeTLSCAData type: OS::TripleO::NodeExtraConfig + # We have to use conditions here so that we don't break backwards + # compatibility with templates everywhere + condition: server_not_blacklisted properties: server: {get_resource: BlockStorage} @@ -507,11 +511,21 @@ resources: - ['CREATE', 'UPDATE'] - [] + DeploymentActions: + type: OS::Heat::Value + properties: + value: + if: + - server_not_blacklisted + - ['CREATE', 'UPDATE'] + - [] + SshHostPubKey: type: OS::TripleO::Ssh::HostPubKey depends_on: BlockStorageDeployment properties: server: {get_resource: BlockStorage} + deployment_actions: {get_attr: [DeploymentActions, value]} outputs: ip_address: |