adding test
This commit is contained in:
@@ -7,14 +7,10 @@ class puppet_cd::main::config (
|
|||||||
|
|
||||||
) inherits puppet_cd::params {
|
) inherits puppet_cd::params {
|
||||||
|
|
||||||
# test
|
|
||||||
|
|
||||||
# Debug all facts
|
if $facts['fqdn'] == $server_facts['servername'] {
|
||||||
#notify { "All facts: ${facts} ": }
|
notify { "This is the Puppet master node": }
|
||||||
|
}
|
||||||
#if $facts['fqdn'] == $server_facts['servername'] {
|
|
||||||
# notify { "This is the Puppet master node": }
|
|
||||||
#}
|
|
||||||
|
|
||||||
#if $fqdn == $pt_puppetmaster {
|
#if $fqdn == $pt_puppetmaster {
|
||||||
# notify {"Me Puppetmasster":}
|
# notify {"Me Puppetmasster":}
|
||||||
@@ -27,6 +23,6 @@ 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}": }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
class puppet_cd::params (
|
class puppet_cd::params (
|
||||||
|
|
||||||
$pt_manage_fw = true,
|
$pt_manage_fw = true,
|
||||||
$pt_puppetmaster = 'client001.studydivision.local',
|
$pt_puppetmaster = undef,
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user