summaryrefslogtreecommitdiff
path: root/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
diff options
context:
space:
mode:
Diffstat (limited to 'hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py')
-rwxr-xr-xhot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py b/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
index 426ee54..b07d182 100755
--- a/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
+++ b/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
@@ -17,6 +17,7 @@ import logging
import os
import subprocess
import sys
+import warnings
WORKING_DIR = os.environ.get('HEAT_ANSIBLE_WORKING',
'/var/lib/heat-config/heat-config-ansible')
@@ -32,6 +33,9 @@ def prepare_dir(path):
def main(argv=sys.argv):
+ warnings.warn('This hook is deprecated, please use hooks from heat-agents '
+ 'repository instead.', DeprecationWarning)
+
log = logging.getLogger('heat-config')
handler = logging.StreamHandler(sys.stderr)
handler.setFormatter(