Puppet code snippets

Here you can download the Puppet code snippets (“manifests”) which are the result of my little comparison “Cfengine 3 vs. Puppet”.

Puppet code snippet #001: Creating and editing files
Puppet code snippet #002: Check for running services and start them if necessary
Puppet code snippet #003: Install packages automatically
Puppet code snippet #004: Mounting NFS shares
Puppet code snippet #005: Managing APT sources.list files
Puppet code snippet #006: Running simple shell commands
Puppet code snippet #007: Configuring sshd or any other service
Puppet code snippet #008: not available yet
Puppet code snippet #009: Using environment variables in Puppet
Puppet code snippet #010: Checking if a file exists in Puppet

Leave a Reply