adding test
This commit is contained in:
@@ -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": }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user