3
0

adding test

This commit is contained in:
Arne Teuke
2025-02-26 00:19:16 +01:00
parent 46da51b8e9
commit cb604d69c5

View File

@@ -13,19 +13,19 @@ class puppet_cd::main::config (
notify { "All facts: ${facts}": }
if $facts['fqdn'] == $server_facts['servername'] {
notify { "This is the Puppet master node": }
}
#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 {"Me Puppetmasster":}
#}
if $fqdn != $pt_puppetmaster {
notify {"BAA":}
}
#if $fqdn != $pt_puppetmaster {
# notify {"BAA":}
#}
# Notify the node's FQDN
notify { "This node's FQDN is ${facts['fqdn']}": }
# notify { "This node's FQDN is ${facts['fqdn']}": }
}