summaryrefslogtreecommitdiffstats
path: root/examples/code/failers
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-04 18:24:24 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-04 18:24:24 +0000
commit28cee40689440388994a4768bd301ae32c8ecc05 (patch)
treec865ab44f4c9247052cf83de16ffc8ebe8b15e54 /examples/code/failers
parente0e291332bd4676962a28c7b220ae5c5e9651c0a (diff)
downloadpuppet-28cee40689440388994a4768bd301ae32c8ecc05.tar.gz
puppet-28cee40689440388994a4768bd301ae32c8ecc05.tar.xz
puppet-28cee40689440388994a4768bd301ae32c8ecc05.zip
Merging the changes from the override-refactor branch. This is a significant rewrite of the parser, but it has little affect on the rest of the code tree.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1726 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'examples/code/failers')
-rw-r--r--examples/code/failers/badclassnoparam10
-rw-r--r--examples/code/failers/badclassparam10
-rw-r--r--examples/code/failers/badcompnoparam9
-rw-r--r--examples/code/failers/badcompparam9
-rw-r--r--examples/code/failers/badtypeparam3
-rw-r--r--examples/code/failers/noobjectrvalue1
6 files changed, 0 insertions, 42 deletions
diff --git a/examples/code/failers/badclassnoparam b/examples/code/failers/badclassnoparam
deleted file mode 100644
index a0397aacc..000000000
--- a/examples/code/failers/badclassnoparam
+++ /dev/null
@@ -1,10 +0,0 @@
-class comp() {
- file { "/etc/passwd":
- mode => 644
- }
-}
-
-# this argument is invalid, thus we should get a falure
-comp {
- fakearg => "yay"
-}
diff --git a/examples/code/failers/badclassparam b/examples/code/failers/badclassparam
deleted file mode 100644
index 4c9ff6199..000000000
--- a/examples/code/failers/badclassparam
+++ /dev/null
@@ -1,10 +0,0 @@
-class comp(arg1) {
- file { "/etc/passwd":
- mode => 644
- }
-}
-
-# i've specified an arg but it's an invalid one
-comp {
- fakearg => "yay"
-}
diff --git a/examples/code/failers/badcompnoparam b/examples/code/failers/badcompnoparam
deleted file mode 100644
index fd25c9445..000000000
--- a/examples/code/failers/badcompnoparam
+++ /dev/null
@@ -1,9 +0,0 @@
-define comp() {
- file { "/etc/passwd":
- mode => 644
- }
-}
-
-comp {
- fakearg => "yay"
-}
diff --git a/examples/code/failers/badcompparam b/examples/code/failers/badcompparam
deleted file mode 100644
index 346e64b25..000000000
--- a/examples/code/failers/badcompparam
+++ /dev/null
@@ -1,9 +0,0 @@
-define comp($arg1) {
- file { "/etc/passwd":
- mode => 644
- }
-}
-
-comp {
- fakearg => "yay"
-}
diff --git a/examples/code/failers/badtypeparam b/examples/code/failers/badtypeparam
deleted file mode 100644
index 4634f2052..000000000
--- a/examples/code/failers/badtypeparam
+++ /dev/null
@@ -1,3 +0,0 @@
-file { "/etc/passwd":
- fakeparam => 644
-}
diff --git a/examples/code/failers/noobjectrvalue b/examples/code/failers/noobjectrvalue
deleted file mode 100644
index ef6064740..000000000
--- a/examples/code/failers/noobjectrvalue
+++ /dev/null
@@ -1 +0,0 @@
-$variable = file { "/etc/passwd": owner => root }