diff options
author | Dan Prince <dprince@redhat.com> | 2015-05-19 12:19:52 -0700 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-05-26 08:50:45 -0400 |
commit | e38f7cae7db615c36c9e87bd9bb629fd18eda28a (patch) | |
tree | 0d00ac5e4409c3ad05c2f394019e56a2f61d5c1c /puppet | |
parent | cfdd314564a8531d916cee389990684f9e4e11c8 (diff) |
Switch net-config templates to use OS::stack_id
This patch removes the custom config_id outputs and replaces
it with OS::stack_id which allows us to just call get_resource
in the parent stack.
The motivation for this change is we'll be adding more os-net-config
templates and it would be nice to take advantage of this newer
template feature.
Change-Id: I6fcb26024b94420779b86766e16d8a24210c4f8e
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/ceph-storage-puppet.yaml | 2 | ||||
-rw-r--r-- | puppet/cinder-storage-puppet.yaml | 2 | ||||
-rw-r--r-- | puppet/compute-puppet.yaml | 2 | ||||
-rw-r--r-- | puppet/controller-puppet.yaml | 2 | ||||
-rw-r--r-- | puppet/swift-storage-puppet.yaml | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/puppet/ceph-storage-puppet.yaml b/puppet/ceph-storage-puppet.yaml index 49346cd7..00dbca01 100644 --- a/puppet/ceph-storage-puppet.yaml +++ b/puppet/ceph-storage-puppet.yaml @@ -64,7 +64,7 @@ resources: NetworkDeployment: type: OS::TripleO::SoftwareDeployment properties: - config: {get_attr: [NetworkConfig, config_id]} + config: {get_resource: NetworkConfig} server: {get_resource: CephStorage} CephStorageDeployment: diff --git a/puppet/cinder-storage-puppet.yaml b/puppet/cinder-storage-puppet.yaml index cf483db4..c69a0f3c 100644 --- a/puppet/cinder-storage-puppet.yaml +++ b/puppet/cinder-storage-puppet.yaml @@ -148,7 +148,7 @@ resources: NetworkDeployment: type: OS::TripleO::SoftwareDeployment properties: - config: {get_attr: [NetworkConfig, config_id]} + config: {get_resource: NetworkConfig} server: {get_resource: BlockStorage} BlockStorageDeployment: diff --git a/puppet/compute-puppet.yaml b/puppet/compute-puppet.yaml index eb384646..28a4e045 100644 --- a/puppet/compute-puppet.yaml +++ b/puppet/compute-puppet.yaml @@ -305,7 +305,7 @@ resources: type: OS::TripleO::SoftwareDeployment properties: signal_transport: NO_SIGNAL - config: {get_attr: [NetworkConfig, config_id]} + config: {get_resource: NetworkConfig} server: {get_resource: NovaCompute} input_values: bridge_name: {get_param: NeutronPhysicalBridge} diff --git a/puppet/controller-puppet.yaml b/puppet/controller-puppet.yaml index 61a10159..3e522df9 100644 --- a/puppet/controller-puppet.yaml +++ b/puppet/controller-puppet.yaml @@ -496,7 +496,7 @@ resources: type: OS::TripleO::SoftwareDeployment properties: signal_transport: NO_SIGNAL - config: {get_attr: [NetworkConfig, config_id]} + config: {get_resource: NetworkConfig} server: {get_resource: Controller} input_values: bridge_name: br-ex diff --git a/puppet/swift-storage-puppet.yaml b/puppet/swift-storage-puppet.yaml index 13328221..12292dec 100644 --- a/puppet/swift-storage-puppet.yaml +++ b/puppet/swift-storage-puppet.yaml @@ -93,7 +93,7 @@ resources: NetworkDeployment: type: OS::TripleO::SoftwareDeployment properties: - config: {get_attr: [NetworkConfig, config_id]} + config: {get_resource: NetworkConfig} server: {get_resource: SwiftStorage} SwiftStorageHieraConfig: |