On Friday, January 23, 2015 at 2:23:34 PM UTC-6, Samir Cury wrote:
>
> I'm having a pretty weird problem with a custom fact inside a module I 
> wrote.
>
> I would understand this problem better if it affected all clients (of same 
> version) equally but it doesn't.
>
> A long time after changes in the master (24h+), to make sure there are no 
> caches, after several "puppet agent -t" runs, in short this is what I get :
>
> [root@host1 ~]# find /var/lib/puppet/ -name discover-hdfs-partitions.* 
> /var/lib/puppet/facts.d/discover-hdfs-partitions.sh 
>
> [root@host2 ~]# find /var/lib/puppet/ -name discover-hdfs-partitions.* 
> [root@host2 ~]#
>
>
> As it helps debugging, here's the first puppet run on host2 (after 
> completely wiping the agent, reinstalling RPM, revoking certificate and 
> starting from scratch) :
>
> http://pastebin.com/Eu46A5RK
>
> As you see the fact file is pretty much ignored and not copied.
>
>

If two agents being served by the same master are working normally but do 
not receive the same auto-synced plugins (including custom facts), then the 
only likely explanation is that they are being assigned to different 
environments, one of which does not provide the fact in question.  This is 
especially likely if other plugins are synced as expected.  Plugin sync is 
not governed by node identity, except inasmuch as node identity affects 
environment assignment.


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/a2b0027d-edf9-42d5-b7ac-b1b6a6725146%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to