adding test
This commit is contained in:
@@ -7,4 +7,8 @@ class puppet_cd::main::config (
|
|||||||
|
|
||||||
) inherits puppet_cd::params {
|
) inherits puppet_cd::params {
|
||||||
|
|
||||||
|
# test
|
||||||
|
if $facts['fqdn'] == $server_facts['servername'] {
|
||||||
|
notify { "This is the Puppet master node": }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ class puppet_cd::params (
|
|||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
$fqdn = $servername
|
||||||
|
|
||||||
# includes must be last
|
# includes must be last
|
||||||
include puppet_cd::main::config
|
include puppet_cd::main::config
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user