blob: 09592ec8bfee92f74990e16abaf38758e20cfd24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
test_name "should allow param override"
manifest = %q{
class parent {
notify { 'msg':
message => parent,
}
}
class child inherits parent {
Notify['msg'] {message => 'child'}
}
include parent
include child
}
apply_manifest_on(agents, manifest) do
fail_test "parameter override didn't work" unless
stdout.include? "defined 'message' as 'child'"
end
|