Skip to content

Instantly share code, notes, and snippets.

@nigelkersten
Created June 14, 2011 04:46
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