Issue #1184 has been updated by Justin Honold.

For the example host I used, its init.pp has an "import '*'" and there is a 
foo.pp in the same directory with a Class foo.
----------------------------------------
Bug #1184: Autoloading definitions doesn't work, explicit import is required
https://projects.puppetlabs.com/issues/1184

Author: Blake Barnett
Status: Closed
Priority: Normal
Assignee: Luke Kanies
Category: 
Target version: 
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


If you have a definition in a module like so:
<pre>
modules/blah/manifests/thing.pp
</pre>

That contains:
<pre>
define blah::thing () { ... }
</pre>

It won't get loaded when the module is.  Even moving the contents of thing.pp 
into the init.pp for the module does not work.  I haven't tested this on 
anything pre-0.24.x.  I haven't been able to track it down in the code.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to