Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
info: Caching catalog at /var/lib/puppet/state/localconfig.yaml notice: Starting catalog run debug: Loaded state in 0.00 seconds debug: Prefetching naginator resources for nagios_host line 3: syntax error at ' ' ################################################################ class nagios_host { package {[nagios3, nagios-plugins, nagios-plugins-basic, nagios-plugins-standard, nagios-snmp-plugins]: ensure => installed } file { "/usr/lib/nagios/plugins/check_snmp_apt.pl": source => "puppet://puppet.s-team.at/files/nagios3/check_snmp_apt.pl", mode => 775, group => "root", owner => "root", require => Package[nagios-plugins] } } class nagios-monitor { Nagios_host <<||>> } class nagios-target { @@nagios_host { $fqdn: ensure => present, alias => $hostname, address => $ipaddress, use => "generic-host", target => "/etc/nagios3/nagios_host.cfg" } }
This paste will be private.
From the Design Piracy series on my blog: