Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

How to collect zone members? #227

Open
deric opened this issue Dec 4, 2016 · 0 comments
Open

How to collect zone members? #227

deric opened this issue Dec 4, 2016 · 0 comments

Comments

@deric
Copy link

deric commented Dec 4, 2016

Just a question, would be happy to discuss this elsewhere if there's some platform for questions. Is it possible to collect all hostnames an an array and assign them to a zone?

Something like collecting all endpoints:

Icinga2::Object::Endpoint <<| |>> { }

and adding them to a zone:

  icinga2::object::zone {$::domain:
    parent    => 'master',
    endpoints => [ ], # <- array of hostnames
  }
varac pushed a commit to varac/puppet-icinga2 that referenced this issue Feb 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant