Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manifests/globals.pp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
},
'Suse' => $::operatingsystem ? {
'SLES' => $::operatingsystemrelease ? {
/11\.[0-4]/ => '91',
/11\.[0-3]/ => '91',
/11\.4/ => '94',
/12\.0/ => '93',
/12\.[1-2]/ => '94',
default => '96',
Expand Down
6 changes: 6 additions & 0 deletions spec/acceptance/z_alternative_pgdata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
end

describe 'postgresql::server', unless: UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
before(:each) do
if fact('osfamily') == 'Suse'
skip "These test's currently do not work on SLES/Suse modules"
end
end

it 'on an alternative pgdata location' do
pp = <<-MAIFEST
#file { '/var/lib/pgsql': ensure => directory, } ->
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
configure_type_defaults_on(hosts)
install_ca_certs unless pe_install?

UNSUPPORTED_PLATFORMS = ['AIX', 'windows', 'Solaris', 'Suse'].freeze
UNSUPPORTED_PLATFORMS = ['AIX', 'windows', 'Solaris'].freeze

install_bolt_on(hosts) unless pe_install?
install_module_on(hosts)
Expand Down