Skip to content
Snippets Groups Projects
Unverified Commit 1e59bc02 authored by Max Adamo's avatar Max Adamo
Browse files

changed error message

parent b217ceca
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ function fw_builder::fw_builder() {
#
if ($fw_conf['custom_ipset'][$name]['puppetdb']) {
$pdb_hash = $fw_conf['custom_ipset'][$name]['puppetdb']
if $pdb_hash !~ Array[Hash] { fail("${pdb_hash} must be a hash") }
if $pdb_hash !~ Array[Hash] { fail("${pdb_hash} must be an Array of Hashes") }
# check if "env" was defined and it contains proper values
$pdb_filter = join(
$pdb_hash.map |$hash| {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment