On Fri, Jul 29, 2011 at 9:00 AM, Guy Matz <gm...@matz.org> wrote:

> Nan, thanks for the hint!  If I put the facts in module/lib/facter they
> work on the client . . .  I used puppet-module to create the module and
> followed the directions for creating a custom fact, but I guess they need to
> go in module/lib/facter, not module/lib/puppet/facter . . .
>

Guy, are you saying the directions said to put the facts in
lib/puppet/facter ?


>
> thanks a lot everyone!
>
>
> On Fri, Jul 29, 2011 at 11:54 AM, Guy Matz <gm...@matz.org> wrote:
>
>> hmm . . .   my custom facts are in
>> /var/opt/lib/pe-puppet/lib/puppet/facter, but if I put them in
>> /var/opt/lib/pe-puppet/lib/facter they *do* show up in facter -p . . .  does
>> that mean I am "packaging" my facts incorrectly on the server?  Or is my
>> client misconfigured?
>> puppet.conf on my client is:
>> [main]
>>     vardir = /var/opt/lib/pe-puppet
>>     logdir = /var/log/pe-puppet
>>     rundir = /var/run/pe-puppet
>>     modulepath = /etc/puppetlabs/puppet/modules
>>     user = pe-puppet
>>     group = pe-puppet
>>
>> [agent]
>>     certname = gmatzpupnode.mserv.local
>>     server = gmatzpupmaster.mserv.local
>>     report = true
>>     classfile = $vardir/classes.txt
>>     localconfig = $vardir/localconfig
>>     graph = true
>>     pluginsync = true
>>
>>
>> Again, the fact is defined on the server in modules/ldap/lib/puppet/facter
>> . . .
>>
>> Thanks again
>>
>>
>>
>> On Fri, Jul 29, 2011 at 11:48 AM, Guy Matz <gm...@matz.org> wrote:
>>
>>> No!!!  facter -p does *not* show my facts . . .  what does that mean!?
>>>
>>> thank *you*!
>>>
>>>
>>> On Fri, Jul 29, 2011 at 11:42 AM, Nan Liu <n...@puppetlabs.com> wrote:
>>>
>>>> On Fri, Jul 29, 2011 at 11:38 AM, Guy Matz <gm...@matz.org> wrote:
>>>> > yeah, I got that set . . .  yeah, I should have mentioned that the
>>>> facts do
>>>> > get downloaded on the client to $vardir/lib/puppet/facter . . .  but
>>>> still
>>>> > the facts are not available!
>>>>
>>>> If you run facter -p on the client side does it load the custom fact?
>>>> If it's loading the fact successfully on the agent, is this fact
>>>> uploaded to the masters $vardir/yaml/facts directory?
>>>>
>>>> Thanks,
>>>>
>>>> Nan
>>>>
>>>> --
>>>> 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.
>



-- 
Nigel Kersten
Product Manager, Puppet Labs

*Join us for **PuppetConf *
<http://www.bit.ly/puppetconfsig>
Sept 22/23 Portland, Oregon, USA.
*
*

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