From cc70d324e22e880e5df5b5050d8e08369159679e Mon Sep 17 00:00:00 2001 From: Rehan Mahmood Date: Sun, 11 Jun 2017 10:17:23 -0400 Subject: [PATCH] - Replace deprecated 'hiera_hash' to 'lookup'. - Update minimum puppet version required is set to 4.7.0. --- manifests/init.pp | 2 +- metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": [