Skip to content

Instantly share code, notes, and snippets.

@ryanycoleman
Created February 14, 2012 16:37
Show Gist options
  • Save ryanycoleman/1827979 to your computer and use it in GitHub Desktop.
Save ryanycoleman/1827979 to your computer and use it in GitHub Desktop.
# modulepath is /etc/puppetlabs/puppet/modules
# helloworld/manifests/init.pp
class helloworld {
file { '/tmp/hello':
ensure => file,
source => "puppet:///modules/helloworld/hello",
}
}
puppet apply --execute 'include helloworld'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment