diff --git a/manifests/main/config.pp b/manifests/main/config.pp index 27d8057..aa05d28 100644 --- a/manifests/main/config.pp +++ b/manifests/main/config.pp @@ -7,4 +7,8 @@ class puppet_cd::main::config ( ) inherits puppet_cd::params { + # test + if $facts['fqdn'] == $server_facts['servername'] { + notify { "This is the Puppet master node": } + } } diff --git a/manifests/params.pp b/manifests/params.pp index a29d2f5..58db4d1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -10,6 +10,10 @@ class puppet_cd::params ( ) { +# + +$fqdn = $servername + # includes must be last include puppet_cd::main::config