Skip to content

Alternative Format for "network::route"? #135

@KedneckInc

Description

@KedneckInc

As mentioned in issue #134 , I cannot set up the routes I need using the existing format because the merge features of hiera unique the arrays no matter what I try. However, there is an alternative format that would get around this issue:

... otherstuff ...
      routes:
        - "10.10.0.0/16 via 10.10.10.1"
        - "10.20.30.0/24 via 10.10.10.1"

If there were a version of "network::route" that accepted the above, that would solve the problem with hiera uniquing the array, the need to ensure that all the arrays are the same length, and make even more route features available. I'll take a stab at a PR for this, it should be quite simple. Feel free to file off the serial numbers and use it however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions