Remove target from zone/endpoint definition master
authorJan Dittberner <jandd@cacert.org>
Mon, 22 Jul 2019 18:26:03 +0000 (20:26 +0200)
committerJan Dittberner <jandd@cacert.org>
Mon, 22 Jul 2019 18:26:03 +0000 (20:26 +0200)
sitemodules/profiles/manifests/icinga2_agent.pp

index f27812d..6300301 100644 (file)
@@ -81,13 +81,11 @@ class profiles::icinga2_agent (
 
   @@icinga2::object::endpoint { $::fqdn:
     ensure        => present,
-    target        => "/etc/icinga2/zones.d/${::fqdn}.conf",
   }
 
   @@icinga2::object::zone { $::fqdn:
     ensure    => present,
     endpoints => [$::fqdn],
     parent    => $master_host,
-    target        => "/etc/icinga2/zones.d/${::fqdn}.conf",
   }
 }