October 2011
Intermediate to advanced
300 pages
5h 51m
English
"What do you get when you play country music backwards? You get your girl back, your dog back, your pick-up back, and you stop drinking."—Louis Saaberda
It's important to do things in the right order. A common requirement is to apply a certain resource before all others (for example, installing a package repository), or after all others (for example, deploying an application once its dependencies are installed). Puppet's run stages allow you to do this.
class install_repos { notify { "This will be done first": } } class deploy_app { notify { "This will be done last": } } stage { "first": before => Stage["main"] } stage { "last": require => Stage["main"] } class { "install_repos": ...Read now
Unlock full access