Brad wrote:
> On Jun 4, 8:27 pm, Brad <[email protected]> wrote:
>> I'm working on a "real" fact by following these steps:
>>    http://reductivelabs.com/trac/puppet/wiki/AddingFacts
>>
>> I verified that the custom fact works when run locally on the server.
>> On the client when I run:
>>    puppetd --server hostname --test --factsync
>>
>> I see the custom fact being retrieved and stored in /var/lib/puppet/
>> facts on the client. But the custom fact does not seem to run and the
>> value is not sent to the server.
> 
> Ok, it looks like that link above is old information. It would be nice
> if that was mentioned at the *top* of that text rather than the
> bottom. I followed this instead: 
> http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
> 
> And everything is works as expected.

The page does say - three lines down from the top:

"You can add new facts by writing a snippet of ruby code. Puppet uses
the Plugins InModules approach to distribute these facts to your hosts."

But yes it was a little confusing.  I've edited the page to make it
easier to understand.  Please let me know if that has helped.

The wiki is also open to be edited.  Please feel free to create a login
and update the documentation if you would prefer.

Regards

James Turnbull

-- 
Author of:
* Pro Linux Systems Administration
(http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet
(http://tinyurl.com/pupbook)
* Pro Nagios 2.0
(http://tinyurl.com/pronagios)
* Hardening Linux
(http://tinyurl.com/hardeninglinux)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to