pluginsync removes module specific facts

38 views
Skip to first unread message

Dmitry Nilsen

unread,
Oct 27, 2012, 6:13:01 AM10/27/12
to puppet...@googlegroups.com

Hi, I observe the issue ,that by turning pluginsync on, it is no more possible to store module specific facts to /var/lib/puppet/lib/facter/. If some module has distributed some facts by File[] to /var/lib/puppet/lib/facter/ (at the puppet server this facts are not in modulepath/lib/facter, but somewhere else),  then a run with pluginsync would remove such facts from there. It is possible to avoid this? Is it possible to add custom facts by File to /var/lib/puppet/lib/facter/. ?

Regards Dimitri

R.I.Pienaar

unread,
Oct 27, 2012, 6:25:23 AM10/27/12
to puppet...@googlegroups.com
Why do you distribute facts with the file type?

You should not be distributing facts using file{}, pluginsync can distribute
all facts when they are stored in the modules lib dir

Dmitry Nilsen

unread,
Oct 27, 2012, 9:16:30 AM10/27/12
to puppet...@googlegroups.com
because we have facts, that are module specific and only hosts should get them, that include this module. Pluginsync distribute ALL facts, doesn't matter if the modue is included in host configuration or not. Thats why we are diong it currenlty with File{}.
Reply all
Reply to author
Forward
0 new messages