A collection of advanced puppet examples
Puppet Ruby Shell
Permalink
Failed to load latest commit information.
disks-and-directories
exported-expiration - fix details Nov 4, 2010
exported-resource-filtering - Add example showing some clever ruby dsl hacks to collect exported Dec 9, 2010
function-returns-hash - add function hash example Apr 15, 2011
function-with-lookupvar - update readme Oct 28, 2011
inheritless-override - Add intent docs Nov 30, 2010
manage-remote-hack
masterless - add example output Feb 8, 2011
nodeless-puppet Rename nodeless-puppet/modules/truth/plugins/puppet/parser/functions/… Apr 13, 2013
stages-example - add puppet invocation Nov 18, 2010
swedishchef - move swedishchef to puppet-examples Jun 14, 2011
unmanaged-file-notify
where-art-thou
.gitignore
LICENSE mit license feels right; #4 May 5, 2013
README.textile clarify unmanaged-file-notify Nov 29, 2010

README.textile

Puppet Examples

This project aims to document and demonstrate several uses of puppet.

The main goal is to have a repository for me to publish any practical puppet
patterns I find useful. I also will put some more esoteric and experimental
tricks and hacks here. Lastly, I will try to put common “how to” answers that I
find asked in the #puppet IRC channel (on freenode).

What do we have?

Practical

  • exported-expiration – an example of how to expire exported resources that
    haven’t checked in recently.
  • nodeless-puppet – a method for managing puppet nodes purely through facts and
    properties. No ‘node’ definitions, no external node classifier, etc.

FAQ

  • unamanged-file-notify – FAQ: “How do I notify a service (or other resource)
    when I manually update a config file?”
  • stages-example – FAQ: “How do I use stages?” or “Stages aren’t working for me”

Experimental

  • manage-remote-hack: Manage remote servers with puppet – this hack tricks puppet into doing
    package mangement over ssh, allowing you to manage remote servers that do not
    have puppet (or ruby) installed.