class webserver { $owner = "www-data" $svcname = apache2 $docbase = "/export/apache/docroots" file { "$docbase/mail.madstop.com/htdocs/data": owner => $owner, group => $owner, recurse => true; "$docbase/mail.madstop.com/htdocs/data/.htaccess": owner => $owner, group => $owner, mode => 440 } file { apacheconf: recurse => true, path => "/etc/$svcname", check => [checksum], owner => root, group => root, ignore => ".svn" } file { apacheauth: recurse => true, path => "/etc/$svcname/auth", check => [checksum], owner => $owner, group => $owner, ignore => ".svn" } service { $svcname: ensure => running, subscribe => [file[apacheconf], file[apacheauth]] } Tracinstance { alt => "Reductive Labs", cgidir => "/export/docroots/reductivelabs.com/cgi-bin", } tracinstance { enhost: description => "Enhost - LDAP System Information Uploader"; puppet: description => "Puppet - Portable System Automation", cc => "puppet-dev@madstop.com"; facter: description => "Facter - Operating System Fact Collecter", cc => "puppet-dev@madstop.com"; ldapsh: description => "LDAPSH - An Interactive LDAP Shell"; runnels: description => "Runnels - A Network Message Bus"; libmetrics: description => "libmetrics - A Cross-Platform Metrics Library"; naginator: description => "Naginator - A Nagios Configuration Generation Tools"; microarray: description => "Cindy's MicroArray Analysis"; } }