Disable deprecated heat plugins.

Note: you will get the following logs:
WARNING heat.engine.environment [] OS::Heat::HARestarter is DEPRECATED.
WARNING heat.engine.environment [] Removing OS::Heat::HARestarter from OS::Heat::HARestarter

Change-Id: I071e4689110ad03da14b02ba9f0a1fd8463b8b55
Closes-bug: 1559828
This commit is contained in:
Angus Salkeld 2016-03-22 08:53:16 +10:00
parent 637f8f9ce5
commit d68644386f
3 changed files with 17 additions and 0 deletions

View File

@ -18,6 +18,13 @@
- "heat-api-cfn" - "heat-api-cfn"
- "heat-engine" - "heat-engine"
- name: Copying over the heat-engine environment file
template:
src: "_deprecated.yaml"
dest: "{{ node_config_directory }}/{{ item }}/_deprecated.yaml"
with_items:
- "heat-engine"
- name: Copying over heat.conf - name: Copying over heat.conf
merge_configs: merge_configs:
vars: vars:

View File

@ -0,0 +1,4 @@
resource_registry:
"OS::Heat::HARestarter":
"OS::Heat::SoftwareDeployments":
"OS::Heat::StructuredDeployments":

View File

@ -6,6 +6,12 @@
"dest": "/etc/heat/heat.conf", "dest": "/etc/heat/heat.conf",
"owner": "heat", "owner": "heat",
"perm": "0600" "perm": "0600"
},
{
"source": "{{ container_config_directory }}/_deprecated.yaml",
"dest": "/etc/heat/environment.d/_deprecated.yaml",
"owner": "heat",
"perm": "0600"
} }
] ]
} }