X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fswift-storage-puppet.yaml;h=45922436302a9d860b50075d1f7ee2bc6da58353;hb=4e4c40376082197822d9cd64c09bee6cadf8067c;hp=6f861d889c9247dcfaa1c6c1717505fb1917d81a;hpb=723db1317cd62a8772c764847c80a339eae4c03f;p=apex-tripleo-heat-templates.git diff --git a/puppet/swift-storage-puppet.yaml b/puppet/swift-storage-puppet.yaml index 6f861d88..45922436 100644 --- a/puppet/swift-storage-puppet.yaml +++ b/puppet/swift-storage-puppet.yaml @@ -68,6 +68,15 @@ resources: NodeUserData: type: OS::TripleO::NodeUserData + NetworkConfig: + type: OS::TripleO::ObjectStorage::Net::SoftwareConfig + + NetworkDeployment: + type: OS::TripleO::SoftwareDeployment + properties: + config: {get_attr: [NetworkConfig, config_id]} + server: {get_resource: SwiftStorage} + SwiftStorageHieraConfig: type: OS::Heat::StructuredConfig properties: @@ -127,7 +136,7 @@ outputs: hosts_entry: value: str_replace: - template: "IP HOST HOST.novalocal" + template: "IP HOST" params: IP: {get_attr: [SwiftStorage, networks, ctlplane, 0]} HOST: {get_attr: [SwiftStorage, name]}