diff options
Diffstat (limited to 'hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py')
-rwxr-xr-x | hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py b/hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py index df29cb2..a48209d 100755 --- a/hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py +++ b/hot/software-config/elements/heat-config-apply-config/install.d/hook-apply-config.py @@ -17,11 +17,14 @@ import logging import os import subprocess import sys +import warnings APPLY_CONFIG_CMD = os.environ.get('HEAT_APPLY_CONFIG_CMD', 'os-apply-config') 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( |