3
0

add installation section

This commit is contained in:
Arne Teuke
2025-02-26 15:37:07 +01:00
parent f9ade6a0cb
commit 125856da7b
3 changed files with 36 additions and 12 deletions

View File

@@ -5,8 +5,22 @@
###############################################################################
class puppet_cd::main::install (
) inherits puppet_cd::params {
) inherits puppet_cd::params {
require puppet_cd::main::yumrepo
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,
}
}
}