Skip to content

Commit

Permalink
- Replace deprecated 'hiera_hash' to 'lookup'.
Browse files Browse the repository at this point in the history
- Update minimum puppet version required is set to 4.7.0.
  • Loading branch information
rehanone committed Jun 11, 2017
1 parent 29d7f0e commit cc70d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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": }
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.0.0 < 5.0.0"
"version_requirement": ">= 4.7.0 < 5.0.0"
}
],
"dependencies": [
Expand Down

0 comments on commit cc70d32

Please sign in to comment.