add class chain
This commit is contained in:
20
manifests/main/files.pp
Normal file
20
manifests/main/files.pp
Normal 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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user