This file contains hidden or 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
# deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official amd64 NETINST 20170617-13:06]/ stretch main | |
#deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official amd64 NETINST 20170617-13:06]/ stretch main | |
deb http://httpredir.debian.org/debian stretch main | |
deb-src http://httpredir.debian.org/debian stretch main | |
deb http://security.debian.org/debian-security stretch/updates main | |
deb-src http://security.debian.org/debian-security stretch/updates main |
This file contains hidden or 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
root@default-debian-90:~# apt-get update | |
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease | |
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease | |
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB] | |
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease | |
Ign:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease | |
0% [Waiting for headers]^C | |
root@default-debian-90:~# fg | |
emacs /etc/apt/sources.list | |
root@default-debian-90:~# apt-get update |
This file contains hidden or 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
log_level :info | |
log_location STDOUT | |
node_name 'jplimack' | |
client_key '/Users/jplimack/.chef/jplimack.pem' | |
validation_client_name 'chef-validator' | |
validation_key '/Users/jplimack/.chef/chef-validator.pem' | |
chef_server_url 'https://chef.ops.sendgrid.net/organizations/sendgrid' | |
syntax_check_cache_path '/Users/jplimack/.chef/syntax_check_cache' | |
cookbook_path ["/Users/jplimack/Downloads/cookbook_backup"] |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
13858 1493070879.002343 execve("/usr/bin/chef-server-ctl", ["chef-server-ctl", "reconfigure"], [/* 30 vars */]) = 0 <0.000122> | |
13858 1493070879.002538 brk(0) = 0x15dc000 <0.000004> | |
13858 1493070879.002567 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd69baed000 <0.000006> | |
13858 1493070879.002601 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000006> | |
13858 1493070879.002647 open("/etc/ld.so.cache", O_RDONLY) = 3 <0.000008> | |
13858 1493070879.002669 fstat(3, {st_mode=S_IFREG|0644, st_size=40504, ...}) = 0 <0.000004> | |
13858 1493070879.002688 mmap(NULL, 40504, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd69bae3000 <0.000006> | |
13858 1493070879.002719 close(3) = 0 <0.000005> | |
13858 1493070879.002740 open("/lib64/libtinfo.so.5", O_RDONLY) = 3 <0.000007> |
This file contains hidden or 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
basedir = '/opt/foo' | |
%w( bar bat test ).each do |d| | |
directory File.join(basedir, d) do | |
recursive true | |
end | |
end |
This file contains hidden or 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
#!/bin/sh | |
# This is a (relatively) quick script you can use to | |
# configure bonding on production servers like splunk | |
# db's or any other prod bare metal. | |
# Usage is straight forward, invoke the script with | |
# the standard ./bondinator , and hopefully the server | |
# comes back with a clean and bonded interface. If not, | |
# to the IPMI-mobile to resurect. Backups of the | |
# network-scripts files are stored in |
This file contains hidden or 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
[root@default-centos-7 ~]# foreman-installer | |
NetworkManager is not running. | |
Execution of '/usr/bin/yum -d 0 -e 0 -y list tfm-rubygem-foreman_setup' returned 1: Error: No matching Packages to list | |
/usr/share/ruby/vendor_ruby/puppet/util/execution.rb:197:in `execute' | |
/usr/share/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute' | |
/usr/share/ruby/vendor_ruby/puppet/provider.rb:237:in `block in has_command' | |
/usr/share/ruby/vendor_ruby/puppet/provider.rb:463:in `block in create_class_and_instance_method' | |
/usr/share/ruby/vendor_ruby/puppet/provider/package/yum.rb:96:in `install' | |
/usr/share/ruby/vendor_ruby/puppet/type/package.rb:73:in `block (3 levels) in <module:Puppet>' |
This file contains hidden or 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
yum_repository 'foreman' do | |
baseurl 'http://yum.theforeman.org/releases/latest/el7/x86_64/' | |
gpgcheck false | |
action :create | |
notifies :makecache, 'yum_repository[foreman]' | |
end | |
yum_repository 'sclo-rh' do | |
baseurl 'http://mirror.centos.org/centos/7/sclo/x86_64/rh/' | |
gpgcheck false |
This file contains hidden or 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
[sclo] | |
name=Yum Repository | |
baseurl=http://mirror.centos.org/centos/7/sclo/x86_64/sclo/ | |
enabled=1 | |
gpgcheck=0 | |
[root@default-centos-7 yum.repos.d]# cat sclo-rh.repo | |
# This file was generated by Chef | |
# Do NOT modify this file by hand. | |
[sclo-rh] |
This file contains hidden or 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
[vagrant@default-centos-73 ~]$ sudo -i | |
[root@default-centos-73 ~]# yum repolist | |
Loaded plugins: fastestmirror | |
base | 3.6 kB 00:00:00 | |
extras | 3.4 kB 00:00:00 | |
updates | 3.4 kB 00:00:00 | |
(1/4): extras/7/x86_64/primary_db | 151 kB 00:00:00 | |
(2/4): base/7/x86_64/group_gz | 155 kB 00:00:00 | |
(3/4): base/7/x86_64/primary_ |
NewerOlder