Tag Archives: puppet

Load balanced puppet dashboard

Puppet dashboard is a useful tool in terms of reporting and actually seeing what’s going on with your puppets. The things get a bit tricky when you have hundreds of nodes reporting every 5 minutes or so and running dashboard on a single host.

I assume you are using dashboard already and you looking into scaling it, although I’ll describe how to install it from scratch. This post will help you set up 2+ dashboard nodes with one node running MySQL db and shared spool/ directory.
Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Arrays and hashes in puppet templates

Hashes are grate way to organize data in any language, this post will demonstrate how to get to grips with hashes and templates in Puppet.
Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Puppet templates and default values for variables

Puppet supports templates and templating via ERB, which is part of the Ruby standard library and is used for many other projects including Ruby on Rails. While it is a Ruby templating system, you do not need to understand much Ruby to use ERB.

Templates allow you to manage the content of template files, for example configuration files that cannot yet be managed directly by a built-in Puppet type. This might include an Apache configuration file, Samba configuration file, etc.

That looks easy right ? Well to be hones I’m not a Ruby programmer and I don’t know it that well but when I was developing templates I’ve asked guys who do know Ruby and not everything they advised was working.
Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Writing custom facts for puppet

Puppet uses facts to get basic information about a server on which it runs. When you need ip address of the machine you just add $ipaddress to template or anywhere else you want to use. Unfortunately when this facter variable will be used on Amazon ec2 instance the ip will be the local ip and not the public ip. As I’m quite new to Puppet I read the documentation and write a custom fact for this.
Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Puppet installation on Debian Lenny

Here is the easiest way of getting latest puppet installed on Lenny when you start from scratch: Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit