[Puppet Users] pluginsync removes module specific facts

2012-10-27 Thread Dmitry Nilsen
 

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] pluginsync removes module specific facts

2012-10-27 Thread R.I.Pienaar


- Original Message -
> From: "Dmitry Nilsen" 
> 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] pluginsync removes module specific facts

2012-10-27 Thread Dmitry Nilsen
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" > 
> > To: puppet...@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 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.