Report abuse

input

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 { "$name":; }
  }
}

class abc::test {
  define test () {
    notify "This is abc."
  }
}

output

1
2
3
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource type test at /srv/puppet/test/env/transparant_inheritance/manifests/init.pp:14 on node etch
notice: Using cached catalog
err: Could not retrieve catalog; skipping run