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

29 lines
669 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 {
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}": }
}