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

Issue with CIDR subnets and ipset_sync #24

Open
rudybroersma opened this issue Jun 29, 2017 · 0 comments
Open

Issue with CIDR subnets and ipset_sync #24

rudybroersma opened this issue Jun 29, 2017 · 0 comments

Comments

@rudybroersma
Copy link

We are seeing an issue when supplying CIDR subnets to an IPSet in puppet, e.g. we have a hash:

$iplist = [ "192.168.100.20", "10.0.0.0/24", "172.168.1.2" ]

When the agent runs, it runs ipset_sync to compare the list in the kernel with the defined list in puppet. This returns exit code 8, as the list does not match. "ipset save" shows 254 entries for 10.0.0.1-254, while the generated output simply lists the /24.

Please see the attached example:
out.txt

Due to the mismatch in output, the Exec[sync_ipset_*] is ran on every puppet agent execution.

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