adds installation
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
class postgresql_cd::main::config (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
|
||||
include postgresql_cd::main::install
|
||||
}
|
||||
|
||||
23
manifests/main/install.pp
Normal file
23
manifests/main/install.pp
Normal file
@@ -0,0 +1,23 @@
|
||||
## postgresql_cd::main::install.pp
|
||||
# Module name: postgresql_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages logic for the postgresql_cd module.
|
||||
##############################################################################
|
||||
class postgresql_cd::main::install (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
if $fqdn == $pl_server_fqdn {
|
||||
package { $reqpackages_server:
|
||||
ensure => $pkg_ensure,
|
||||
}
|
||||
package { $reqpackages_client:
|
||||
ensure => $pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
if $fqdn != $pl_server_fqdn {
|
||||
package { $reqpackages_client:
|
||||
ensure => $pkg_ensure,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user