Wrap text
Report abuse
test.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class a {
$foo = "a"
}
class b inherits a {
$foo = "b"
notice("class b: ${foo}")
}
class c inherits a {
notice("class c: ${foo}")
}
include c
include b
|
running a test
1
2
3
|
% puppet test.pp
notice: Scope(Class[c]): class c: a
notice: Scope(Class[b]): class b: b
|