3
0

add class chain

This commit is contained in:
Arne Teuke
2025-02-26 01:55:17 +01:00
parent 7ff8eb56ef
commit dff8043414
5 changed files with 65 additions and 0 deletions

20
manifests/main/install.pp Normal file
View File

@@ -0,0 +1,20 @@
## 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 {
require puppet_cd::main::yumrepo
if $fqdn == $pt_puppetmaster {
# install server packages
}
if $fqdn != $pt_puppetmaster {
# install agent packages
}
}