25. Puppet has more then a DSL
Sometimes you just need to write a little ruby
26. class evil {
define loop () {
notice("${name}")
}
loop { ['this', 'is', 'evil']:}
}
class{"evil":}
$ puppet apply evil.pp
notice: Scope(Evil::Loop[this]): this
notice: Scope(Evil::Loop[is]): is
notice: Scope(Evil::Loop[evil]): evil
27. node_config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'provision/manifests'
puppet.module_path = 'provision/modules'
end
Vagrant
Learn to ♥ it
Roll your own Its more work You know the ingredients are fresh It may or may not come together Usually only make one kind Go to the local distribution (CentOS, Ubuntu, EPEL) Pre packaged for your convience Not made everyday Small variety Go to PuppetLabs Guarantee of freshness Expertly made Wide selection of menu items
Roll your own Its more work You know the ingredients are fresh It may or may not come together Usually only make one kind Go to the local distribution (CentOS, Ubuntu, EPEL) Pre packaged for your convience Not made everyday Small variety Go to PuppetLabs Guarantee of freshness Expertly made Wide selection of menu items
Roll your own Its more work You know the ingredients are fresh It may or may not come together Usually only make one kind Go to the local distribution (CentOS, Ubuntu, EPEL) Pre packaged for your convience Not made everyday Small variety Go to PuppetLabs Guarantee of freshness Expertly made Wide selection of menu items
Roll your own Its more work You know the ingredients are fresh It may or may not come together Usually only make one kind Go to the local distribution (CentOS, Ubuntu, EPEL) Pre packaged for your convience Not made everyday Small variety Go to PuppetLabs Guarantee of freshness Expertly made Wide selection of menu items
Open Source: http://yum.puppetlabs.com/ http://apt.puppetlabs.com/ Bleeding EdgePlus Ecosyste m (PuppetDB, Hiera, etc) Enterprise: http://puppetlabs.com/misc/pe-files/http://yum-enter prise.puppetlabs.com/http://apt-ente rprise.puppetlabs.com/ Wide OS Suppor tStable (slower release tempo)Ecosyst em tested as a whole
Manage modules like everything else puppet module rodjek/ libra rian-puppetGit Submodule s Modules should be separated