hi, I have a Puppet-icinga/examples/example3 setup running and very happy with it :-) Now I want to add two new DMZ zones. The" problem" is, that both zones have own Puppet servers:
Master: Puppet server (with Puppetdb) 1 Slave1: Puppet server (no puppetdb) 2 Slave2: Puppet server (no puppetdb) 3 The question is now: what is the best way, to add both zones with satellites, while all zones not using the PuppetDB server, like the master. included in the role icinga2_master.pp modules/profile/manifests/icinga2/external_hosts.pp class profile::icinga2::zone1 (){ ############ Zone1 ######### # Create virtual resources for this agent node ::icinga2::object::endpoint { "zone1.example.com": host => "1.2.3.4", } ::icinga2::object::zone { "zone1.example.com": endpoints => [ "zone1.example.com", ], parent => 'master', } } The master knows the zone/endpoint. the host definition self is at the moment in hiera ... and works with the basic checks. The Puppet config is managed with Git on all zones, master included. May I can adapt the config from example4 which has an example for dmz zones. cu denny _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users