Sha256: 189687bc1f3987b29a11aa6bca9e65422d0408c1fb36bb6726c394d4eb01a944

Contents?: true

Size: 773 Bytes

Versions: 14

Compression:

Stored size: 773 Bytes

Contents

# Install client cli tool. See README.md for more details.
class postgresql::client (
  $package_name   = $postgresql::params::client_package_name,
  $package_ensure = 'present'
) inherits postgresql::params {
  validate_string($package_name)

  package { 'postgresql-client':
    ensure  => $package_ensure,
    name    => $package_name,
    tag     => 'postgresql',
  }

  $file_ensure = $package_ensure ? {
    'present' => 'file',
    true      => 'file',
    'absent'  => 'absent',
    false     => 'absent',
    default   => 'file',
  }
  file { "/usr/local/bin/validate_postgresql_connection.sh":
    ensure => $file_ensure,
    source => "puppet:///modules/postgresql/validate_postgresql_connection.sh",
    owner  => 0,
    group  => 0,
    mode   => 0755,
  }

}

Version data entries

14 entries across 14 versions & 1 rubygems

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