summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets/failmissingexecpath.pp
blob: 3f43be325b5798828ebf19d8dccd33fef96c0f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
define distloc(path) {
    file { "/tmp/exectesting1":
        create => file
    }
    exec { "touch $path":
        subscribe => file["/tmp/exectesting1"],
        refreshonly => true
    }
}

distloc {
    path => "/tmp/execdisttesting",
}