Dmitry Nilsen
2012-Oct-27 10:13 UTC
[Puppet Users] pluginsync removes module specific facts
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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/cdoQYMoJI0EJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
R.I.Pienaar
2012-Oct-27 10:25 UTC
Re: [Puppet Users] pluginsync removes module specific facts
----- Original Message -----> From: "Dmitry Nilsen" <dmitry.nilsen@googlemail.com> > To: puppet-users@googlegroups.com > Sent: Saturday, October 27, 2012 11:13:01 AM > Subject: [Puppet Users] pluginsync removes module specific facts > > > > 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/. ?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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Dmitry Nilsen
2012-Oct-27 13:16 UTC
Re: [Puppet Users] pluginsync removes module specific facts
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{}. On Saturday, October 27, 2012 12:26:10 PM UTC+2, R.I. Pienaar wrote:> > > > ----- Original Message ----- > > From: "Dmitry Nilsen" <dmitry...@googlemail.com <javascript:>> > > To: puppet...@googlegroups.com <javascript:> > > Sent: Saturday, October 27, 2012 11:13:01 AM > > Subject: [Puppet Users] pluginsync removes module specific facts > > > > > > > > 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/. ? > > 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 >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/gFiqp90B7XUJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.