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
demo |
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
timeout=5 | |
menuentry "Fedora 18" { | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_gpt | |
insmod ext2 | |
insmod lvm | |
set root='hd0,gpt5' | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 --hint='hd0,gpt5' 4d293507-3ec0-410a-9606-bcbcfe44d7dd | |
echo 'Loading vmlinuz...' |
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
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-root /vagrant |
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
#!/usr/bin/ruby | |
require 'puppet' | |
require 'net/http' | |
require 'yaml' | |
Factsdir = "/var/lib/puppet/yaml/facts" | |
Foreman = "http://foreman" | |
node = ARGV[0] |
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
#!/usr/bin/env python | |
import sys | |
import time | |
import argparse | |
from datetime import timedelta | |
import pyes | |
__version__ = '0.1.0' |
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
setgid ubuntu | |
setuid ubuntu | |
start on runlevel [2345] | |
stop on runlevel [016] |
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
hiera nagios_server environment=dev location=virginia calling_module=nagios |
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
environments/ | |
|-- dev | |
| |-- hieradb | |
| | |-- Ubuntu.yaml | |
| | |-- CentOS.yaml | |
| | `-- common.yaml | |
| `-- modules | |
| `-- nagios | |
`-- prod | |
|-- hieradb |
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
:hierarchy: - %{environment}/%{location}/%{calling_module} | |
- %{environment}/%{calling_module} | |
- common |
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
$allowed_hosts = ['localhost', 'nagios.mycompany.com'] | |
$nrpeservice = "nrpe" | |
$nrpepattern = "nrpe" | |
$nrpepackage = "nrpe" | |
$nrpedir = "/etc/nagios" | |
$nrpeuser = "nrpe" | |
$nrpegroup = "nrpe" | |
$pluginsdir = "/usr/local/nagios/libexec" |