diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-15 20:16:21 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-15 20:16:21 +0000 |
commit | bf701dcb819bf06449557b2ef6b2adf207a78586 (patch) | |
tree | 7f6ed24c4f0653e9b8bf49494d1414dab9f3d5de /examples/code/snippets/failmissingexecpath.pp | |
parent | 0c97bb13d4b1aefda9768c000c542b3ddfc92b04 (diff) | |
download | puppet-bf701dcb819bf06449557b2ef6b2adf207a78586.tar.gz puppet-bf701dcb819bf06449557b2ef6b2adf207a78586.tar.xz puppet-bf701dcb819bf06449557b2ef6b2adf207a78586.zip |
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
Diffstat (limited to 'examples/code/snippets/failmissingexecpath.pp')
-rw-r--r-- | examples/code/snippets/failmissingexecpath.pp | 13 |
1 files changed, 13 insertions, 0 deletions
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", +} |