summaryrefslogtreecommitdiffstats
path: root/test/data/snippets/classheirarchy.pp
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/snippets/classheirarchy.pp')
-rw-r--r--test/data/snippets/classheirarchy.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/data/snippets/classheirarchy.pp b/test/data/snippets/classheirarchy.pp
new file mode 100644
index 000000000..36619d8b9
--- /dev/null
+++ b/test/data/snippets/classheirarchy.pp
@@ -0,0 +1,15 @@
+# $Id$
+
+class base {
+ file { "/tmp/classheir1": ensure => file, mode => 755 }
+}
+
+class sub1 inherits base {
+ file { "/tmp/classheir2": ensure => file, mode => 755 }
+}
+
+class sub2 inherits base {
+ file { "/tmp/classheir3": ensure => file, mode => 755 }
+}
+
+include sub1, sub2