summaryrefslogtreecommitdiffstats
path: root/examples/code/failers/badcompparam
diff options
context:
space:
mode:
Diffstat (limited to 'examples/code/failers/badcompparam')
-rw-r--r--examples/code/failers/badcompparam9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/code/failers/badcompparam b/examples/code/failers/badcompparam
new file mode 100644
index 000000000..283d54014
--- /dev/null
+++ b/examples/code/failers/badcompparam
@@ -0,0 +1,9 @@
+define comp(arg1) {
+ file { "/etc/passwd":
+ mode => 644
+ }
+}
+
+comp {
+ fakearg => "yay"
+}