25 lines
580 B
Puppet
25 lines
580 B
Puppet
## puppet_cd::main::install.pp
|
|
# Module name: puppet_cd
|
|
# Author: Arne Teuke (arne_teuke@confdroid)
|
|
# @summary Class manages package installation for the puppet_cd module.
|
|
###############################################################################
|
|
class puppet_cd::main::install (
|
|
|
|
) inherits puppet_cd::params {
|
|
package { $pt_agent_pkg:
|
|
ensure => $pt_pkg_ensure,
|
|
}
|
|
|
|
if $fqdn == $pt_pm_fqdn {
|
|
package { $pt_server_pkg:
|
|
ensure => $pt_pkg_ensure,
|
|
}
|
|
}
|
|
|
|
if $fqdn == $pt_db_fqdn {
|
|
package { $pt_db_pkg:
|
|
ensure => $pt_pkg_ensure,
|
|
}
|
|
}
|
|
}
|