summaryrefslogtreecommitdiffstats
path: root/examples/nodes
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-07-10 19:52:26 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-07-10 19:52:26 +1000
commit605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52 (patch)
treebfab41f07b972f61585ef2fcf454ad9fdef6c832 /examples/nodes
parentd25c2b282cc4cd703bba3d2457f93431098ddc85 (diff)
downloadpuppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.gz
puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.xz
puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.zip
Moved debian to conf and updated examples directory
Diffstat (limited to 'examples/nodes')
-rw-r--r--examples/nodes20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/nodes b/examples/nodes
new file mode 100644
index 000000000..42488e689
--- /dev/null
+++ b/examples/nodes
@@ -0,0 +1,20 @@
+# $Id$
+
+# define nodes
+
+#service.setpath("../examples/root/etc/init.d")
+
+Service {
+ path => "../examples/root/etc/init.d"
+}
+
+import "classing"
+
+sleepserver {
+ path => $operatingsystem ? {
+ sunos => "../examples/root/etc/configfile",
+ hpux => "../examples/other/etc/configfile",
+ default => "../examples/root/etc/configfile"
+ },
+ schedule => true
+}