Skip to content
Snippets Groups Projects
Verified Commit 2d612c81 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

use size instead of length (will have to change when going to Puppet 3)

parent 5c7a7f1b
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ define base::kerberos::krb5_conf ( ...@@ -206,7 +206,7 @@ define base::kerberos::krb5_conf (
} }
'custom': { 'custom': {
# Verify that the needed parameters are set. # Verify that the needed parameters are set.
if (length($kdcs) == 0) { if (size($kdcs) == 0) {
fail("when using a 'custom' environment you must define the kdc's") fail("when using a 'custom' environment you must define the kdc's")
} }
if ($master_kdc == undef) { if ($master_kdc == undef) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment