We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2fe8ed commit 1dc0660Copy full SHA for 1dc0660
2 files changed
manifests/server/read_database.pp
@@ -164,5 +164,9 @@
164
ensure => absent,
165
}
166
167
+ } else {
168
+ file { "${confdir}/read_database.ini":
169
+ ensure => absent,
170
+ }
171
172
spec/unit/classes/server/read_database_ini_spec.rb
@@ -15,7 +15,7 @@
15
it { is_expected.to contain_class('puppetdb::server::read_database') }
16
17
describe 'when using default values' do
18
- it { is_expected.to contain_file('/etc/puppetlabs/puppetdb/conf.d/read_database.ini') }
+ it { is_expected.to contain_file('/etc/puppetlabs/puppetdb/conf.d/read_database.ini').with('ensure' => 'absent') }
19
end
20
21
describe 'when using minimum working values' do
0 commit comments