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

>
> On Jun 9, 2008, at 6:19 PM, Blake Barnett wrote:
>> On Jun 9, 2008, at 4:00 PM, Luke Kanies wrote:
>>>
>>>
>>> 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).
>
>
> How would this be different from just having a default environment?
>

It's not really different.  I think it's just more of a convention  
that needs to be created.  When I think of a "development"  
environment, I think of code that I'm working on actively, and which  
will get pushed to staging/production eventually.  A bootstrap  
environment is something else entirely (and one that would work for  
those who don't use environments).  I just think if people thought of  
the default environment as the bootstrapping environment instead of  
one that they use for code life-cycle it would clarify things.

>
> Really, we (by which, I mean "someone else") could probably do most of
> what Ashley wants by just adding the specify/use distinction, and
> never allowing a nil environment.  The validation would only ever
> happen on the server in normal circumstances, so it doesn't really
> matter.
>
> This doesn't give the server the ability to set the default
> environment, but it does make bootstrapping easier.

If it's two separate features, then that makes it easier for someone  
to bite off a piece.

-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