Created
September 17, 2012 11:44
-
-
Save zipkid/3736859 to your computer and use it in GitHub Desktop.
manifests/site.pp
This file contains hidden or 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
# 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 { 'repo': before => Stage[package] } | |
stage { 'package': before => Stage[main] } | |
stage { 'post': require => Stage[main] } | |
class { | |
"pkgutil": stage => repo | |
} | |
class { | |
"download_files": stage => repo | |
} | |
class { | |
"package": stage => package | |
} | |
# Default stuff for ALL nodes | |
node default | |
{ | |
} | |
hiera_include("classes") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment