summaryrefslogtreecommitdiffstats
path: root/examples/code/allatonce
diff options
context:
space:
mode:
Diffstat (limited to 'examples/code/allatonce')
-rw-r--r--examples/code/allatonce13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/code/allatonce b/examples/code/allatonce
new file mode 100644
index 000000000..2857b9b62
--- /dev/null
+++ b/examples/code/allatonce
@@ -0,0 +1,13 @@
+# $Id$
+
+define thingie {
+ file { "/tmp/classtest": create => true, mode => 755 }
+ #testing {}
+}
+
+class testing {
+ thingie { "componentname": }
+}
+
+#component {}
+testing { "testingname": }