fb82509becd6027825ac7f51b957f3e589c06801
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / manifests / client.pp
1 # Class: postgresql::client
2 #
3 #   This class installs postgresql client software.
4 #
5 #   *Note* don't forget to make sure to add any necessary yum or apt
6 #   repositories if specifying a custom version.
7 #
8 # Parameters:
9 #   [*package_name*]  - The name of the postgresql client package.
10 #   [*ensure*] - the ensure parameter passed to the postgresql client package resource
11 # Actions:
12 #
13 # Requires:
14 #
15 # Sample Usage:
16 #
17 class postgresql::client (
18   $package_name   = $postgresql::params::client_package_name,
19   $package_ensure = 'present'
20 ) inherits postgresql::params {
21
22   package { 'postgresql-client':
23     ensure  => $package_ensure,
24     name    => $package_name,
25     tag     => 'postgresql',
26   }
27
28 }