Skip to content

Instantly share code, notes, and snippets.

@binford2k
Last active September 25, 2017 02:48
Show Gist options
  • Save binford2k/c049ff6f71a4c4d1dd59860a41a0bbe5 to your computer and use it in GitHub Desktop.
Save binford2k/c049ff6f71a4c4d1dd59860a41a0bbe5 to your computer and use it in GitHub Desktop.
# the format of a puppet resource
resource_type { 'resource title':
ensure => 'the state I want the resource to exist in',
property1 => value,
property2 => value,
property3 => value,
}
# a silly example that might go on a job listing
candidate { 'junior software engineer':
ensure => employed,
degree => 'BS in CptS or equivalent',
employment => '3+ years',
experience => [ 'ruby', 'rust', 'puppet', 'javascript' ],
certifications => [ 'RHCE', 'CCNA' ],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment