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
bash-4.2# ruby -v | |
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] | |
bash-4.2# which ruby | |
/opt/chef/embedded/bin/ruby | |
bash-4.2# cat /etc/os-release | |
NAME="Amazon Linux AMI" | |
VERSION="2018.03" | |
ID="amzn" | |
ID_LIKE="rhel fedora" | |
VERSION_ID="2018.03" |
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
--- | |
cuda::install::cuda_pkgs: | |
'cuda-6.0': | |
ensure: 'absent' | |
'cuda-7.5': | |
ensure: 'present' |
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
uchiwa::sensu_api_endpoints: | |
- | |
host: 'sensu02' | |
name: 'boston' | |
ssl: false | |
insecure: false | |
user: 'sensu' | |
pass: 'random_string' | |
- | |
host: '127.0.0.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
file { '/scratch/cuda-7.5': | |
ensure => directory, | |
} | |
package { 'cuda-7-5': | |
ensure => installed, | |
provider => 'yum', | |
install_options => [{'--installroot' => '/scratch/cuda-7.5'}], | |
require => File['/scratch/cuda-7.5'], | |
} |
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
begin | |
Facter.puppet_classes | |
rescue | |
Facter.loadfacts() | |
end | |
Facter.add("hostname_base") do | |
setcode do | |
Facter.value("hostname").gsub(/\d+$/, "") | |
end |
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
bedtime routine: | |
6:30: dinner at the table | |
7:00 start the bath water | |
7:30: finish bath, put on diaper, pajamas | |
8:00: read 2 books, emmett shuts off the light, tuck into bed |
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
host: | |
source: /net/host/share | |
destination: /backups/01/host | |
hour: "20" | |
minute: "00" |
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
define samba::config($includeconf = '', $log_level = '2') { | |
include samba | |
if $::operatingsystemrelease =~ /^6/ { | |
$smb_config='smb.conf_el6.erb' | |
} | |
elsif $::operatingsystemrelease =~ /^5/ { | |
$smb_config='smb.conf_el6.erb' | |
} | |
file { '/etc/samba/smb.conf': |
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
2014-07-29 22:25:31,596 INFO [c.p.mq] Setting ActiveMQ StoreUsage limit to 10240 MB | |
2014-07-29 22:25:31,727 INFO [c.p.mq] Setting ActiveMQ TempUsage limit to 10240 MB | |
2014-07-29 22:25:32,038 WARN [o.e.j.h.HttpParser] badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@420bc237{r=1,a=IDLE,uri=-} | |
2014-07-29 22:25:32,043 WARN [o.e.j.h.HttpParser] badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@5d84d74b{r=1,a=IDLE,uri=-} | |
2014-07-29 22:25:32,049 WARN [o.e.j.h.HttpParser] badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@3a673258{r=1,a=IDLE,uri=-} | |
2014-07-29 22:25:32,337 WARN [o.e.j.h.HttpParser] badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@332d56ed{r=1,a=IDLE,uri=-} | |
2014-07-29 22:25:32,504 WARN [o.e.j.h.HttpParser] badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@1b8a |
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
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: /etc/puppet/hieradata | |
:hierarchy: | |
- %{::clientcert} | |
- %{::role} | |
- common |
NewerOlder