3
0
Files
puppet_cd/manifests/main/config.pp
Arne Teuke 2b92a57894 adding test
2025-02-26 00:46:50 +01:00

33 lines
743 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} ": }
#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}": }
}