#1184: Autoloading definitions doesn't work, explicit import is required
---------------------------------+------------------------------------------
Reporter: shadoi | Owner: community
Type: defect | Status: new
Priority: normal | Component: library
Version: 0.24.4 | Severity: normal
Keywords: definition, autoload | Stage: Unreviewed
Patch: None | Complexity: Unknown
---------------------------------+------------------------------------------
If you have a definition in a module like so:
{{{
modules/blah/manifests/thing.pp
}}}
That contains:
{{{
define blah::thing () { ... }
}}}
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.
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1184>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---