Skip to content

Instantly share code, notes, and snippets.

View skottler's full-sized avatar

Sam Kottler skottler

View GitHub Profile
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...'
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
#!/usr/bin/ruby
require 'puppet'
require 'net/http'
require 'yaml'
Factsdir = "/var/lib/puppet/yaml/facts"
Foreman = "http://foreman"
node = ARGV[0]
#!/usr/bin/env python
import sys
import time
import argparse
from datetime import timedelta
import pyes
__version__ = '0.1.0'
setgid ubuntu
setuid ubuntu
start on runlevel [2345]
stop on runlevel [016]
hiera nagios_server environment=dev location=virginia calling_module=nagios
environments/
|-- dev
| |-- hieradb
| | |-- Ubuntu.yaml
| | |-- CentOS.yaml
| | `-- common.yaml
| `-- modules
| `-- nagios
`-- prod
|-- hieradb
:hierarchy: - %{environment}/%{location}/%{calling_module}
- %{environment}/%{calling_module}
- common
$allowed_hosts = ['localhost', 'nagios.mycompany.com']
$nrpeservice = "nrpe"
$nrpepattern = "nrpe"
$nrpepackage = "nrpe"
$nrpedir = "/etc/nagios"
$nrpeuser = "nrpe"
$nrpegroup = "nrpe"
$pluginsdir = "/usr/local/nagios/libexec"