diff options
Diffstat (limited to 'hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py')
-rwxr-xr-x | hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py b/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py index d8b9059..4886934 100755 --- a/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py +++ b/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py @@ -16,6 +16,7 @@ import json import logging import os import sys +import warnings HIERA_DATADIR = os.environ.get('HEAT_PUPPET_HIERA_DATADIR', @@ -38,6 +39,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( |