3
0
Files
puppet_cd/manifests/main/config.pp
Arne Teuke a267340f0c adding test
2025-02-26 00:41:16 +01:00

36 lines
788 B
Puppet

## puppet_cd::main::config.pp
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary Class manages parameters for the puppet_cd module.
###############################################################################
class puppet_cd::main::config (
) inherits puppet_cd::params {
# test
# Debug all facts
notify { "All facts: ${facts} ": }
# fqdn
notify { "All facts: ${facts} ": }
#if $facts['fqdn'] == $server_facts['servername'] {
# notify { "This is the Puppet master node": }
#}
#if $fqdn == $pt_puppetmaster {
# notify {"Me Puppetmasster":}
#}
#if $fqdn != $pt_puppetmaster {
# notify {"BAA":}
#}
# Notify the node's FQDN
notify { "This node's FQDN is ${facts['fqdn']}": }
notify { " FQDN is ${fqdn}": }
}