Howdy,

After working just fine for a long while, I'm suddenly running into this error on my puppetmaster and any other host that touches the nagios types.

I'm not even sure where to start. I tried clearing the host from puppetdb and clearing this host's cache in case something got stuck. No dice. Same thing.


If I run my previously-working known-good code, or even if I define the barest minimum for a node:

node puppetmaster.domain.tld {
  nagios_host { $::fqdn:
    host_name             => 'pleasework',
    alias                 => 'pretty please',
    address               => '127.0.0.1',
    notifications_enabled => '0',
}
}


I always get this at the end of the catalog run

# puppet agent -t -d
............
Info: Caching catalog for host.domain.tld
Debug: Creating default schedules
Info: Applying configuration version '1475094164'
Debug: Prefetching naginator resources for nagios_host
Debug: Storing state
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
Debug: Stored state in 0.07 seconds
Error: Failed to apply catalog: Could not parse configuration for nagios_host: undefined method `For=' for #<Nagios::Base::Host:0x00000004f37948>


And it fails. :(



Thanks,
Christopher

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/57EC2B15.3000402%40ias.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to