summaryrefslogtreecommitdiffstats
path: root/examples/nodes
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-07-29 00:46:11 -0500
committerLuke Kanies <luke@madstop.com>2008-07-29 00:46:11 -0500
commit40375a8fc34dbd85d87f507ba72c7394b25b7271 (patch)
treeefd5a93980b042b73322bd31e6fdb41203d07576 /examples/nodes
parent93eeff59d807261ed154cc104e318ae604602430 (diff)
parent8f5800f0608dff46407cb5f23ee73f314fe051e8 (diff)
Merge branch '0.24.x' into merging
Conflicts: test/ral/type/filesources.rb
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
+}