Sha256: b9dee88eeee96067d4675ff3c9094b4bbe94fa2fa98157b110836f7273964604

Contents?: true

Size: 748 Bytes

Versions: 14

Compression:

Stored size: 748 Bytes

Contents

# PRIVATE CLASS: do not use directly
class postgresql::repo (
  $ensure  = $postgresql::params::ensure,
  $version = undef
) inherits postgresql::params {
  case $::osfamily {
    'RedHat', 'Linux': {
      if $version == undef {
        fail("The parameter 'version' for 'postgresql::repo' is undefined. You must always define it when osfamily == Redhat or Linux")
      }
      class { 'postgresql::repo::yum_postgresql_org': }
    }

    'Debian': {
      class { 'postgresql::repo::apt_postgresql_org': }
    }

    default: {
      fail("Unsupported managed repository for osfamily: ${::osfamily}, operatingsystem: ${::operatingsystem}, module ${module_name} currently only supports managing repos for osfamily RedHat and Debian")
    }
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/manifests/repo.pp
freighthop-0.6.0 modules/postgresql/manifests/repo.pp
freighthop-0.5.2 modules/postgresql/manifests/repo.pp
freighthop-0.5.1 modules/postgresql/manifests/repo.pp
freighthop-0.5.0 modules/postgresql/manifests/repo.pp
freighthop-0.4.1 modules/postgresql/manifests/repo.pp
freighthop-0.4.0 modules/postgresql/manifests/repo.pp
freighthop-0.3.3 modules/postgresql/manifests/repo.pp
freighthop-0.3.2 modules/postgresql/manifests/repo.pp
freighthop-0.3.1 modules/postgresql/manifests/repo.pp
freighthop-0.3.0 modules/postgresql/manifests/repo.pp
freighthop-0.2.1 modules/postgresql/manifests/repo.pp
freighthop-0.2.0 modules/postgresql/manifests/repo.pp
freighthop-0.1.0 modules/postgresql/manifests/repo.pp