diff --git a/manifests/init.pp b/manifests/init.pp index 20023cb..cffc796 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -240,8 +240,8 @@ # Determine hiera version case $hiera_version { - '5': { if $hierarchy !~ Hiera::Hiera5_hierarchy { - fail{"${hierarchy} should be an array of hash":} + '5': { if ($hierarchy !~ Hiera::Hiera5_hierarchy) { + fail('${hierarchy} should be an array of hash') } else { $hiera_template = epp('hiera/hiera.yaml.epp',