diff --git a/manifests/init.pp b/manifests/init.pp index f2f2836..d35066e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -33,7 +33,7 @@ String $service_user = $cfssl::params::service_user, Boolean $firewall_manage = $cfssl::params::firewall_manage, Array[String] $allowed_networks = $cfssl::params::allowed_networks, - Hash $requests = hiera_hash('cfssl::requests', {}), + Hash $requests = lookup('cfssl::requests', Hash, 'hash', {}), ) inherits cfssl::params { anchor { "${module_name}::begin": } diff --git a/metadata.json b/metadata.json index 09fc1a4..627c596 100644 --- a/metadata.json +++ b/metadata.json @@ -57,7 +57,7 @@ "requirements": [ { "name": "puppet", - "version_requirement": ">= 4.0.0 < 5.0.0" + "version_requirement": ">= 4.7.0 < 5.0.0" } ], "dependencies": [