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/files.pp Normal file
View File

@@ -0,0 +1,20 @@
## puppet_cd::main::files.pp
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary Class manages config files for the puppet_cd module.
###############################################################################
class puppet_cd::main::files (
) inherits puppet_cd::params {
include puppet_cd::main::dirs
if $fqdn == $pt_puppetmaster {
# server files
}
if $fqdn != $pt_puppetmaster {
# client files
}
}