diff --git a/manifests/main/config.pp b/manifests/main/config.pp index db50504..6182bd2 100644 --- a/manifests/main/config.pp +++ b/manifests/main/config.pp @@ -10,8 +10,8 @@ class puppet_cd::main::config ( # test # Debug all facts - notify { "All facts: ${facts} ": } - + #notify { "All facts: ${facts} ": } + #if $facts['fqdn'] == $server_facts['servername'] { # notify { "This is the Puppet master node": } #} @@ -25,8 +25,8 @@ class puppet_cd::main::config ( #} # 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": } } diff --git a/manifests/params.pp b/manifests/params.pp index 14e84a1..850ae2c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -10,7 +10,8 @@ class puppet_cd::params ( ) { -$fqdn = $facts['fqdn'] +#$fqdn = $facts['fqdn'] +$fqdn = $facts['networking']['fqdn'] # # includes must be last