Skip to content

Instantly share code, notes, and snippets.

@zipkid
Created July 10, 2012 12:09
Show Gist options
  • Save zipkid/3082926 to your computer and use it in GitHub Desktop.
Save zipkid/3082926 to your computer and use it in GitHub Desktop.
# global defaults
# backup file changes to the puppet server
# Only for complete files managed by puppet!
filebucket { 'puppet':
server => puppet
}
File {
backup => 'puppet',
}
# PATH setting
Exec {
path => '/usr/bin:/usr/sbin/:/bin:/sbin'
}
# Stages
stage { 'pre': before => Stage[main] }
stage { 'post': require => Stage[main] }
#class {
# "installsource::repo": stage => pre
# "nagios::nrpe::checks": stage => post
#}
# Default stuff for ALL nodes
node default
{
}
hiera_include("classes")
# Import all other node definitions
import 'nodes/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment