summaryrefslogtreecommitdiff
path: root/hot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file
diff options
context:
space:
mode:
Diffstat (limited to 'hot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file')
-rwxr-xr-xhot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file6
1 files changed, 6 insertions, 0 deletions
diff --git a/hot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file b/hot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file
new file mode 100755
index 0000000..731727d
--- /dev/null
+++ b/hot/software-config/elements/heat-config-json-file/install.d/50-heat-config-hook-json-file
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -x
+
+SCRIPTDIR=$(dirname $0)
+
+install -D -g root -o root -m 0755 ${SCRIPTDIR}/hook-json-file.py /var/lib/heat-config/hooks/json-file