summaryrefslogtreecommitdiff
path: root/habitat/hooks/init
diff options
context:
space:
mode:
authorSalim Afiune <afiune@chef.io>2019-08-02 09:53:34 +0200
committerSalim Afiune <afiune@chef.io>2019-08-02 09:53:34 +0200
commita6acfe338b4b650a8c8a4336d346a05036d21fcb (patch)
tree489ab0934ebc324c0cf777cee280f82dfd21ba0a /habitat/hooks/init
parent3284e9067aacbe42f96afc78b06e523b46b98d2f (diff)
downloadchef-a6acfe338b4b650a8c8a4336d346a05036d21fcb.tar.gz
Cleanup habitat/plan.sh for chef-infra-client
Signed-off-by: Salim Afiune <afiune@chef.io>
Diffstat (limited to 'habitat/hooks/init')
-rw-r--r--habitat/hooks/init5
1 files changed, 5 insertions, 0 deletions
diff --git a/habitat/hooks/init b/habitat/hooks/init
new file mode 100644
index 0000000000..a23344b2a9
--- /dev/null
+++ b/habitat/hooks/init
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+
+mkdir -p "{{pkg.svc_data_path}}/chef"