We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57f4260 commit a4a7bc6Copy full SHA for a4a7bc6
manifests/config.pp
@@ -6,7 +6,7 @@
6
$type = 'authoritative'
7
) {
8
9
- if $value == '' and ! ($setting in [ 'gmysql-dnssec', 'only-notify' ]) { fail("Value can't be empty.") }
+ if $value == '' and ! ($setting in [ 'gmysql-dnssec', 'only-notify' ]) { fail("Value for ${setting} can't be empty.") }
10
if $setting == 'gmysql-dnssec' { $line = $setting }
11
else { $line = "${setting}=${value}" }
12
spec/defines/powerdns_config_spec.rb
@@ -99,7 +99,7 @@
99
end
100
101
it 'fails' do
102
- expect { subject.call } .to raise_error(/Value can't be empty./)
+ expect { subject.call } .to raise_error(/Value for empty can't be empty./)
103
104
105
0 commit comments