Created
January 16, 2018 17:30
-
-
Save meangrape/9b1251a8f389d171851f49c7585c1d33 to your computer and use it in GitHub Desktop.
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
+ trap __exit_cleanup EXIT INT | |
+ ps -a -o pid,args | |
+ grep 89355 | |
+ grep -v grep | |
+ tr -s ' ' | |
+ cut -d ' ' -f 3 | |
+ CALLER=- | |
+ [ -x '=' /tmp/install_salt.shx ] | |
+ echoinfo 'Running version: 2017.12.13' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Running version: 2017.12.13' | |
ESC[1;32m * INFOESC[0m: Running version: 2017.12.13 | |
+ echoinfo 'Executed by: -' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Executed by: -' | |
ESC[1;32m * INFOESC[0m: Executed by: - | |
+ echoinfo $'Command line: \'/tmp/install_salt.sh git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e\'' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' $'Command line: \'/tmp/install_salt.sh git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e\'' | |
ESC[1;32m * INFOESC[0m: Command line: '/tmp/install_salt.sh git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e' | |
+ [ 2 -gt 0 ] | |
+ __check_unparsed_options 'git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e' | |
+ shellopts='git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e' | |
+ [ -f /usr/xpg4/bin/grep ] | |
+ grep=grep | |
+ echo 'git 94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e' | |
+ grep -E '(^|[[:space:]])[-]+[[:alnum:]]' | |
+ unparsed_options='' | |
+ [ '' '!=' '' ] | |
+ ITYPE=git | |
+ shift | |
+ echo git | |
+ egrep '(stable|testing|daily|git)' | |
+ [ git '=' '' ] | |
+ [ git '=' git ] | |
+ [ 1 -eq 0 ] | |
+ GIT_REV=94b86f28df6d1539bcdc6f25a0b6ee0fbb3d7e8e | |
+ shift | |
+ STABLE_REV=latest | |
+ [ 0 -gt 0 ] | |
+ [ -f /usr/xpg4/bin/id ] | |
+ whoami=whoami | |
+ whoami | |
+ [ root '!=' root ] | |
+ [ 1 -eq 0 ] | |
+ [ 1 -eq 0 ] | |
+ [ 1 -eq 0 ] | |
+ [ null '!=' null ] | |
+ [ null '!=' null ] | |
+ [ null '!=' null ] | |
+ [ null '!=' null ] | |
+ [ git '!=' git ] | |
+ [ null '!=' null ] | |
+ [ 0 -eq 1 ] | |
+ HTTP_VAL=https | |
+ [ 0 -eq 1 ] | |
+ SETUP_PY_INSTALL_ARGS='' | |
+ [ 0 -eq 1 ] | |
+ _GPG_ARGS=' --keyserver-options ca-cert-file=/etc/ssl/certs/ca-certificates.crt' | |
+ [ '' '!=' '' ] | |
+ [ 0 -eq 0 ] | |
+ [ -f /tmp/disable_salt_checks ] | |
+ [ 0 -eq 1 ] | |
+ [ -d null ] | |
+ __gather_hardware_info | |
+ [ -f /proc/cpuinfo ] | |
+ [ -f /usr/bin/kstat ] | |
+ sysctl -n hw.model | |
+ CPU_VENDOR_ID='Intel(R) Xeon(R) CPU @ 2.30GHz' | |
+ echo 'Intel(R) Xeon(R) CPU @ 2.30GHz' | |
+ tr '[:upper:]' '[:lower:]' | |
+ CPU_VENDOR_ID_L='intel(r) xeon(r) cpu @ 2.30ghz' | |
+ uname -m | |
+ CPU_ARCH=amd64 | |
+ echo amd64 | |
+ tr '[:upper:]' '[:lower:]' | |
+ CPU_ARCH_L=amd64 | |
+ __gather_os_info | |
+ uname -s | |
+ OS_NAME=FreeBSD | |
+ echo FreeBSD | |
+ tr '[:upper:]' '[:lower:]' | |
+ OS_NAME_L=freebsd | |
+ uname -r | |
+ OS_VERSION=11.1-STABLE | |
+ echo 11.1-STABLE | |
+ tr '[:upper:]' '[:lower:]' | |
+ OS_VERSION_L=11.1-stable | |
+ __gather_system_info | |
+ __gather_bsd_system_info | |
+ DISTRO_NAME=FreeBSD | |
+ echo 11.1-STABLE | |
+ sed -e 's;[()];;' -e 's/-.*$//' | |
+ DISTRO_VERSION=11.1 | |
+ echo | |
+ echoinfo 'System Information:' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'System Information:' | |
ESC[1;32m * INFOESC[0m: System Information: | |
+ echoinfo ' CPU: Intel(R) Xeon(R) CPU @ 2.30GHz' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' ' CPU: Intel(R) Xeon(R) CPU @ 2.30GHz' | |
ESC[1;32m * INFOESC[0m: CPU: Intel(R) Xeon(R) CPU @ 2.30GHz | |
+ echoinfo ' CPU Arch: amd64' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' ' CPU Arch: amd64' | |
ESC[1;32m * INFOESC[0m: CPU Arch: amd64 | |
+ echoinfo ' OS Name: FreeBSD' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' ' OS Name: FreeBSD' | |
ESC[1;32m * INFOESC[0m: OS Name: FreeBSD | |
+ echoinfo ' OS Version: 11.1-STABLE' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' ' OS Version: 11.1-STABLE' | |
ESC[1;32m * INFOESC[0m: OS Version: 11.1-STABLE | |
+ echoinfo ' Distribution: FreeBSD 11.1' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' ' Distribution: FreeBSD 11.1' | |
ESC[1;32m * INFOESC[0m: Distribution: FreeBSD 11.1 | |
+ echo | |
+ echo FreeBSD | |
+ tr '[:upper:]' '[:lower:]' | |
+ sed 's/[^a-zA-Z0-9_ ]//g' | |
+ sed -re 's/([[:space:]])+/_/g' | |
+ DISTRO_NAME_L=freebsd | |
+ [ 11.1 '=' '' ] | |
+ [ 1 -eq 0 ] | |
+ echo 11.1 | |
+ sed 's/^\([0-9]*\).*/\1/g' | |
+ DISTRO_MAJOR_VERSION=11 | |
+ echo 11.1 | |
+ sed 's/^\([0-9]*\).\([0-9]*\).*/\2/g' | |
+ DISTRO_MINOR_VERSION=1 | |
+ PREFIXED_DISTRO_MAJOR_VERSION=_11 | |
+ [ _11 '=' _ ] | |
+ PREFIXED_DISTRO_MINOR_VERSION=_1 | |
+ [ _1 '=' _ ] | |
+ __ubuntu_derivatives_translation | |
+ UBUNTU_DERIVATIVES='(trisquel|linuxmint|linaro|elementary_os|neon)' | |
+ trisquel_6_ubuntu_base=12.04 | |
+ linuxmint_13_ubuntu_base=12.04 | |
+ linuxmint_17_ubuntu_base=14.04 | |
+ linuxmint_18_ubuntu_base=16.04 | |
+ linaro_12_ubuntu_base=12.04 | |
+ elementary_os_02_ubuntu_base=12.04 | |
+ neon_16_ubuntu_base=16.04 | |
+ echo freebsd | |
+ egrep '(trisquel|linuxmint|linaro|elementary_os|neon)' | |
+ match='' | |
+ [ '' '!=' '' ] | |
+ __debian_derivatives_translation | |
+ [ ! -f /etc/os-release ] | |
+ return | |
+ __check_end_of_life_versions | |
+ [ 11 -eq 9 ] | |
+ [ 11 -lt 9 ] | |
+ echodebug 'Binaries will be searched using the following $PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/jayed/bin' | |
+ [ 0 -eq 1 ] | |
+ [ '' '!=' '' ] | |
+ [ 1 -eq 1 ] | |
+ [ 0 -eq 0 ] | |
+ echoinfo 'Installing minion' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Installing minion' | |
ESC[1;32m * INFOESC[0m: Installing minion | |
+ [ 0 -eq 1 ] | |
+ [ 0 -eq 1 ] | |
+ [ 0 -eq 1 ] | |
+ [ 1 -eq 0 ] | |
+ [ freebsd '=' ubuntu ] | |
+ [ freebsd '=' debian ] | |
+ [ freebsd '!=' ubuntu ] | |
+ [ git '=' daily ] | |
+ echo freebsd | |
+ egrep '(debian|ubuntu|centos|red_hat|oracle|scientific|amazon)' | |
+ [ '' '=' '' ] | |
+ [ git '=' stable ] | |
+ [ git '=' testing ] | |
+ [ freebsd '!=' ubuntu ] | |
+ [ null '!=' null ] | |
+ [ freebsd '!=' ubuntu ] | |
+ [ 0 -eq 1 ] | |
+ __ZYPPER_REQUIRES_REPLACE_FILES=-1 | |
+ [ 0 -eq 0 ] | |
+ DEP_FUNC_NAMES=install_freebsd_11_git_deps | |
+ DEP_FUNC_NAMES='install_freebsd_11_git_deps install_freebsd_11_1_git_deps' | |
+ DEP_FUNC_NAMES='install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps' | |
+ DEP_FUNC_NAMES='install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps install_freebsd_11_1_deps' | |
+ DEP_FUNC_NAMES='install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps install_freebsd_11_1_deps install_freebsd_git_deps' | |
+ DEP_FUNC_NAMES='install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps install_freebsd_11_1_deps install_freebsd_git_deps install_freebsd_deps' | |
+ DEPS_INSTALL_FUNC=null | |
+ __strip_duplicates 'install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps install_freebsd_11_1_deps install_freebsd_git_deps install_freebsd_deps' | |
+ echo 'install_freebsd_11_git_deps install_freebsd_11_1_git_deps install_freebsd_11_deps install_freebsd_11_1_deps install_freebsd_git_deps install_freebsd_deps' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined install_freebsd_11_git_deps | |
+ FUNC_NAME=install_freebsd_11_git_deps | |
+ command -v install_freebsd_11_git_deps | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_git_deps not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_git_deps | |
+ FUNC_NAME=install_freebsd_11_1_git_deps | |
+ command -v install_freebsd_11_1_git_deps | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_git_deps not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_deps | |
+ FUNC_NAME=install_freebsd_11_deps | |
+ command -v install_freebsd_11_deps | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_deps not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_deps | |
+ FUNC_NAME=install_freebsd_11_1_deps | |
+ command -v install_freebsd_11_1_deps | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_deps not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_git_deps | |
+ FUNC_NAME=install_freebsd_git_deps | |
+ command -v install_freebsd_git_deps | |
+ [ install_freebsd_git_deps '!=' '' ] | |
+ echoinfo 'Found function install_freebsd_git_deps' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function install_freebsd_git_deps' | |
ESC[1;32m * INFOESC[0m: Found function install_freebsd_git_deps | |
+ return 0 | |
+ DEPS_INSTALL_FUNC=install_freebsd_git_deps | |
+ break | |
+ echodebug 'DEPS_INSTALL_FUNC=install_freebsd_git_deps' | |
+ [ 0 -eq 1 ] | |
+ CONFIG_FUNC_NAMES=config_freebsd_11_git_salt | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt' | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt' | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt' | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt config_freebsd_git_salt' | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt config_freebsd_git_salt config_freebsd_salt' | |
+ CONFIG_FUNC_NAMES='config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt config_freebsd_git_salt config_freebsd_salt config_salt' | |
+ CONFIG_SALT_FUNC=null | |
+ __strip_duplicates 'config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt config_freebsd_git_salt config_freebsd_salt config_salt' | |
+ echo 'config_freebsd_11_git_salt config_freebsd_11_1_git_salt config_freebsd_11_salt config_freebsd_11_1_salt config_freebsd_git_salt config_freebsd_salt config_salt' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined config_freebsd_11_git_salt | |
+ FUNC_NAME=config_freebsd_11_git_salt | |
+ command -v config_freebsd_11_git_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_11_git_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_freebsd_11_1_git_salt | |
+ FUNC_NAME=config_freebsd_11_1_git_salt | |
+ command -v config_freebsd_11_1_git_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_11_1_git_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_freebsd_11_salt | |
+ FUNC_NAME=config_freebsd_11_salt | |
+ command -v config_freebsd_11_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_11_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_freebsd_11_1_salt | |
+ FUNC_NAME=config_freebsd_11_1_salt | |
+ command -v config_freebsd_11_1_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_11_1_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_freebsd_git_salt | |
+ FUNC_NAME=config_freebsd_git_salt | |
+ command -v config_freebsd_git_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_git_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_freebsd_salt | |
+ FUNC_NAME=config_freebsd_salt | |
+ command -v config_freebsd_salt | |
+ [ '' '!=' '' ] | |
+ echodebug 'config_freebsd_salt not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined config_salt | |
+ FUNC_NAME=config_salt | |
+ command -v config_salt | |
+ [ config_salt '!=' '' ] | |
+ echoinfo 'Found function config_salt' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function config_salt' | |
ESC[1;32m * INFOESC[0m: Found function config_salt | |
+ return 0 | |
+ CONFIG_SALT_FUNC=config_salt | |
+ break | |
+ echodebug 'CONFIG_SALT_FUNC=config_salt' | |
+ [ 0 -eq 1 ] | |
+ PRESEED_FUNC_NAMES=preseed_freebsd_11_git_master | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master' | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master' | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master' | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master preseed_freebsd_git_master' | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master preseed_freebsd_git_master preseed_freebsd_master' | |
+ PRESEED_FUNC_NAMES='preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master preseed_freebsd_git_master preseed_freebsd_master preseed_master' | |
+ PRESEED_MASTER_FUNC=null | |
+ __strip_duplicates 'preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master preseed_freebsd_git_master preseed_freebsd_master preseed_master' | |
+ echo 'preseed_freebsd_11_git_master preseed_freebsd_11_1_git_master preseed_freebsd_11_master preseed_freebsd_11_1_master preseed_freebsd_git_master preseed_freebsd_master preseed_master' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined preseed_freebsd_11_git_master | |
+ FUNC_NAME=preseed_freebsd_11_git_master | |
+ command -v preseed_freebsd_11_git_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_11_git_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_freebsd_11_1_git_master | |
+ FUNC_NAME=preseed_freebsd_11_1_git_master | |
+ command -v preseed_freebsd_11_1_git_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_11_1_git_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_freebsd_11_master | |
+ FUNC_NAME=preseed_freebsd_11_master | |
+ command -v preseed_freebsd_11_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_11_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_freebsd_11_1_master | |
+ FUNC_NAME=preseed_freebsd_11_1_master | |
+ command -v preseed_freebsd_11_1_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_11_1_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_freebsd_git_master | |
+ FUNC_NAME=preseed_freebsd_git_master | |
+ command -v preseed_freebsd_git_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_git_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_freebsd_master | |
+ FUNC_NAME=preseed_freebsd_master | |
+ command -v preseed_freebsd_master | |
+ [ '' '!=' '' ] | |
+ echodebug 'preseed_freebsd_master not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined preseed_master | |
+ FUNC_NAME=preseed_master | |
+ command -v preseed_master | |
+ [ preseed_master '!=' '' ] | |
+ echoinfo 'Found function preseed_master' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function preseed_master' | |
ESC[1;32m * INFOESC[0m: Found function preseed_master | |
+ return 0 | |
+ PRESEED_MASTER_FUNC=preseed_master | |
+ break | |
+ echodebug 'PRESEED_MASTER_FUNC=preseed_master' | |
+ [ 0 -eq 1 ] | |
+ INSTALL_FUNC_NAMES=install_freebsd_11_git | |
+ INSTALL_FUNC_NAMES='install_freebsd_11_git install_freebsd_11_1_git' | |
+ INSTALL_FUNC_NAMES='install_freebsd_11_git install_freebsd_11_1_git install_freebsd_git' | |
+ INSTALL_FUNC=null | |
+ __strip_duplicates 'install_freebsd_11_git install_freebsd_11_1_git install_freebsd_git' | |
+ echo 'install_freebsd_11_git install_freebsd_11_1_git install_freebsd_git' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined install_freebsd_11_git | |
+ FUNC_NAME=install_freebsd_11_git | |
+ command -v install_freebsd_11_git | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_git not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_git | |
+ FUNC_NAME=install_freebsd_11_1_git | |
+ command -v install_freebsd_11_1_git | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_git not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_git | |
+ FUNC_NAME=install_freebsd_git | |
+ command -v install_freebsd_git | |
+ [ install_freebsd_git '!=' '' ] | |
+ echoinfo 'Found function install_freebsd_git' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function install_freebsd_git' | |
ESC[1;32m * INFOESC[0m: Found function install_freebsd_git | |
+ return 0 | |
+ INSTALL_FUNC=install_freebsd_git | |
+ break | |
+ echodebug 'INSTALL_FUNC=install_freebsd_git' | |
+ [ 0 -eq 1 ] | |
+ POST_FUNC_NAMES=install_freebsd_11_git_post | |
+ POST_FUNC_NAMES='install_freebsd_11_git_post install_freebsd_11_1_git_post' | |
+ POST_FUNC_NAMES='install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post' | |
+ POST_FUNC_NAMES='install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post install_freebsd_11_1_post' | |
+ POST_FUNC_NAMES='install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post install_freebsd_11_1_post install_freebsd_git_post' | |
+ POST_FUNC_NAMES='install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post install_freebsd_11_1_post install_freebsd_git_post install_freebsd_post' | |
+ POST_INSTALL_FUNC=null | |
+ __strip_duplicates 'install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post install_freebsd_11_1_post install_freebsd_git_post install_freebsd_post' | |
+ echo 'install_freebsd_11_git_post install_freebsd_11_1_git_post install_freebsd_11_post install_freebsd_11_1_post install_freebsd_git_post install_freebsd_post' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined install_freebsd_11_git_post | |
+ FUNC_NAME=install_freebsd_11_git_post | |
+ command -v install_freebsd_11_git_post | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_git_post not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_git_post | |
+ FUNC_NAME=install_freebsd_11_1_git_post | |
+ command -v install_freebsd_11_1_git_post | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_git_post not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_post | |
+ FUNC_NAME=install_freebsd_11_post | |
+ command -v install_freebsd_11_post | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_post not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_post | |
+ FUNC_NAME=install_freebsd_11_1_post | |
+ command -v install_freebsd_11_1_post | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_post not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_git_post | |
+ FUNC_NAME=install_freebsd_git_post | |
+ command -v install_freebsd_git_post | |
+ [ install_freebsd_git_post '!=' '' ] | |
+ echoinfo 'Found function install_freebsd_git_post' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function install_freebsd_git_post' | |
ESC[1;32m * INFOESC[0m: Found function install_freebsd_git_post | |
+ return 0 | |
+ POST_INSTALL_FUNC=install_freebsd_git_post | |
+ break | |
+ echodebug 'POST_INSTALL_FUNC=install_freebsd_git_post' | |
+ [ 0 -eq 1 ] | |
+ STARTDAEMONS_FUNC_NAMES=install_freebsd_11_git_restart_daemons | |
+ STARTDAEMONS_FUNC_NAMES='install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons' | |
+ STARTDAEMONS_FUNC_NAMES='install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons' | |
+ STARTDAEMONS_FUNC_NAMES='install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons install_freebsd_11_1_restart_daemons' | |
+ STARTDAEMONS_FUNC_NAMES='install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons install_freebsd_11_1_restart_daemons install_freebsd_git_restart_daemons' | |
+ STARTDAEMONS_FUNC_NAMES='install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons install_freebsd_11_1_restart_daemons install_freebsd_git_restart_daemons install_freebsd_restart_daemons' | |
+ STARTDAEMONS_INSTALL_FUNC=null | |
+ __strip_duplicates 'install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons install_freebsd_11_1_restart_daemons install_freebsd_git_restart_daemons install_freebsd_restart_daemons' | |
+ echo 'install_freebsd_11_git_restart_daemons install_freebsd_11_1_git_restart_daemons install_freebsd_11_restart_daemons install_freebsd_11_1_restart_daemons install_freebsd_git_restart_daemons install_freebsd_restart_daemons' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined install_freebsd_11_git_restart_daemons | |
+ FUNC_NAME=install_freebsd_11_git_restart_daemons | |
+ command -v install_freebsd_11_git_restart_daemons | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_git_restart_daemons not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_git_restart_daemons | |
+ FUNC_NAME=install_freebsd_11_1_git_restart_daemons | |
+ command -v install_freebsd_11_1_git_restart_daemons | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_git_restart_daemons not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_restart_daemons | |
+ FUNC_NAME=install_freebsd_11_restart_daemons | |
+ command -v install_freebsd_11_restart_daemons | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_restart_daemons not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_restart_daemons | |
+ FUNC_NAME=install_freebsd_11_1_restart_daemons | |
+ command -v install_freebsd_11_1_restart_daemons | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_restart_daemons not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_git_restart_daemons | |
+ FUNC_NAME=install_freebsd_git_restart_daemons | |
+ command -v install_freebsd_git_restart_daemons | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_git_restart_daemons not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_restart_daemons | |
+ FUNC_NAME=install_freebsd_restart_daemons | |
+ command -v install_freebsd_restart_daemons | |
+ [ install_freebsd_restart_daemons '!=' '' ] | |
+ echoinfo 'Found function install_freebsd_restart_daemons' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function install_freebsd_restart_daemons' | |
ESC[1;32m * INFOESC[0m: Found function install_freebsd_restart_daemons | |
+ return 0 | |
+ STARTDAEMONS_INSTALL_FUNC=install_freebsd_restart_daemons | |
+ break | |
+ echodebug 'STARTDAEMONS_INSTALL_FUNC=install_freebsd_restart_daemons' | |
+ [ 0 -eq 1 ] | |
+ DAEMONS_RUNNING_FUNC_NAMES=daemons_running_freebsd_11_git | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git' | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11' | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1' | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1 daemons_running_freebsd_git' | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1 daemons_running_freebsd_git daemons_running_freebsd' | |
+ DAEMONS_RUNNING_FUNC_NAMES='daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1 daemons_ | |
running_freebsd_git daemons_running_freebsd daemons_running' | |
+ DAEMONS_RUNNING_FUNC=null | |
+ __strip_duplicates 'daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1 daemons_running_freebsd_git daemons_running_freebsd daemons_running' | |
+ echo 'daemons_running_freebsd_11_git daemons_running_freebsd_11_1_git daemons_running_freebsd_11 daemons_running_freebsd_11_1 daemons_running_freebsd_git daemons_running_freebsd daemons_running' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined daemons_running_freebsd_11_git | |
+ FUNC_NAME=daemons_running_freebsd_11_git | |
+ command -v daemons_running_freebsd_11_git | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd_11_git not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running_freebsd_11_1_git | |
+ FUNC_NAME=daemons_running_freebsd_11_1_git | |
+ command -v daemons_running_freebsd_11_1_git | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd_11_1_git not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running_freebsd_11 | |
+ FUNC_NAME=daemons_running_freebsd_11 | |
+ command -v daemons_running_freebsd_11 | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd_11 not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running_freebsd_11_1 | |
+ FUNC_NAME=daemons_running_freebsd_11_1 | |
+ command -v daemons_running_freebsd_11_1 | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd_11_1 not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running_freebsd_git | |
+ FUNC_NAME=daemons_running_freebsd_git | |
+ command -v daemons_running_freebsd_git | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd_git not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running_freebsd | |
+ FUNC_NAME=daemons_running_freebsd | |
+ command -v daemons_running_freebsd | |
+ [ '' '!=' '' ] | |
+ echodebug 'daemons_running_freebsd not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined daemons_running | |
+ FUNC_NAME=daemons_running | |
+ command -v daemons_running | |
+ [ daemons_running '!=' '' ] | |
+ echoinfo 'Found function daemons_running' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Found function daemons_running' | |
ESC[1;32m * INFOESC[0m: Found function daemons_running | |
+ return 0 | |
+ DAEMONS_RUNNING_FUNC=daemons_running | |
+ break | |
+ echodebug 'DAEMONS_RUNNING_FUNC=daemons_running' | |
+ [ 0 -eq 1 ] | |
+ [ 0 -eq 0 ] | |
+ CHECK_SERVICES_FUNC_NAMES=install_freebsd_11_git_check_services | |
+ CHECK_SERVICES_FUNC_NAMES='install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services' | |
+ CHECK_SERVICES_FUNC_NAMES='install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services' | |
+ CHECK_SERVICES_FUNC_NAMES='install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services install_freebsd_11_1_check_services' | |
+ CHECK_SERVICES_FUNC_NAMES='install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services install_freebsd_11_1_check_services install_freebsd_git_check_services' | |
+ CHECK_SERVICES_FUNC_NAMES='install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services install_freebsd_11_1_check_services install_freebsd_git_check_services install_freebsd_check_services' | |
+ CHECK_SERVICES_FUNC=null | |
+ __strip_duplicates 'install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services install_freebsd_11_1_check_services install_freebsd_git_check_services install_freebsd_check_services' | |
+ echo 'install_freebsd_11_git_check_services install_freebsd_11_1_git_check_services install_freebsd_11_check_services install_freebsd_11_1_check_services install_freebsd_git_check_services install_freebsd_check_services' | |
+ tr -s '[:space:]' '\n' | |
+ awk '!x[$0]++' | |
+ __function_defined install_freebsd_11_git_check_services | |
+ FUNC_NAME=install_freebsd_11_git_check_services | |
+ command -v install_freebsd_11_git_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_git_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_git_check_services | |
+ FUNC_NAME=install_freebsd_11_1_git_check_services | |
+ command -v install_freebsd_11_1_git_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_git_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_check_services | |
+ FUNC_NAME=install_freebsd_11_check_services | |
+ command -v install_freebsd_11_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_11_1_check_services | |
+ FUNC_NAME=install_freebsd_11_1_check_services | |
+ command -v install_freebsd_11_1_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_11_1_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_git_check_services | |
+ FUNC_NAME=install_freebsd_git_check_services | |
+ command -v install_freebsd_git_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_git_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ __function_defined install_freebsd_check_services | |
+ FUNC_NAME=install_freebsd_check_services | |
+ command -v install_freebsd_check_services | |
+ [ '' '!=' '' ] | |
+ echodebug 'install_freebsd_check_services not found....' | |
+ [ 0 -eq 1 ] | |
+ return 1 | |
+ echodebug 'CHECK_SERVICES_FUNC=null' | |
+ [ 0 -eq 1 ] | |
+ [ 0 -eq 0 ] | |
+ [ install_freebsd_git_deps '=' null ] | |
+ [ install_freebsd_git '=' null ] | |
+ [ 0 -eq 0 ] | |
+ [ 0 -eq 0 ] | |
+ echoinfo 'Running install_freebsd_git_deps()' | |
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Running install_freebsd_git_deps()' | |
ESC[1;32m * INFOESC[0m: Running install_freebsd_git_deps() | |
+ install_freebsd_git_deps | |
+ install_freebsd_9_stable_deps | |
+ _SALT_ETC_DIR=/usr/local/etc/salt | |
+ _PKI_DIR=/usr/local/etc/salt/pki | |
+ [ 0 -eq 0 ] | |
+ __freebsd_get_packagesite | |
+ [ amd64 '=' amd64 ] | |
+ BSD_ARCH=x86:64 | |
+ set +o nounset | |
+ ABI=freebsd:11:x86:64 | |
+ _PACKAGESITE=http://pkg.freebsd.org/freebsd:11:x86:64/latest | |
+ PKGCONFURL='pkg+http://pkg.freebsd.org/${ABI}/latest' | |
+ SALTPKGCONFURL='http://repo.saltstack.com/freebsd/${ABI}/' | |
+ set -o nounset | |
+ [ ! -x /usr/local/sbin/pkg ] | |
+ __configure_freebsd_pkg_details | |
+ mkdir -p /usr/local/etc/pkg/repos/ | |
+ mkdir -p /etc/pkg/ | |
+ [ ! -f /etc/pkg/FreeBSD.conf ] | |
+ FROM_FREEBSD='-r FreeBSD' | |
+ salt_conf_file=/usr/local/etc/pkg/repos/saltstack.conf | |
+ echo SaltStack:{ | |
+ echo ' url: "http://repo.saltstack.com/freebsd/${ABI}/",' | |
+ echo ' mirror_type: "http",' | |
+ echo ' enabled: true' | |
+ echo ' priority: 10' | |
+ echo } | |
+ FROM_SALTSTACK='-r SaltStack' | |
+ echo 'WITH_PKGNG= yes' | |
+ /usr/local/sbin/pkg update -f | |
Updating FreeBSD repository catalogue... | |
Fetching meta.txz: . done | |
Fetching packagesite.txz: .......... done | |
Processing entries: .......... done | |
FreeBSD repository update completed. 28768 packages processed. | |
Updating SaltStack repository catalogue... | |
Fetching meta.txz: . done | |
Fetching packagesite.txz: ... done | |
Processing entries: ....... done | |
SaltStack repository update completed. 65 packages processed. | |
All repositories are up to date. | |
+ /usr/local/sbin/pkg install -r FreeBSD -y swig | |
Updating FreeBSD repository catalogue... | |
FreeBSD repository is up to date. | |
All repositories are up to date. | |
pkg: No packages available to install matching 'swig' have been found in the repositories | |
+ return 1 | |
+ return 1 | |
+ [ 1 -ne 0 ] | |
+ echoerror 'Failed to run install_freebsd_git_deps()!!!' | |
+ printf '\033[1;31m * ERROR\033[0m: %s\n' 'Failed to run install_freebsd_git_deps()!!!' | |
ESC[1;31m * ERRORESC[0m: Failed to run install_freebsd_git_deps()!!! | |
+ exit 1 | |
+ __exit_cleanup | |
+ EXIT_CODE=1 | |
+ [ git '=' git ] | |
+ [ -d /tmp/git/salt ] | |
+ [ -p /tmp/bootstrap-salt.logpipe ] | |
+ echodebug 'Removing the logging pipe /tmp/bootstrap-salt.logpipe' | |
+ [ 0 -eq 1 ] | |
+ rm -f /tmp/bootstrap-salt.logpipe | |
+ ps ax | |
+ grep tee | |
+ grep /tmp/bootstrap-salt.log | |
+ awk '{print $1}' | |
+ TEE_PID=17603 | |
+ [ 17603 '=' '' ] | |
+ echodebug $'Killing logging pipe tee\'s with pid(s): 17603' | |
+ [ 0 -eq 1 ] | |
+ trap __trap_errors INT ABRT QUIT TERM |
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
+ printf '\033[1;32m * INFO\033[0m: %s\n' 'Running install_freebsd_git_deps()' | |
ESC[1;32m * INFOESC[0m: Running install_freebsd_git_deps() | |
+ install_freebsd_git_deps | |
+ install_freebsd_9_stable_deps | |
+ _SALT_ETC_DIR=/usr/local/etc/salt | |
+ _PKI_DIR=/usr/local/etc/salt/pki | |
+ [ 0 -eq 0 ] | |
+ __freebsd_get_packagesite | |
+ [ amd64 '=' amd64 ] | |
+ BSD_ARCH=x86:64 | |
+ set +o nounset | |
+ ABI=freebsd:11:x86:64 | |
+ _PACKAGESITE=http://pkg.freebsd.org/freebsd:11:x86:64/latest | |
+ PKGCONFURL='pkg+http://pkg.freebsd.org/${ABI}/latest' | |
+ SALTPKGCONFURL='http://repo.saltstack.com/freebsd/${ABI}/' | |
+ set -o nounset | |
+ [ ! -x /usr/local/sbin/pkg ] | |
+ __configure_freebsd_pkg_details | |
+ mkdir -p /usr/local/etc/pkg/repos/ | |
+ mkdir -p /etc/pkg/ | |
+ [ ! -f /etc/pkg/FreeBSD.conf ] | |
+ FROM_FREEBSD='-r FreeBSD' | |
+ salt_conf_file=/usr/local/etc/pkg/repos/saltstack.conf | |
+ echo SaltStack:{ | |
+ echo ' url: "http://repo.saltstack.com/freebsd/${ABI}/",' | |
+ echo ' mirror_type: "http",' | |
+ echo ' enabled: true' | |
+ echo ' priority: 10' | |
+ echo } | |
+ FROM_SALTSTACK='-r SaltStack' | |
+ echo 'WITH_PKGNG= yes' | |
+ /usr/local/sbin/pkg update -f | |
Updating FreeBSD repository catalogue... | |
Fetching meta.txz: . done | |
Fetching packagesite.txz: .......... done | |
Processing entries: .......... done | |
FreeBSD repository update completed. 28768 packages processed. | |
Updating SaltStack repository catalogue... | |
Fetching meta.txz: . done | |
Fetching packagesite.txz: ... done | |
Processing entries: ....... done | |
All repositories are up to date. | |
+ /usr/local/sbin/pkg install -r FreeBSD -y swig | |
Updating FreeBSD repository catalogue... | |
FreeBSD repository is up to date. | |
All repositories are up to date. | |
pkg: No packages available to install matching 'swig' have been found in the repositories | |
+ return 1 | |
+ return 1 | |
+ [ 1 -ne 0 ] | |
+ echoerror 'Failed to run install_freebsd_git_deps()!!!' | |
+ printf '\033[1;31m * ERROR\033[0m: %s\n' 'Failed to run install_freebsd_git_deps()!!!' | |
ESC[1;31m * ERRORESC[0m: Failed to run install_freebsd_git_deps()!!! | |
+ exit 1 | |
+ __exit_cleanup | |
+ EXIT_CODE=1 | |
+ [ git '=' git ] | |
+ [ -d /tmp/git/salt ] | |
+ [ -p /tmp/bootstrap-salt.logpipe ] | |
+ echodebug 'Removing the logging pipe /tmp/bootstrap-salt.logpipe' | |
+ [ 0 -eq 1 ] | |
+ rm -f /tmp/bootstrap-salt.logpipe | |
+ ps ax | |
+ grep tee | |
+ grep /tmp/bootstrap-salt.log | |
+ awk '{print $1}' | |
+ TEE_PID=17603 | |
+ [ 17603 '=' '' ] | |
+ echodebug $'Killing logging pipe tee\'s with pid(s): 17603' | |
+ [ 0 -eq 1 ] | |
+ trap __trap_errors INT ABRT QUIT TERM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment