On Tue, Nov 9, 2010 at 8:40 PM, Edward Bailey
wrote:
> Sure I can update the wiki - I hope I can save some else time the next time
> this come up.
>
> I like your suggestion, but I cant quite visualize how I could write a fact
> that will parse any files in /etc/fact.s and create separate facts fr
Sure I can update the wiki - I hope I can save some else time the next time
this come up.
I like your suggestion, but I cant quite visualize how I could write a fact
that will parse any files in /etc/fact.s and create separate facts from the
output. Would I use some sort of loop or will facter par
server means the hardware that the puppet client manages
On Tue, Nov 9, 2010 at 9:06 PM, Patrick wrote:
>
> On Nov 9, 2010, at 6:01 PM, Edward Bailey wrote:
>
> The purpose behind setting up the fact this way is that I thought it would
> be an easy way to populate servers with extra metadata wi
On Tue, Nov 9, 2010 at 6:01 PM, Edward Bailey
wrote:
> The purpose behind setting up the fact this way is that I thought it would
> be an easy way to populate servers with extra metadata without having to
> drop a file and then a fact with some shell code on every server.
>
> For example, we have
On Nov 9, 2010, at 6:01 PM, Edward Bailey wrote:
> The purpose behind setting up the fact this way is that I thought it would be
> an easy way to populate servers with extra metadata without having to drop a
> file and then a fact with some shell code on every server.
>
> For example, we have
The purpose behind setting up the fact this way is that I thought it would
be an easy way to populate servers with extra metadata without having to
drop a file and then a fact with some shell code on every server.
For example, we have a number of servers that simply cannot be identified as
being p
On Tue, Nov 9, 2010 at 3:45 PM, wrote:
> ok - that makes sense, but why does facter have a feature
> http://docs.puppetlabs.com/guides/faq.html#can-i-access-environmental-variables-with-facter
> where you can expose environmental variables as facts if puppet will not
> recognize the facts? Is the
ok - that makes sense, but why does facter have a feature
http://docs.puppetlabs.com/guides/faq.html#can-i-access-environmental-variables-with-facter
where you can expose environmental variables as facts if puppet will not
recognize the facts? Is the issue because of the old version of facter
Hi Ed,
You are correct that the environment will not get imported into puppet.
When you restart the puppet daemon, you are missing your custom fact because
daemon will run as its own process with its own environment, so just
exporting the variable will only effect your current running environment