From bf701dcb819bf06449557b2ef6b2adf207a78586 Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 15 Sep 2005 20:16:21 +0000 Subject: adding extra checks to make sure networking is secure, and refactoring a heckuva lot of test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@671 980ebf18-57e1-0310-9a29-db15c13687c0 --- examples/code/snippets/failmissingexecpath.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/code/snippets/failmissingexecpath.pp (limited to 'examples/code/snippets/failmissingexecpath.pp') diff --git a/examples/code/snippets/failmissingexecpath.pp b/examples/code/snippets/failmissingexecpath.pp new file mode 100644 index 000000000..3f43be325 --- /dev/null +++ b/examples/code/snippets/failmissingexecpath.pp @@ -0,0 +1,13 @@ +define distloc(path) { + file { "/tmp/exectesting1": + create => file + } + exec { "touch $path": + subscribe => file["/tmp/exectesting1"], + refreshonly => true + } +} + +distloc { + path => "/tmp/execdisttesting", +} -- cgit