Hi folks,

For the first time since I started playing with puppet I started down the
road of using exported resources This was inspired by my reading all of the
nagios related recipes that went something along the lines of

class nagios {
         package {nagios: ensure=> latest }
         service {nagios : ensure => running , enable => true}

        Nagios_host <<! !>>
        Nagios_service <<! |>


         class target {
                @@nagios_host { $fqdn:
                                       ensure => present,
                                       alias => $hostname,
                                       register => 1,
                                       use => "generic-host"
                }

                @@nagios_service { "check_ping_${hostname}":
                                  use => "check_ping",
                                   hostname => "$fqdn"
               }
}



Now, I've run into several issues.

First off the exported resources never seem to get to get marshalled.
Secondly on my Nagios_service <<! !>> statement puppet complains about the
leading "<<" and says it expected "}"

I've compared my work to the examples I've seen and I'm crosseyed now.
Where am I going wrong here?


-- 
Peter L. Berghold
Owner, Shark River Technical Solutions LLC

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to