Sha256: d146fcd1c653342dbbe534ea57819e67d0798b4b2f1e8b92284ae08efa47737e

Contents?: true

Size: 752 Bytes

Versions: 7

Compression:

Stored size: 752 Bytes

Contents

require 'spec_helper_acceptance'

describe 'server plperl:' do
  after :all do
    # Cleanup after tests have ran
    pp = <<-EOS.unindent
      class { 'postgresql::server': ensure => absent }
      class { 'postgresql::server::plperl': package_ensure => purged }
    EOS

    apply_manifest(pp, :catch_failures => true)
  end

  it 'test loading class with no parameters' do
    pending('no support for plperl with default version on centos 5',
      :if => (fact('osfamily') == 'RedHat' and fact('lsbmajdistrelease') == '5'))
    pp = <<-EOS.unindent
      class { 'postgresql::server': }
      class { 'postgresql::server::plperl': }
    EOS

    apply_manifest(pp, :catch_failures => true)
    apply_manifest(pp, :catch_changes => true)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.6.0 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.5.2 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.5.1 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.5.0 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.4.1 modules/postgresql/spec/acceptance/server/plperl_spec.rb
freighthop-0.4.0 modules/postgresql/spec/acceptance/server/plperl_spec.rb