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

How to collect zone members? #227

@deric

Description

@deric

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
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions