Skip to content

Commit

Permalink
update http download link
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyzhang committed Jun 24, 2016
1 parent 9d1a10b commit 9840601
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chef/chef_kitchen_provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## Description :
## --
## Created : <2015-11-30>
## Updated: Time-stamp: <2016-06-15 12:05:12>
## Updated: Time-stamp: <2016-06-24 08:55:32>
##-------------------------------------------------------------------
# pre-cache Chef Omnibus installation
mkdir -p /tmp/install.sh.14
Expand All @@ -22,7 +22,7 @@ if [ ! -f /tmp/install.sh.14/chef_12.7.2-1_amd64.deb ]; then
fi

echo "Inject ssh key to kitchen user and root user"
# TODO: don't hardcode download link
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master"
wget -O inject_ssh_key.sh https://raw.githubusercontent.com/DennyZhang/devops_public/master/bash/inject_ssh_key/inject_ssh_key.sh

user_home_list='kitchen:/home/kitchen,root:/root'
Expand Down
4 changes: 2 additions & 2 deletions chef/chinese_chef_kitchen_provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
## Description :
## --
## Created : <2015-11-30>
## Updated: Time-stamp: <2016-06-08 15:22:08>
## Updated: Time-stamp: <2016-06-24 08:58:11>
##-------------------------------------------------------------------
# pre-cache Chef Omnibus installation
# TODO: don't hardcode download link
wget -O /tmp/chef_kitchen_provision.sh https://raw.githubusercontent.com/DennyZhang/devops_public/master/chef/chef_kitchen_provision.sh
bash -e /tmp/chef_kitchen_provision.sh

# TODO: don't hardcode download link
wget -O /tmp/ubuntu1404_inject_163_apt_source.sh https://raw.githubusercontent.com/DennyZhang/devops_public/master/network/ubuntu1404_inject_163_apt_source.sh
wget -O /tmp/ubuntu1404_inject_163_apt_source.sh https://raw.githubusercontent.com/DennyZhang/devops_public/master/bash/ubuntu1404_inject_163_apt_source.sh
bash -e /tmp/ubuntu1404_inject_163_apt_source.sh
## File : chinese_chef_kitchen_provision.sh ends
4 changes: 2 additions & 2 deletions common_library/devops_common_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
## Description :
## --
## Created : <2016-01-08>
## Updated: Time-stamp: <2016-06-24 07:31:45>
## Updated: Time-stamp: <2016-06-24 08:55:50>
##-------------------------------------------------------------------
. /etc/profile
[ -n "$DOWNLOAD_PREFIX" ] || DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master"
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master"
# TODO: don't hardcode download link
if [ ! -f /var/lib/devops/refresh_common_library.sh ]; then
[ -d /var/lib/devops/ ] || (sudo mkdir -p /var/lib/devops/ && sudo chmod 777 /var/lib/devops)
Expand Down

0 comments on commit 9840601

Please sign in to comment.