Yes fact exists as a environment variable only
Any suggestions anyone???
On Aug 12, 7:50 am, Guy Matz <gm...@matz.org> wrote:
> Oh, wait . . .  that fact exists solely as an environment variable?  You
> haven't put that code in a file for distribution?  Then please ignore my
> previous response.  Sorry
>
>
>
> On Fri, Aug 12, 2011 at 10:30 AM, newguy <aimanparv...@gmail.com> 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 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.

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

Reply via email to