summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets/dirchmod
blob: 0a8268fa8ca3d2c1181c107ecb16da1957cc2602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id$

file {
    "/tmp/dirchmodtesta": create => directory;
    "/tmp/dirchmodtesta/testing": create => true
}

file { "/tmp/dirchmodtesta":
    mode => 644, recurse => true
}

file {
    "/tmp/dirchmodtestb": create => directory;
    "/tmp/dirchmodtestb/testing": create => true
}

file { "/tmp/dirchmodtestb":
    mode => 600, recurse => true
}