Puppet

Aus Wiki Freifunk-3Ländereck
Wechseln zu: Navigation, Suche

Puppet

https://docs.puppetlabs.com/references/latest/type.html https://docs.puppetlabs.com/puppet/latest/reference/lang_relationships.html

Module einbinden

https://forge.puppetlabs.com/

https://github.com/jantman/vagrant-r10k https://github.com/puppetlabs/r10k

Facter

Hiera

https://docs.puppetlabs.com/hiera/1/index.html

https://docs.puppetlabs.com/hiera/1/data_sources.html

Puppet Roles/Profiles

http://www.craigdunn.org/2012/05/239/ https://puppetlabs.com/presentations/designing-puppet-rolesprofiles-pattern https://github.com/hunner/roles_and_profiles

https://forge.puppetlabs.com/puppetlabs/stdlib

Fehlermedlungen

if ! $operatingsystem == 'Ubuntu' {
 fail( 'Operating system not supported.' )
}
if ! defined(Class['::csf::base']) {
 fail('You must include the ::csf::base class before using any csf default defined resources')
}

Variabel Validierung

Modul stdlib

validate_re( $variable, '^(yes|no)$', 'The variable value is not type of a boolean.' )
validate_absolute_path($file)

Keine (unverschlüsselten) Passworte ins Git Repo!!!!!

https://github.com/TomPoulton/hiera-eyaml