Report abuse

test.pp

1
2
3
4
5
6
7
8
9
10
11
class a {
        $foo = 10
}

class b inherits a {
        $foo = 20

        notice($foo)
}

include b

run

1
2
% puppet test.pp
notice: Scope(Class[b]): 20