Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## root@junglist /tmp# ./test.pp --debug info: Loading fact configured_ntp_servers info: Loading fact netmask info: Loading fact acpi_available info: Loading fact interfaces debug: Creating default schedules debug: Finishing transaction -610442728 with 0 changes debug: //File[/tmp/test2]/require: requires File[/tmp/test1] debug: //File[/tmp/test1]: File does not exist debug: //File[/tmp/test1]/checksum: Initializing checksum hash debug: //File[/tmp/test1]: Changing content debug: //File[/tmp/test1]: 1 change(s) debug: //File[/tmp/test1]: Creating checksum {md5}098f6bcd4621d373cade4e832627b4f6 notice: //File[/tmp/test1]/content: created file with contents {md5}098f6bcd4621d373cade4e832627b4f6 debug: //File[/tmp/test2]: File does not exist debug: //File[/tmp/test2]/checksum: Initializing checksum hash debug: //File[/tmp/test2]: Changing content debug: //File[/tmp/test2]: 1 change(s) debug: //File[/tmp/test2]: Creating checksum {md5}ad0234829205b9033196ba818f7a872b notice: //File[/tmp/test2]/content: created file with contents {md5}ad0234829205b9033196ba818f7a872b debug: Finishing transaction -610828628 with 2 changes ## root@junglist /tmp# cat ./test.pp #!/usr/bin/env puppet file { "/tmp/test1": content => "test"; "/tmp/test2": content => "test2", require => [ File['/tmp/test1'] ]; }
This paste will be private.
From the Design Piracy series on my blog: