#1184: Autoloading definitions doesn't work, explicit import is required
----------------------------------+-----------------------------------------
Reporter: shadoi | Owner: community
Type: defect | Status: new
Priority: normal | Milestone:
Component: library | Version: 0.24.4
Severity: normal | Resolution:
Keywords: definition, autoload | Stage: Unreviewed
Patch: None | Complexity: Unknown
----------------------------------+-----------------------------------------
Comment (by luke):
I can't reproduce this.
Given this module:
{{{
define mymod::mydefine {
notify { "main testing in $name": }
}
}}}
and this code:
{{{
mymod::mydefine { yay: }
}}}
I get this output:
{{{
[EMAIL PROTECTED](0) $ test.pp --modulepath /Users/luke/.puppet/modules/main/
info: Loading fact test
info: Autoloaded module mymod
info: Autoloaded file mymod/mydefine from module mymod
notice: main testing in yay
[~]
[EMAIL PROTECTED](0) $
}}}
Anything more you can give me as a hint as to what the problem might be?
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1184#comment:3>
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
-~----------~----~----~----~------~----~------~--~---