On Wednesday, September 9, 2015 at 7:28:40 AM UTC-6, jcbollinger wrote:
>
>
> Are you certain that the apt and motd classes are correctly receiving 
> their parameters from Hiera?  If their definitions happen to provide 
> default values for all parameters, then a failure to look up parameter 
> values in hiera would not cause catalog building to fail for them.  It 
> could be that Hiera is misconfigured, so that it's not providing *any* 
> data.
>

I am certain that the apt and motd classes are correctly receiving the 
parameters from hiera. I confirmed it numerous times by updating the hiera 
config with different values, doing the puppet agent run and confirm the 
changes made in hiera came through to the agent. I needed to ensure I 
wasn't going insane. :-) 

>
> Have you restarted the master since last updating the data?  I'm never 
> sure any more what exactly Puppet caches, or when, but you can ensure that 
> its caches are flushed by restarting the master (the service, not 
> necessarily the whole machine).
>

I have restarted the master, yes, a number of times. I'm in the same boat, 
not quite sure when the master needs to be restarted, so I've been 
restarting it to make sure to cover all my bases.
 

>
> Have you looked in the master's logs for diagnostics that might be 
> relevant?
>

This I did not do. And I just did, and sure enough, there are some other 
(possibly relevant) errors showing up in the puppetserver.log.
==> puppetserver.log <==
2015-09-09 15:11:52,333 INFO  [puppet-server] Puppet Caching node for puppet
.development.vm
2015-09-09 15:11:53,286 WARN  [puppet-server] Puppet You cannot collect 
exported resources without storeconfigs being set; the export is ignored
2015-09-09 15:11:53,448 ERROR [puppet-server] Puppet Evaluation Error: Error 
while evaluating a Function Call, ossec::agentkey:  is missing
2015-09-09 15:11:53,448 ERROR [puppet-server] Puppet Evaluation Error: Error 
while evaluating a Function Call, ossec::agentkey:  is missing at /etc/
puppetlabs/code/environments/development/modules/ossec/manifests/agentkey.pp
:8:20 on node puppet.development.vm
2015-09-09 15:11:53,449 ERROR [puppet-server] Puppet Evaluation Error: Error 
while evaluating a Function Call, ossec::agentkey:  is missing

Thanks for the pointer, I'll investigate this further! Hopefully this is 
the failure causing the problem. I might get more help from the author on 
this one too, then.



>
> John
>
>

-- 
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/c1a5cca9-50e7-4d0c-aa4b-20640e2474f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to