TAG: puppet

Puppet Puppet is a system for automating system administration tasks. Home of puppet is <http://puppetlabs.com> Helpful links regarding puppet: * <http://planetpuppet.org> * <http://www.puppetcookbook.com> More in depth pages: puppet index puppet infrastructure ,
Puppet Certificate Management ... done on the puppetmaster: # list certificate requestes: puppet cert --list # list all certificates (including signed certs) puppet cert --list --all # sign a request puppet cert --sign host.example.com # revoke a certificate: puppet cert --revoke host.example.com # clean a certificate: puppet cert --clean host.example.com # Print the full-text version of a host's certificate. puppet cert print host.example.com # low level alternative: openssl x509 -text…
puppet environments * <http://docs.puppetlabs.com/guides/environment.html> * <http://puppetlabs.com/blog/git-workflow-and-puppet-environments/> master Inspired by the guides above a dynamic approach for the puppet.conf on the master might look like: [main] server=puppetmaster.example.com logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates [master] certname=puppetmaster…
puppet install bootstrap How to integrate a new client to be managed by puppet? Ideally you can integrate that into your fai, kickstart, openvz template or whatever you use. But if you want to integrate your existing nodes into puppet or your new dedicated server has just been made available, that's a possible way to shorten things:
puppet modules Some snippets regarding puppet modules. # initialize a new module mkdir modulename && cd modulename mkdir {files,manifests,templates} touch manifests/init.pp puppet
puppet tips syntax, test mode, ... # check syntax of your manifests: find -name '*.pp' | xargs -n 1 -t puppet --parseonly # since version 2.7 the syntax for the syntax check changed: puppet parser validate *.pp #!/bin/bash if [ -z $1 ]; then PENV=production else PENV=$1 fi find -name '*.pp' | xargs -n 1 -t puppet --parseonly --environment $PENV
Puppetmasterd with Passenger on Debian Squeeze Howto install your puppetmaster with passenger. This was tested with puppet version 2.6.2 The official puppet wiki:<http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger> Read /usr/share/doc/puppetmasterd/README.rack Steps: # puppet: aptitude install facter puppet puppetmaster librack-ruby librack-ruby1.8 mkdir -p /etc/puppet/rack/ # apache: aptitude install apache2 libapache2-mod-passenger a2dismod autoindex a2dismod status a2enm…
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready