diff options
author | Hunter Haugen <hunter@puppet.com> | 2016-09-07 08:56:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-07 08:56:29 -0700 |
commit | dce8d7b194e3f6d9bb24e076c6e835aeb671099a (patch) | |
tree | e223708e8404e6e52d4c2fafef3322bfea7f2ee7 /spec/fixtures | |
parent | d350ee49ee318353e9aa596c254ffbc40eba5b8d (diff) | |
parent | f1edd2715a755573d7578839a3efe8473b79b5c5 (diff) |
Merge pull request #649 from DavidS/modules-3737
(MODULES-3737) refactor validate_legacy and tests
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/test/manifests/validate_legacy.pp | 18 |
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") - -} |