3
0

adding test

This commit is contained in:
Arne Teuke
2025-02-26 00:56:44 +01:00
parent 8feafb4c54
commit 7eaab6cc39
2 changed files with 6 additions and 5 deletions

View File

@@ -10,8 +10,8 @@ class puppet_cd::main::config (
# test # test
# Debug all facts # Debug all facts
notify { "All facts: ${facts} ": } #notify { "All facts: ${facts} ": }
#if $facts['fqdn'] == $server_facts['servername'] { #if $facts['fqdn'] == $server_facts['servername'] {
# notify { "This is the Puppet master node": } # notify { "This is the Puppet master node": }
#} #}
@@ -25,8 +25,8 @@ class puppet_cd::main::config (
#} #}
# Notify the node's FQDN # Notify the node's FQDN
notify { "This node's FQDN is ${facts['fqdn']}": } #notify { "This node's FQDN is ${facts['fqdn']}": }
notify { " FQDN is ${fqdn}": } notify { " FQDN is $fqdn": }
} }

View File

@@ -10,7 +10,8 @@ class puppet_cd::params (
) { ) {
$fqdn = $facts['fqdn'] #$fqdn = $facts['fqdn']
$fqdn = $facts['networking']['fqdn']
# #
# includes must be last # includes must be last