Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class adAuth { file { "/root/cacert.pem": owner => root, group => root, mode => 600, source => "puppet:///adAuth/cacert.pem"; } exec { "install-certificate": cwd => "/root/", user => "root", group => "root", require => File["/root/cacert.pem"], command => "/usr/bin/openssl x509 -in /root/cacert.pem -text -out /root/test.crt", command => "rm -f /root/cacert.pem", unless => "cat /root/test.crt |grep Louis", } } info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run notice: //Node[s2023]/adauth/File[/root/cacert.pem]/ensure: created notice: //Node[s2023]/adauth/Exec[install-certificate]/returns: executed successfully notice: Finished catalog run in 4.80 seconds
This paste will be private.
From the Design Piracy series on my blog: