On Thu, Nov 15, 2012 at 1:19 PM, Daniel Pittman <[email protected]>wrote:

> On Thu, Nov 15, 2012 at 4:13 PM, Andy Parker <[email protected]> wrote:
> > On Thu, Nov 15, 2012 at 12:50 PM, Daniel Pittman <[email protected]>
> > wrote:
> >>
> >> At least `puppet resource` and `apply` probably depend on the same
> >> run_mode vs LOAD_PATH thing, because they interact directly with the
> >> type and provider system.  Ditto the resource face.
> >>
> >
> > I just looked into the code and neither one of those looks like they try
> to
> > change run_mode, which means they would just run with the default "user"
> > settings. This should continue to "just work" with the proposed change.
>
> Oh, good.  I must have misunderstood something in the proposal - I
> thought that defaults would be based on application, now, so they
> would no longer see the same module path as the agent.  Glad to be
> mistaken, and thanks for correcting me.
>
>
You are right that they are based on application in the proposal, but the
inheritance for sections would be [<application>] inherits from [user]
inherits from [main] except for agent and master, which would continue to
inherit directly from [main]. With that inheritance and no changes on the
part of a user of puppet all of the applications should continue to get the
same settings they got before, except in the cases where they try setting
the run_mode in the application, in which case there are a few differences
related to the LOAD_PATH.

I'll point out now that until
http://projects.puppetlabs.com/issues/15770is resolved, there is a
possible collision between environment and
application.


> --
> Daniel Pittman
> ⎋ Puppet Labs Developer – http://puppetlabs.com
> ♲ Made with 100 percent post-consumer electrons
>
> --
> 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.
>
>

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