Skip to content

Instantly share code, notes, and snippets.

@cyberswat
Created February 28, 2012 04:51
Show Gist options
  • Save cyberswat/1929676 to your computer and use it in GitHub Desktop.
Save cyberswat/1929676 to your computer and use it in GitHub Desktop.
A simple puppet site definition that inherits a base class
# This is the base node definition that all additional nodes should inherit.
node base {
include puppet
}
# regex is used to match the client fqdn
node /^li220-252.members.linode.com$/ inherits base {
include jenkins
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment