On Wed, May 2, 2012 at 11:10 AM, Nigel Kersten <ni...@puppetlabs.com> wrote:

>
>
> On Wed, May 2, 2012 at 4:19 AM, R.I.Pienaar <r...@devco.net> wrote:
>
>>
>>
>> ----- Original Message -----
>> > From: "John Kennedy" <skeb...@gmail.com>
>> > To: puppet-users@googlegroups.com
>> > Sent: Wednesday, May 2, 2012 11:59:49 AM
>> > Subject: [Puppet Users] Using fact to determine node environment
>> >
>> > We have a custom fact that we wrote to determine which (business)
>> > environment a specific server belongs to (test, stage, production).
>> > We want to set up puppet environments (again, test, stage, and
>> > production).
>> > Is it possible to use our custom fact to set which environment a node
>> > belongs to?
>>
>> your only option at present is to write out puppet.conf using a template
>> with your fact
>>
>>
> Unless something broke it recently, I ran for years with a fact that
> returned ":environment" and didn't set it in puppet.conf at all.
>
>
Nigel,
Thanks for the response. How can I use that fact to set the environment of
a node?
John

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