Issue #4771 has been reported by Ben -.
----------------------------------------
Bug #4771: import of manifests with the same name only happens once
http://projects.puppetlabs.com/issues/4771
Author: Ben -
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected version: 2.6.1
Keywords:
Branch:
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.