fixes postgresql::server:recovery acceptance tests
This commit is contained in:
parent
2514881d3d
commit
3e6a22d166
1 changed files with 10 additions and 10 deletions
|
@ -1,17 +1,17 @@
|
|||
require 'spec_helper_acceptance'
|
||||
|
||||
describe 'postgresql::server::recovery', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
|
||||
after(:all) do
|
||||
pp = <<-EOS.unindent
|
||||
file { '/tmp/recovery.conf':
|
||||
ensure => absent,
|
||||
}
|
||||
EOS
|
||||
|
||||
apply_manifest(pp, :catch_failures => true)
|
||||
end
|
||||
|
||||
describe 'should manage recovery' do
|
||||
after(:all) do
|
||||
pp = <<-EOS.unindent
|
||||
file { '/tmp/recovery.conf':
|
||||
ensure => absent,
|
||||
}
|
||||
EOS
|
||||
|
||||
apply_manifest(pp, :catch_failures => true)
|
||||
end
|
||||
|
||||
it 'adds conf file' do
|
||||
pp = <<-EOS.unindent
|
||||
class { 'postgresql::globals':
|
||||
|
|
Loading…
Reference in a new issue