From 2d612c81a354536b3a7775f7eb9ca876d0aecf3d Mon Sep 17 00:00:00 2001 From: Adam Henry Lewenberg <adamhl@stanford.edu> Date: Sun, 25 Jun 2017 18:10:40 -0700 Subject: [PATCH] use size instead of length (will have to change when going to Puppet 3) --- manifests/kerberos/krb5_conf.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/kerberos/krb5_conf.pp b/manifests/kerberos/krb5_conf.pp index e634862..6cf0c45 100644 --- a/manifests/kerberos/krb5_conf.pp +++ b/manifests/kerberos/krb5_conf.pp @@ -206,7 +206,7 @@ define base::kerberos::krb5_conf ( } 'custom': { # 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") } if ($master_kdc == undef) { -- GitLab