Unverified Commit 536ba8a3 authored by Alan McGinlay's avatar Alan McGinlay Committed by GitHub
Browse files

Include parameter title in error output (#209)

parent e1fd8d5e
......@@ -34,7 +34,7 @@ define postfix::config (
if ($ensure == 'present') {
assert_type(Pattern[/^.+$/], $value) |$e, $a| {
fail '$value can not be empty if ensure = present'
fail "value for parameter: ${title} can not be empty if ensure = present"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment