Issue #4771 has been updated by James Turnbull.

Status changed from Ready for Checkin to Closed

Pushed in commit:"fc3f4ecca91340777c483bc811f51d2e0c9c8b32" in branch 2.6.x
----------------------------------------
Bug #4771: import of manifests with the same name only happens once
http://projects.puppetlabs.com/issues/4771

Author: Ben -
Status: Closed
Priority: Normal
Assignee: Paul Berry
Category: plumbing
Target version: 2.6.2
Affected version: 2.6.0
Keywords: 
Branch: http://github.com/stereotype441/puppet/tree/ticket/2.6.x/4771


After upgrading from 0.25.5 to 2.6.1 I found my apache modules class was 
missing.  

Looking at the master debug output the apache/modules.pp never gets imported.  
Renaming apache/modules.pp to apache/apache-modules.pp works around the problem.

file structure:
    |-- manifests
    |   |-- defaults.pp
    |   |-- modules.pp
    |   |-- site.pp
    |   |-- nodes
    |   `-- node-defaults
    `-- modules
        |-- apache
            |-- files
            |-- lib
            |   |-- facter
            |   `-- puppet
            |-- manifests
            |   |-- modules.pp
            |   |-- awstats.pp
            |   |-- defines
            |   |   |-- empty.pp
            |   |   |-- module.pp
            |   |   `-- vhost.pp
            |   `-- init.pp
            `-- templates

site.pp:
    import "defaults.pp"
    import "modules.pp"
    import "node-defaults/*.pp"
    import "nodes/*.pp"

modules.pp:
    import "apache"

apache/init.pp:
    import "defines/*.pp"
    import "modules.pp"
    import "awstats.pp"
    class apache {}


-- 
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