Sha256: de59a6883da6b8fbb4906128d7afdbec6e7635b8d45634aaf0c893a7aebd1d69

Contents?: true

Size: 731 Bytes

Versions: 7

Compression:

Stored size: 731 Bytes

Contents

require 'spec_helper_acceptance'

describe 'postgresql::server::contrib:' do
  after :all do
    # Cleanup after tests have ran, remove both contrib and server as contrib
    # pulls in the server based packages.
    pp = <<-EOS.unindent
      class { 'postgresql::server':
        ensure => absent,
      }
      class { 'postgresql::server::contrib':
        package_ensure => purged,
      }
    EOS

    apply_manifest(pp, :catch_failures => true)
  end

  it 'test loading class with no parameters' do
    pp = <<-EOS.unindent
      class { 'postgresql::server': }
      class { 'postgresql::server::contrib': }
    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/contrib_spec.rb
freighthop-0.6.0 modules/postgresql/spec/acceptance/contrib_spec.rb
freighthop-0.5.2 modules/postgresql/spec/acceptance/contrib_spec.rb
freighthop-0.5.1 modules/postgresql/spec/acceptance/contrib_spec.rb
freighthop-0.5.0 modules/postgresql/spec/acceptance/contrib_spec.rb
freighthop-0.4.1 modules/postgresql/spec/acceptance/contrib_spec.rb
freighthop-0.4.0 modules/postgresql/spec/acceptance/contrib_spec.rb