I'm trying to setup a module to deploy custom facts, and I'm running into
some issues.

I've created a directory called "custom" in my modules directory, and
created sub-directories there so I have custom/lib/facter (as is described
in the documentation).

On my puppetmaster, I've added this to fileserver.conf:

[plugins]
allow *

In puppet.conf for the client I've added this to the [main] section, also
per the docs:

pluginsync = true
factpath = $vardir/lib/facter

However, when I run puppetd, I get the following error:

err: /File[/var/lib/puppet/lib]: Failed to generate additional resources
using 'eval_generate': Error 400 on SERVER: private method `gsub' called
for nil:NilClass


The only way to get rid of this error is to set the libdir variable, which
I don't think is right.  Can anyone point out what I'm doing wrong here? 
The documentation on custom facts is pretty horrible, and is too much a
mish-mash of old vs new methods.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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