adds installation
This commit is contained in:
@@ -1,13 +1,30 @@
|
||||
## postgresql_cd::params.pp
|
||||
# Module name: postgresql_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @param [string] pl_server_fqdn the fqdn of the postgresql server. Any other
|
||||
# system will be configured as client
|
||||
# @param [string] reqpackages_server the packages for the server
|
||||
# @param [string] reqpackages_client the packages for the client
|
||||
# @param [string] pkg_ensure which version of the packages to install, i.e.
|
||||
# 'latest', 'present' '13.20',
|
||||
# @summary Class contains all parameters for the postgresql_cd module.
|
||||
##############################################################################
|
||||
class postgresql_cd::params (
|
||||
|
||||
String $pl_server_fqdn = undef,
|
||||
|
||||
# installation
|
||||
String $reqpackages_server = 'postgresql-server',
|
||||
String $reqpackages_client = 'postgresql',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
$domain = $facts['networking']['domain']
|
||||
$os_name = $facts['os']['name']
|
||||
$os_release = $facts['os']['release']['major']
|
||||
|
||||
# includes must be last
|
||||
include postgresql_cd::main::config
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user