Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## input
- class transparant_inheritance {
- $inherit = "abc"
- include inherit_class
- inherit_class::proper_test { "dummy value":; }
- }
- class inherit_class {
- search $inherit
- include test
- define proper_test () {
- test::def { "$name":; }
- }
- }
- class abc::test {
- define def () {
- notify { "This is abc.":; }
- }
- }
- ##output
- err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource type test::def at /srv/puppet/test/env/transparant_inheritance/manifests/init.pp:16 on node etch
- notice: Using cached catalog
Add Comment
Please, Sign In to add comment