On Fri, May 25, 2012 at 6:17 AM, mparrad <marco.parr...@gmail.com> wrote:

> Hi Jeff
>
>
> On Thursday, May 24, 2012 5:50:03 PM UTC-4, Jeff McCune wrote:
>>
>> On Thu, May 24, 2012 at 1:33 PM, Marco Parra D. 
>> <marco.parr...@gmail.com>wrote:
>>
>>> But my question was can I change the path where puppet copi the custom
>>> facts?
>>>
>>
>> Yes, this is the plugindest puppet agent option.
>>
>> What is it currently set to?  You can check using puppet agent
>> --configprint plugindest
>>
>
> Here is the output for this:
>
> puppet agent --configprint plugindest
>

I think you forgot to copy and paste the output.

In general there are a couple of key points.

First, custom facts distributed via Puppet pluginsync are always available
in your manifests.

Second, if you distribute your custom facts via pluginsync you should use
facter --puppet to load them with Facter.  Keep in mind Facter and Puppet
are two separate applications which is why --puppet is necessary.

Third, Facter (and Puppet) load things from multiple places.  This is how
our plugin system works.  With regard to Facter the libraries that come
bundled in the package are installed to C:\Program Files (x86)\Puppet
Labs\Puppet\facter\lib.  You shouldn't ever need to tell Facter to load
things from this path since it will load from here automatically.  Also,
you shouldn't ever put your own custom facts in this location since the
package may overwrite the directory on an upgrade.

Hope this helps.

-Jeff

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