From 0fee723db614aa3b2007e45409173cea9486c0d9 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 25 Feb 2025 23:32:54 +0100 Subject: [PATCH] adding test --- manifests/main/config.pp | 4 ++++ manifests/params.pp | 4 ++++ 2 files changed, 8 insertions(+) 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