Skip to content

Instantly share code, notes, and snippets.

@ghoneycutt
Created March 19, 2015 14:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghoneycutt/14855c4890cb400165f3 to your computer and use it in GitHub Desktop.
Save ghoneycutt/14855c4890cb400165f3 to your computer and use it in GitHub Desktop.
site.pp
# Define filebucket 'main':
filebucket { 'main':
server => 'puppet.example.com',
path => false,
}
# Ignoring version control artifacts
File {
backup => 'main',
ignore => [ '.svn',
'.git',
'CVS',
'.bzr',
],
}
if versioncmp($::puppetversion,'3.6.1') >= 0 {
$allow_virtual_packages = hiera('allow_virtual_packages',false)
Package {
allow_virtual => $allow_virtual_packages,
}
}
hiera_include('classes')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment