summaryrefslogtreecommitdiff
path: root/spec/fixtures/test/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/test/manifests')
-rw-r--r--spec/fixtures/test/manifests/validate_legacy.pp18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/fixtures/test/manifests/validate_legacy.pp b/spec/fixtures/test/manifests/validate_legacy.pp
deleted file mode 100644
index 706df88..0000000
--- a/spec/fixtures/test/manifests/validate_legacy.pp
+++ /dev/null
@@ -1,18 +0,0 @@
-# Class to test stdlib validate_legacy function
-
-class test::validate_legacy(
- $type,
- $prev_validation,
- $value,
- $previous_arg1,
- $previous_arg2 = undef,
- ) {
-
- if $previous_arg2 == undef {
- validate_legacy( $type, $prev_validation, $value, $previous_arg1 )
- } else {
- validate_legacy( $type, $prev_validation, $value, $previous_arg1, $previous_arg2 )
- }
- notice("Success")
-
-}