summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-03-11 09:42:18 -0800
committerGitHub <noreply@github.com>2021-03-11 09:42:18 -0800
commit74385e7e079b822a8f9b21eeac66d0da057a939b (patch)
treeaf954a8ac6358ea43dcc1f7b791c7e09c594a25a
parent71a5a5a63f0319b92fadf00b3875e4f9bd1a6aab (diff)
parent75b5b491c1b394b8152225bce682b1540af5350c (diff)
downloadchef-74385e7e079b822a8f9b21eeac66d0da057a939b.tar.gz
Merge pull request #11168 from chef/post_install
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-xomnibus/package-scripts/chef/postinst7
1 files changed, 3 insertions, 4 deletions
diff --git a/omnibus/package-scripts/chef/postinst b/omnibus/package-scripts/chef/postinst
index 37ed70a240..0c2d10dd6d 100755
--- a/omnibus/package-scripts/chef/postinst
+++ b/omnibus/package-scripts/chef/postinst
@@ -3,11 +3,10 @@
#
# - must run on /bin/sh on solaris 9
# - must run on /bin/sh on AIX 6.x
-# - if you think you are a bash wizard, you probably do not understand
-# this programming language. do not touch.
+# - this file is sh not bash so do not introduce bash-isms
# - if you are under 40, get peer review from your elders.
#
-# Install a full Opscode Client
+# Install Chef Infra Client
#
PROGNAME=`basename $0`
@@ -64,7 +63,7 @@ EOP
if [ "" != "$organization" ]; then
echo "validation_client_name '${organization}-validator'" >> ${CONFIG_DIR}/client.rb
fi
- chmod 644 ${CONFIG_DIR}/client.rb
+ chmod 640 ${CONFIG_DIR}/client.rb
fi
if [ "" != "$validation_key" ]; then