Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## test.pp class a { exec { "touch-foo": command => "/bin/touch /tmp/foo", refreshonly => true } } class b { file { "/tmp/config.txt": ensure => "present", content => "somestuff", notify => Exec["touch-foo"], } } include a include b ## run it % puppet test.pp notice: //b/File[/tmp/config.txt]/ensure: content changed '{md5}dad7cdb0db24f8cf7ead6606b285903a' to '{md5}dad7cdb0db24f8cf7ead6606b285903a' notice: //a/Exec[touch-foo]: Triggering 'refresh' from 1 dependencies
This paste will be private.
From the Design Piracy series on my blog: