Skip to content

Commit

Permalink
Removed log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dheerajd-msys committed May 18, 2016
1 parent 7a4f932 commit 138bb05
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
3 changes: 0 additions & 3 deletions ChefExtensionHandler/bin/chef-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ auto_update_false=/etc/chef/.auto_update_false
if [ -f $auto_update_false ]; then
echo "[$(date)] Not doing install, as auto update is false"
else
echo "export test_1='123'" >> /etc/environment
echo "export test_2='456'" >> /etc/environment
. /etc/environment
export

get_chef_package_from_omnitruck
export PATH=/opt/chef/bin/:/opt/chef/embedded/bin:$PATH
Expand Down
1 change: 0 additions & 1 deletion ChefExtensionHandler/bin/chef-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ check_uninstallation_status(){
linux_distributor=$(get_linux_distributor)

. /etc/environment
export

auto_update_false=/etc/chef/.auto_update_false

Expand Down
4 changes: 1 addition & 3 deletions ChefExtensionHandler/bin/chef-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
# 4 uninstall old version
# 5 enable new version

# returns script dir

. /etc/environment
export

export PATH=/opt/chef/bin/:/opt/chef/embedded/bin:$PATH

# returns script dir
get_script_dir(){
SCRIPT=$(readlink -f "$0")
script_dir=`dirname $SCRIPT`
Expand Down
4 changes: 1 addition & 3 deletions ChefExtensionHandler/disable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
#!/bin/sh

. /etc/environment
echo '*************** output for disable.sh*******************************' >> /tmp/temp1.log
export >> /tmp/temp1.log
echo '*******************end****************************' >> /tmp/temp1.log

export PATH=/opt/chef/bin:/opt/chef/embedded/bin:$PATH

SCRIPT=$(readlink -f "$0")
Expand Down
3 changes: 0 additions & 3 deletions ChefExtensionHandler/enable.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/sh

. /etc/environment
echo '*************** output for enable.sh*******************************' >> /tmp/temp1.log
export >> /tmp/temp1.log
echo '*******************end****************************' >> /tmp/temp1.log

export PATH=/opt/chef/bin:/opt/chef/embedded/bin:$PATH

Expand Down

0 comments on commit 138bb05

Please sign in to comment.