On 27 August 2013 20:44, Andy Parker <[email protected]> wrote:

> On Tue, Aug 27, 2013 at 10:21 AM, Jeff McCune <[email protected]> wrote:
>
>> If by "load everything" we're talking about something equivalent to
>> include <modulepath>/**/*.pp then that's silly and should be avoided.  It
>> would be a big step in the wrong direction, taking away control from the
>> end user rather than giving them more control over the system.
>>
>> Markus suggested explicit loading.  Explicit loading is a much better
>> approach.  It's more efficient, it's well understood by everyone, and it
>> gives the end user explicit control over the behavior of the system.  It
>> comes at the cost of a bigger impact to all of our users, but that's OK.
>>  Puppet 4 shouldn't be that far off and we likely can make this behavior
>> gated on a feature flag for Puppet 3.
>>
>>
> Explicit loading would be another option. That would say that we get rid
> of the manifest autoloader and require that everyone uses the import
> keyword. That might be a good middle ground.
>
>
In that case it would be good if include/require was import+include/require
so you don't constantly have to type both. Then import would only really be
needed when using defined types.

-- 
Erik Dalén

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to