On Mon, Oct 26, 2009 at 3:07 PM, Markus Roberts
<[email protected]> wrote:
> I'm not sure I follow how setting the environment with a fact works (the
> nuts and bolts that is; I understand the idea in the abstract).  Could
> someone elucidate?

You don't define it in the conf file, and you simply create a fact
that provides "environment"

Facter.add("environment") do
  setcode do
    "foobar"
  end
end




>
> -- Markus
>
>
> >
>



-- 
nigel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to