Permalink
Browse files

Adding example script

Signed-off-by: Luke Kanies <luke@reductivelabs.com>
  • Loading branch information...
1 parent 0dfae12 commit be9195143e61dbce32d659db1907d86c0519c974 @lak lak committed Mar 9, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 ext/example.pp
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env puppet --verbose
+
+remote_resource { "file exists":
+ frequency => 1,
+ timeout => 30,
+ check => "/bin/ls /tmp/myfile"
+}
+
+notify { "File exists": require => Remote_resource["file exists"] }

0 comments on commit be91951

Please sign in to comment.