summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets/scopetest
blob: b00560372598b835853a2e228462d4ecb9bb647d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

$mode = 640

define thing {
    file { "/tmp/scopetest": create => true, mode => $mode }
}

class testing {
    $mode = 755
    thing {}
}

include testing