On Jun 9, 2008, at 4:00 PM, Luke Kanies wrote:

>
> On Jun 9, 2008, at 3:31 PM, Ashley Penney wrote:
>
>> 1/ When the client starts and has no environment = set, it should
>> send no information on its environment to the server.  The server
>> should check if a client returns no information, and if so it should
>> set the clients environment to whatever it has set for environment =
>> under [puppetmasterd].
>
>> 2/ A client should never require knowledge of environments =.  If an
>> environment is set, it should send it to the server and the server
>> should parse its environments = list for a match.  If one is found,
>> proceed, if not, fail.
>
> This is more work than you think, unfortunately.
>
> This means that the default environment would need to become '' (the
> empty string) on the client (which we would normally translate to
> nil), and some valid value on the server, AFAICT.
>
> This effectively means that the puppet default environment is *always*
> nil, and users can set their own server-side default or whatever.

Would it make more sense to have a "Base" environment that's _always_  
used, and any specified environments would extend/inherit from it?   
(or replace it, if that's complicating it too much).

> I assume no one throwing out the +1's is volunteering to do this  
> work...

I wish.

-Blake

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