Skip to content

Instantly share code, notes, and snippets.

@nigelkersten
Created June 14, 2011 04:46
Show Gist options
  • Save nigelkersten/1024344 to your computer and use it in GitHub Desktop.
Save nigelkersten/1024344 to your computer and use it in GitHub Desktop.
If Puppet was more like Python
file /etc/apache2/apache2.conf:
ensure file
source puppet:///modules/apache/apache2.conf
notify Service[apache]
service apache:
ensure running
enable true
require Package[apache]
package apache:
ensure latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment