On Mon, Jul 5, 2010 at 4:00 PM, Peter Meier <peter.me...@immerda.ch> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>>> In this module, if you use the following orginization puppet will
>>> autoload everything:
>>>
>>> manifests/init.pp contains class apache { }
>>> manifests/disable.pp contains class apache::disable inherits apache {}
>>> manifests/virtualhost.pp contains define apache::virtualhost(){}
>>
>> Really? Are you serious???. Why is puppet dictating to me that it will
>> only autoload classes if I have a class named module::disable,
>> module::virtualhost? Who's idea was that and why? This seems awfully
>> arbitrary.
>
> on what other basis should puppet then autoload classes/defines?

Let me try this again.

Your saying that unless my module contains a class specifically called
$module::disable.pp (and therefore a filed called 'disable.pp' in
manifests), then puppet will not autoload anything? I just got it to
work without such a class in a module. All I had to do was throw a
bunch of files in $module/manifests/, include $module::something and
it worked.

Where is this documented?

Doug.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to