Posts tagged 'puppet'

Getting the IP address of a specific interface in puppet using facter

One of the problems that I find annoying in puppet is that you can’t easily obtain the IP address of a specific network interface.

Let’s say that you want to define a class or type to which you wish to pass a interface name and use it’s …

Generating password hashes with puppet

Puppet expects the user’s password to be encrypted in the format the local system expects, for most modern Unix-like systems (Linux, *BSD, Solaris, etc.) this format is a salted SHA1 password hash.

To generate a password hash to use with puppet manifest files you can use the mkpasswd utility …