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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
    }
  }