diff options
author | Giulio Fidente <gfidente@redhat.com> | 2015-09-25 20:02:36 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2015-09-25 20:09:28 +0200 |
commit | 02c7a6f12ba5648d3637fce6a57eb9eb4396a683 (patch) | |
tree | cd399484350fdaee243450262006189aea7e6180 /puppet | |
parent | 4570ce86a9fbbfa10c664ea3afd2574fdd4a4202 (diff) |
Add CephStorageExtraConfigPre resource
This change adds a CephStorageExtraConfigPre which can be used
to distribute hooks for the CephStorage nodes.
Change-Id: Id0023d8ffddb3ee5e855d5dcc32c76bc41ce4c63
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/ceph-storage.yaml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/puppet/ceph-storage.yaml b/puppet/ceph-storage.yaml index f1a7e629..87957052 100644 --- a/puppet/ceph-storage.yaml +++ b/puppet/ceph-storage.yaml @@ -172,6 +172,13 @@ resources: ceph::profile::params::cluster_network: {get_input: ceph_cluster_network} ceph::profile::params::public_network: {get_input: ceph_public_network} + # Hook for site-specific additional pre-deployment config, e.g extra hieradata + CephStorageExtraConfigPre: + depends_on: CephStorageDeployment + type: OS::TripleO::CephStorageExtraConfigPre + properties: + server: {get_resource: CephStorage} + UpdateConfig: type: OS::TripleO::Tasks::PackageUpdate @@ -204,4 +211,8 @@ outputs: value: {get_attr: [StorageMgmtPort, ip_address]} config_identifier: description: identifier which changes if the node configuration may need re-applying - value: {get_attr: [CephStorageDeployment, deploy_stdout]} + value: + list_join: + - ',' + - - {get_attr: [CephStorageDeployment, deploy_stdout]} + - {get_attr: [CephStorageExtraConfigPre, deploy_stdout]} |