forked from dennyzhang/devops_public
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dennyzhang
committed
Jun 24, 2016
1 parent
af0b7d4
commit ea51ddb
Showing
48 changed files
with
96 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : backup_dir.sh | ||
## Author : Denny <[email protected]> | ||
## Description : Backup directory and tar it with timestamp | ||
## -- | ||
## Created : <2015-04-21> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:59> | ||
##------------------------------------------------------------------- | ||
|
||
## Trap exit and dump status | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : create_loop_device.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:59> | ||
##------------------------------------------------------------------- | ||
file_count=${1?} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : disable_oom.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:59> | ||
##------------------------------------------------------------------- | ||
pid_file=${1?} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : docker_destroy.sh | ||
## Author : DennyZhang.com <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2016-01-02> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:59> | ||
##------------------------------------------------------------------- | ||
if ! which docker 1>/dev/null 2>&1; then | ||
echo "Skip, since docker is not installed" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : dump_db_summary.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:59> | ||
##------------------------------------------------------------------- | ||
. /etc/profile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : enforce_all_nagios_check.sh | ||
## Author : Denny <[email protected]>, Syrett <[email protected]> | ||
|
@@ -11,7 +11,7 @@ | |
## ./enforce_all_nagios_check.sh -s "check_.*_log|check_memory|check_tomcat_cpu" | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
|
||
function check_one_server(){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : free_cache.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:42> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
# http://unix.stackexchange.com/questions/17936/setting-proc-sys-vm-drop-caches-to-clear-cache | ||
echo "Free cached memory, so that OS can have more free memory" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : git_update.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2016-04-15> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
working_dir=${1?} | ||
git_repo_url=${2?} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,6 @@ How To Use | |
user_home_list='mac:/Users/mac,root:/root' | ||
ssh_email='[email protected]' | ||
ssh_key='AAAAB3NzaC1yc2EAAAADAQABAAABAQDAwp69ZIA8Usz5EgSh5gBXKGFZBUawP8nDSgZVW6Vl...' | ||
wget -O inject_ssh_key.sh https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/bash/inject_ssh_key/inject_ssh_key.sh | ||
wget -O inject_ssh_key.sh https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/bash/inject_ssh_key/inject_ssh_key.sh | ||
sudo bash ./inject_ssh_key.sh $user_home_list $ssh_email $ssh_key | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : inject_ssh_key.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2015-05-13> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
user_home_list=${1?"To who the ssh key shall be injected. Users are separated by comma"} | ||
ssh_email=${2?"email associated to this ssh key"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : list_os_packages.sh | ||
## Author : Denny <[email protected]> | ||
|
@@ -13,7 +13,7 @@ | |
## list_os_packages.sh python | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:07:27> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
################################################################################################ | ||
. /etc/profile | ||
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : manage_all_services.sh | ||
## Author : Denny <[email protected]> | ||
|
@@ -13,7 +13,7 @@ | |
# manage_all_services.sh status couchbase-server | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
. /etc/profile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : pre_check.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-12> | ||
## Updated: Time-stamp: <2016-06-24 09:07:53> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
################################################################################################ | ||
. /etc/profile | ||
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : ubuntu1404_inject_163_apt_source.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2016-04-18> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
cat > /etc/apt/sources.list.d/163.list <<EOF | ||
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : wait_for.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## Sample: | ||
## -- | ||
## Created : <2016-06-04> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
. /etc/profile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : chef_kitchen_provision.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2015-11-30> | ||
## Updated: Time-stamp: <2016-06-24 09:08:32> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
# pre-cache Chef Omnibus installation | ||
mkdir -p /tmp/install.sh.14 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : chinese_chef_kitchen_provision.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2015-11-30> | ||
## Updated: Time-stamp: <2016-06-24 09:10:14> | ||
## Updated: Time-stamp: <2016-06-24 15:52:58> | ||
##------------------------------------------------------------------- | ||
# pre-cache Chef Omnibus installation | ||
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : devops_provision_os.sh | ||
## Author : Denny <[email protected]> | ||
|
@@ -11,7 +11,7 @@ | |
# bash -e /root/devops_provision_os.sh | ||
## -- | ||
## Created : <2016-04-20> | ||
## Updated: Time-stamp: <2016-06-24 09:11:53> | ||
## Updated: Time-stamp: <2016-06-24 15:52:57> | ||
################################################################################################ | ||
. /etc/profile | ||
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : kitchen_hook_hack_hosts.sh | ||
## Author : DennyZhang.com <[email protected]> | ||
## Description : Note the OS user running the script may be root or kitchen! | ||
## -- | ||
## Created : <2015-07-03> | ||
## Updated: Time-stamp: <2016-06-24 09:03:41> | ||
## Updated: Time-stamp: <2016-06-24 15:52:57> | ||
##------------------------------------------------------------------- | ||
set +e | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : linux_apply_cookbook.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2016-04-20> | ||
## Updated: Time-stamp: <2016-06-24 09:13:23> | ||
## Updated: Time-stamp: <2016-06-24 15:52:57> | ||
################################################################################################ | ||
. /etc/profile | ||
[ -n "$DOWNLOAD_PREFIX" ] || export DOWNLOAD_PREFIX="https://raw.githubusercontent.com/DennyZhang/devops_public/master" | ||
|
@@ -29,7 +29,7 @@ bash /var/lib/devops/refresh_common_library.sh "1523631277" "/var/lib/devops/dev | |
# export git_repo_url="[email protected]:DennyZhang/chef_community_cookbooks.git" | ||
# export chef_json="{\"run_list\": [\"recipe[general_security]\"], \"general_security\": {\"ssh_disable_passwd_login\": \"true\", \"ssh_disable_root_login\": \"false\"}}" | ||
# apt-get install -y curl | ||
# curl -o /tmp/linux_apply_cookbook.sh https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/chef/linux_apply_cookbook.sh | ||
# curl -o /tmp/linux_apply_cookbook.sh https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/chef/linux_apply_cookbook.sh | ||
# bash -xe /tmp/linux_apply_cookbook.sh | ||
################################################################################################ | ||
function basic_setup() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : preinstall_kitchen_verify.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2015-11-30> | ||
## Updated: Time-stamp: <2016-06-24 09:03:40> | ||
## Updated: Time-stamp: <2016-06-24 15:52:57> | ||
##------------------------------------------------------------------- | ||
LOG_FILE="/var/log/preinstall_kitchen_verify.log" | ||
function log() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
##------------------------------------------------------------------- | ||
## @copyright 2016 DennyZhang.com | ||
## Licensed under MIT | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/2016-06-23/LICENSE | ||
## https://raw.githubusercontent.com/DennyZhang/devops_public/tag_v1/LICENSE | ||
## | ||
## File : setup_jenkins.sh | ||
## Author : Denny <[email protected]> | ||
## Description : | ||
## -- | ||
## Created : <2016-04-20> | ||
## Updated: Time-stamp: <2016-06-24 09:15:05> | ||
## Updated: Time-stamp: <2016-06-24 15:52:57> | ||
##------------------------------------------------------------------- | ||
function configure_jenkins_port() { | ||
port=${1?} | ||
|
Oops, something went wrong.