diff options
author | 2013-07-31 14:07:05 -0700 | |
---|---|---|
committer | 2013-08-14 20:27:54 -0700 | |
commit | 99a1e7525015f4e710e3de6e041cffcd264153cf (patch) | |
tree | e724a2d9c1a16933a3f9704414f73f5dbfc0d210 /nova-compute-instance.yaml | |
parent | c7241b26e5356c1cedeb687d5066d5822c146777 (diff) |
Migrate from cfn-hup to os-collect-config
Os-collect-config is meant to replace cfn-hup from heat-cfntools. It
allows pulling from multiple metadata sources and runs continuously.
Fixes bug #1211289
Change-Id: Ia4e9127fb79048bd1022b32a37272f8463a774ae
Diffstat (limited to 'nova-compute-instance.yaml')
-rw-r--r-- | nova-compute-instance.yaml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index 0da26e65..e93c314c 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -71,16 +71,14 @@ Resources: KeyName: {Ref: KeyName} Metadata: OpenStack::ImageBuilder::Elements: [ nova-compute ] - heat: - access_key_id: - Ref: ComputeKey - secret_key: - Fn::GetAtt: [ ComputeKey, SecretAccessKey ] - stack: - name: {Ref: 'AWS::StackName'} - region: {Ref: 'AWS::Region'} - refresh: - - resource: NovaCompute0 + os-collect-config: + cfn: + access_key_id: + Ref: ComputeKey + secret_access_key: + Fn::GetAtt: [ ComputeKey, SecretAccessKey ] + stack_name: {Ref: 'AWS::StackName'} + path: [ NovaCompute0.Metadata ] nova: compute_driver: {Ref: NovaComputeDriver} compute_libvirt_type: {Ref: NovaComputeLibvirtType} |