Skip to content

Instantly share code, notes, and snippets.

@almaron
Created May 11, 2014 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almaron/5709a69e09bad92f3475 to your computer and use it in GitHub Desktop.
Save almaron/5709a69e09bad92f3475 to your computer and use it in GitHub Desktop.
Bootstrapping Chef...
DEBUG: Initial command uname -s
DEBUG: Initial command sudo -V
DEBUG: Running processed command sudo -V
DEBUG: sudo -V stdout: Sudo версия 1.8.6p3
Параметры настройки: --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --sbindir=/usr/sbin --libdir=/usr/lib64 --docdir=/usr/share/doc/sudo-1.8.6p3 --with-logging=syslog --with-logfac=authpriv --with-pam --with-pam-login --with-editor=/bin/vi --with-env-editor --with-ignore-dot --with-tty-tickets --with-ldap --with-ldap-conf-file=/etc/sudo-ldap.conf --with-selinux --with-passprompt=[sudo] password for %p: --with-linux-audit --with-sssd
DEBUG: sudo -V stdout: Sudoers policy plugin version 1.8.6p3
Sudoers file grammar version 42
Sudoers path: /etc/sudoers
nsswitch path: /etc/nsswitch.conf
ldap.conf path: /etc/sudo-ldap.conf
ldap.secret path: /etc/ldap.secret
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Ignore '.' in $PATH
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Require users to authenticate by default
Root may run sudo
Always set $HOME to the target user's home directory
Allow some information gathering to give useful error messages
Only allow the user to run sudo if they have a tty
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 5,0 minutes
Password prompt timeout: 5,0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/db/sudo
Default password prompt: [sudo] password for %p:
Default user to run commands as: root
Value to override user's $PATH with: /sbin:/bin:/usr/sbin:/usr/bin
Path to the editor for use by visudo: /bin/vi
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File descriptors >= 3 will be closed before executing a command
Reset the environment to a default set of variables
Environment variables to check for sanity:
TERM
LINGUAS
LC_*
LANGUAGE
LANG
COLORTERM
Environment variables to remove:
RUBYOPT
RUBYLIB
PYTHONUSERBASE
PYTHONINSPECT
PYTHONPATH
PYTHONHOME
TMPPREFIX
ZDOTDIR
READNULLCMD
NULLCMD
FPATH
PERL5DB
PERL5OPT
PERL5LIB
PERLLIB
PERLIO_DEBUG
JAVA_TOOL_OPTIONS
SHELLOPTS
GLOBIGNORE
PS4
BASH_ENV
ENV
TERMCAP
TERMPATH
TERMINFO_DIRS
TERMINFO
_RLD*
LD_*
PATH_LOCALE
NLSPATH
HOSTALIASES
RES_OPTIONS
LOCALDOMAIN
CDPATH
IFS
Environment variables to preserve:
XAUTHORITY
_XKB_CHARSET
LINGUAS
LANGUAGE
LC_ALL
LC_TIME
LC_TELEPHONE
LC_PAPER
LC_NUMERIC
LC_NAME
LC_MONETARY
LC_MESSAGES
LC_MEASUREMENT
LC_IDENTIFICATION
LC_COLLATE
LC_CTYPE
LC_ADDRESS
LANG
USERNAME
QTDIR
PS2
PS1
MAIL
LS_COLORS
KDEDIR
INPUTRC
HISTSIZE
HOSTNAME
DISPLAY
COLORS
Locale to use while parsing sudoers: C
Directory in which to store input/output logs: /var/log/sudo-io
File in which to store the input/output log: %{seq}
Add an entry to the utmp/utmpx file when allocating a pty
Local IP address and netmask pairs:
107.170.224.74/255.255.255.0
fe80::601:18ff:fea0:4b01/ffff:ffff:ffff:ffff::
Sudoers I/O plugin version 1.8.6p3
DEBUG: Running processed command uname -s
DEBUG: uname -s stdout: Linux
DEBUG: Initial command lsb_release -d -s
DEBUG: Running processed command lsb_release -d -s
DEBUG: lsb_release -d -s stdout: bash: lsb_release: команда не найдена
DEBUG: Initial command cat /etc/redhat-release
DEBUG: Running processed command cat /etc/redhat-release
DEBUG: cat /etc/redhat-release stdout: CentOS release 6.5 (Final)
DEBUG: Distro detection yielded: {:type=>"yum_omnibus"}
DEBUG: Initial command sudo yum clean all
DEBUG: Running processed command sudo -p 'knife sudo password: ' yum clean all
DEBUG: sudo -p 'knife sudo password: ' yum clean all stdout: Loaded plugins: fastestmirror
DEBUG: sudo -p 'knife sudo password: ' yum clean all stdout: Cleaning repos: base extras updates
Cleaning up Everything
DEBUG: sudo -p 'knife sudo password: ' yum clean all stdout: Cleaning up list of fastest mirrors
DEBUG: Initial command sudo yum -y install rsync
DEBUG: Running processed command sudo -p 'knife sudo password: ' yum -y install rsync
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: Loaded plugins: fastestmirror
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: Determining fastest mirrors
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: * base: mirror.keystealth.org
* extras: centos.mirrors.hoobly.com
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: * updates: centos-mirror.jchost.net
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: updates/primary_db 8% [= ] 0.0 B/s | 261 kB --:-- ETA
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: updates/primary_db 51% [=======- ] 2.0 MB/s | 1.6 MB 00:00 ETA
updates/primary_db | 3.1 MB 00:00
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: Setting up Install Process
DEBUG: sudo -p 'knife sudo password: ' yum -y install rsync stdout: Package rsync-3.0.6-9.el6_4.1.x86_64 already installed and latest version
Nothing to do
DEBUG: Initial command if command -v curl >/dev/null 2>&1; then
curl -L -o install.sh https://www.opscode.com/chef/install.sh
else
wget -O install.sh https://www.opscode.com/chef/install.sh
fi
DEBUG: Running processed command if command -v curl >/dev/null 2>&1; then
curl -L -o install.sh https://www.opscode.com/chef/install.sh
else
wget -O install.sh https://www.opscode.com/chef/install.sh
fi
DEBUG: if command -v curl >/dev/null 2>&1; then
curl -L -o install.sh https://www.opscode.com/chef/install.sh
else
wget -O install.sh https://www.opscode.com/chef/install.sh
fi
stdout: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0DEBUG: if command -v curl >/dev/null 2>&1; then
curl -L -o install.sh https://www.opscode.com/chef/install.sh
else
wget -O install.sh https://www.opscode.com/chef/install.sh
fi
100 15934 100 15934 0 0 42326 0 --:--:-- --:--:-- --:--:-- 137k
100 15934 100 15934 0 0 42326 0 --:--:-- --:--:-- --:--:-- 137k
DEBUG: Initial command sudo bash install.sh -v 11.14.0.alpha.2
DEBUG: Running processed command sudo -p 'knife sudo password: ' bash install.sh -v 11.14.0.alpha.2
DEBUG: sudo -p 'knife sudo password: ' bash install.sh -v 11.14.0.alpha.2 stdout: Downloading Chef 11.14.0.alpha.2 for el...
Downloading Chef 11.14.0.alpha.2 for el...
DEBUG: sudo -p 'knife sudo password: ' bash install.sh -v 11.14.0.alpha.2 stdout: downloading https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.1841/metadata.txt
trying curl...
downloading https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.1841/metadata.txt
trying curl...
DEBUG: sudo -p 'knife sudo password: ' bash install.sh -v 11.14.0.alpha.2 stdout: ERROR 404
Unable to retrieve a valid package!
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 11.14.0.alpha.2
Please detail your operating system type, version and any other relevant details
Metadata URL: https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
ERROR 404
Unable to retrieve a valid package!
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 11.14.0.alpha.2
Please detail your operating system type, version and any other relevant details
Metadata URL: https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
DEBUG: Node config 'nodes/centos.json' already exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment