summaryrefslogtreecommitdiffstats
path: root/test/data/snippets/failmissingexecpath.pp
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/snippets/failmissingexecpath.pp')
-rw-r--r--test/data/snippets/failmissingexecpath.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/data/snippets/failmissingexecpath.pp b/test/data/snippets/failmissingexecpath.pp
new file mode 100644
index 000000000..aae1a09fa
--- /dev/null
+++ b/test/data/snippets/failmissingexecpath.pp
@@ -0,0 +1,13 @@
+define distloc($path) {
+ file { "/tmp/exectesting1":
+ ensure => file
+ }
+ exec { "touch $path":
+ subscribe => File["/tmp/exectesting1"],
+ refreshonly => true
+ }
+}
+
+distloc { yay:
+ path => "/tmp/execdisttesting",
+}