Posts Tagged ‘puppet-tips-and-tricks’

Puppet Tips&Tricks: Running apt-get update only when needed

puppet November 9th, 2010

How to only run apt-get update from puppet if it’s necessary. A small example on how you can make apt-get update only run if a) the machine rebooted and b) something changed in /etc/apt.

More...

Puppet Tips&Tricks: Variable variables

puppet September 1st, 2010

More Puppet Tips&Tricks in our new blog post: This time on Variable variables.

More...

WordPress MU and /etc/hosts file

code July 12th, 2010

Sometimes you need to hack up some code to work around some network problems. Sometimes you’re not very proud of it, but you want to share your solution nonetheless. This is one of those ugly solutions…

More...

Puppet Tips&Tricks: checking if a value is present in an array

puppet June 17th, 2010

Although it’s going to be easier in puppet 2.6, this helps you if you want to check if a certain value is present in a puppet array and perform actions based on that.

More...

Puppet Tips&Tricks: testing your regsubst replacings

puppet March 15th, 2010

Puppet Tips&Tricks: How to test the regex you built for your regsubst invocation. In IRB.

More...

Puppet Tips&Tricks: Converting booleans to numbers

puppet March 8th, 2010

Puppet Tips&Tricks: A ruby function to be used with puppet for converting boolean values to numerical values. Useful for nagios, for example.

More...

Puppet Tips&Tricks: Getting the version from a package

puppet March 1st, 2010

Another blog post in our Puppet Tips&Tricks series: Creating a fact which contains the installed version of a package.

More...

Puppet Tips&Tricks: debugging includes and inheritance

puppet February 22nd, 2010

This is the second post in a our Puppet Tips & Tricks series. This week some tips on simple debugging puppet manifests or modules.

More...

  • 1 2

Kumina designs, builds, operates and supports Kubernetes solutions that help companies thrive online. As Certified Kubernetes Service Partner, we know how to build real solutions.