On Nov 18, 2010, at 5:23 PM, Ed Greenberg wrote:

> and also fileserver.conf:
> # cat /etc/puppet/fileserver.conf
> [files]
> path /var/lib/puppet/files
> allow *
> [plugins]
> path /var/lib/puppet/facts
> allow *
> 
> 
> 
> I put my fact file (plesk_version.rb) in the /var/lib/puppet/facts 
> directory. I also put a copy in the /var/lib/puppet/plugins directory.
plugins is a pseudo-path, like modules, so you don't need an explicit 
fileserver.conf entry for it. You should take that out, and instead make a 
lib/facter/ directory in one of your modules (I use the one that contains most 
of the manifest which *uses* the fact provided by the plugin) and drop 
plesk_version.rb in there. Restart puppetmasterd and you should be good to go.  
This is the approach described in 

http://docs.puppetlabs.com/guides/plugins_in_modules.html

HTH


 - Eric Sorenson - N37 17.255 W121 55.738  - http://twitter.com/ahpook  -

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to