#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:  Needs more info
    Patch:  None                  |   Complexity:  Unknown        
----------------------------------+-----------------------------------------
Comment (by shadoi):

 Ok a little more info, I apparently wasn't calling the define correctly.
 After fixing that it correctly autoloads the file, but it's still unable
 to find the resource:

 {{{
 Apr 10 15:19:24 bdb-debvm1 puppetmasterd[2930]: importing
 '/etc/puppet/modules/blah/manifests/thing.pp'
 Apr 10 15:19:24 bdb-debvm1 puppetmasterd[2930]: Autoloaded file
 blah/thing.pp from module blah
 Apr 10 15:19:24 bdb-debvm1 puppetmasterd[2930]: Could not find resource
 type blah::thing at /etc/puppet/manifests/classes/base.pp:20 on node bdb-
 debvm1
 }}}

-- 
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1184#comment:8>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to