summaryrefslogtreecommitdiff
path: root/examples/code/snippets/aliastest.pp
blob: 2a8fc9cb9d626a73b7009504e06dc233fbfa7be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
file { "a file":
    path => "/tmp/aliastest",
    ensure => file
}

file { "another":
    path => "/tmp/aliastest2",
    ensure => file,
    require => file["a file"]
}

file { "a third":
    path => "/tmp/aliastest3",
    ensure => file,
    require => file["/tmp/aliastest"]
}