Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KedneckInc opened this issue Oct 22, 2017 · 0 comments
Open

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

KedneckInc opened this issue Oct 22, 2017 · 0 comments

Comments

@KedneckInc
Copy link

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.

KedneckInc pushed a commit to KedneckInc/puppet-network-1 that referenced this issue Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant