Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
1
-
2014-08-20
Description
dalen commented on PUP-121 with a problem that he uncovered. It looks like class inheritance is encountering problems in the future parser.
When I'm testing master atm with future parser:
class bar { notice("This is class $name") }
class foo::bar { notice("This is class $name") }
class foo inherits bar { notice("This is class $name") }
include foo
$ puppet apply --parser=future test.pp
Notice: Scope(Class[Foo::Bar]): This is class foo::bar
Notice: Scope(Class[Foo]): This is class foo
Error: Could not find class foo on node valentina.local
Error: Could not find class foo on node valentina.local
So, you get both two of the three classes and then it complains it couldn't find a third class (that it already included)