Where exactly is you fact? Is it in a module? My recent experience required placement of my facts in $modulepath/module/lib/facter . . .
On Fri, Aug 12, 2011 at 10:30 AM, newguy <[email protected]> wrote: > Guys > I made a custom fact using export;(export FACTER_envt=`hostname -s|cut > -c 1-2`;) on puppet master, and when I do facter envt it shows the > desired result, now my problem is that am unable to distribute it to > the client machines. > > I read up a little on adding custom facts and found out the pluginsyc > would help me but it didnt, I have pluginsync=true on both > puppetmaster and client but still when I do "sudo puppetd --test -- > pluginsync" on client it says the following: > > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: Could not retrieve information from source(s) > puppet://puppet/plugins > > On client /var/lib/puppet/lib has no directory > On server /var/lib/puppet/lib has puppet and facter directories > > sudo puppetd --configprint factpath on client is /var/lib/puppet/lib/ > facter and on server its the same. > > Please help. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
