hello,

I am trying to add a custum fact to my puppet module.
I wrote and tested the facter script and it functions as I want it to.

I am following the instructions to synchronise the facts/plugins as
written in
Adding_Facts and plugins_in_modules from the documentation, as in:

put factscript in /etc/puppet/modules/<module>/lib/facter

add these lines to puppet.conf:
[main]
pluginsync = true
factpath = $vardir/lib/facter

when I do a puppetd run on my client, where I want to use the module
with my homemade fact, I see the sync taking place, but that is all I
see happening.
The facts i want to use in the module stay empty, undefined actually.

sidenote: if in my current directory there exists a directory facter,
where my factscript has been added, then, when starting  puppetd -t
from there, the facts are added, which would mean, that the factscript
works.
It just seems, that Puppet doesn't use the directory to where the
script has been synced, despite the entry in puppet.conf

Right now i am at a loss, since i cannot see what I'm doing wrong
Does anyone have any experience with this?

thanx in advance.

-- 
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