Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
node "d31.digg.internal" { $primary_interface = "eth1" include openldap::client include subversion include apache2 svnrepo { "wildcat": path => "/srv/svn", require => [File["/srv"], File["/srv/svn"], Class["subversion"]]; } file { "/srv": ensure => directory; "/srv/svn": require => [File["/srv"], Class["subversion"]], ensure => directory; "/repository": require => Svnrepo["wildcat"], ensure => "/srv/svn/wildcat"; "/etc/apache2/trac": require => Package["apache2"], ensure => directory; } apache2::config { "include-trac": content => "Include /etc/apache2/trac/*", order => 100, ensure => present, require => [Class["apache2"], File["/etc/apache2/trac"]]; } } I get: err: Could not apply complete catalog: Found dependency cycles in the following relationships: File[/100-include-trac.conf] => Exec[reload-apache2], Exec[reload-apache2] => Service[apache2], Exec[force-reload-apache2] => Service[apache2], Exec[reload-apache2] => File[/100-include-trac.conf], Service[apache2] => File[/100-include-trac.conf], Exec[force-reload-apache2] => File[/100-include-trac.conf], Exec[reload-apache2] => Exec[force-reload-apache2]
This paste will be private.
From the Design Piracy series on my blog: