puppet

puppet intro

The puppet software is a way to manage multiple servers. If you try using mysql as a backend for mysql, you might get the following erro

Could not retrieve catalog from remote server: Error 400 on SERVER: !!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2'

Just install the mysql2 gems form ports as usual

cd /usr/ports/databases/ruby-mysql && make install clean

puppet tips

List pending certificates

puppetca list

Sign request

puppetca sign foo.example.com

Run agent manually

puppet agent --test --server puppet.dannielou.com

Dump puppet master configuration to stdout

puppet master --genconfig|grep -v "    #"|grep -v "^$"