On Nov 27, 2014 5:28 AM, "Vincent Miszczak" <vincent.miszc...@gmail.com>
wrote:
>
> Hello,
>
> Nearly everything is in the title.
>
> When I manually run a puppet agent --test on a host (let's say "host1")
that export @@something, I can get "something" on another host (let's say
host2) and I'm happy.
>
> Later, when the daemon on host1 runs, it still exports @@something but
custom facts are empty instead of having their value.
>
> What am I missing ?

"Have you tried turning it off and on again?"

Seriously, have you tried restarting the agent daemon?

This happens sometimes when Facter itself is updated and if you've gone
through several iterations of your custom fact, it may well apply here.
When the agent runs as a daemon, it does not completely reinitialize, so it
is possible that updated code could not get reloaded.

Wil

-- 
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/CAMmm3r6qsv9Mo5ttXj6Mb-0qOkz-JA2Q8p401D%3D-X1aNEM7tGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to