Skip to content

Instantly share code, notes, and snippets.

@zipkid
Last active December 28, 2015 23:29
Show Gist options
  • Save zipkid/7579616 to your computer and use it in GitHub Desktop.
Save zipkid/7579616 to your computer and use it in GitHub Desktop.
class package
class package (
$packages = hiera_hash('packages', {} )
)
{
validate_hash( $packages )
if( $packages )
{
create_resources( package, $packages )
}
}
packages:
fuse:
ensure: present
git:
ensure: present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment