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

Rewrite host.present state to allow for removal of entries not matching IP #50657

merged 8 commits into from Nov 29, 2018


None yet
2 participants
Copy link

commented Nov 27, 2018

This adds a new clean option to this state, which allows the state to remove entries for the specified hostname that don't match the specified IP address(es).

It also makes some performance improvements in the hosts execution module.

Fixes #49392.

terminalmage added some commits Nov 27, 2018

terminalmage added some commits Nov 27, 2018

Performance improvements in hosts module
Prevent additional unnecessary reads, etc.

@terminalmage terminalmage force-pushed the terminalmage:issue49392 branch from e654300 to 7fd3bce Nov 27, 2018

terminalmage added some commits Nov 28, 2018

@cachedout cachedout merged commit a5c7639 into saltstack:2018.3 Nov 29, 2018

10 checks passed

WIP Ready for review
continuous-integration/jenkins/pr-merge This commit looks good
jenkins/pr/docs The docs job has passed
jenkins/pr/lint The lint job has passed
jenkins/pr/py2-centos-7 The py2-centos-7 job has passed
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has passed
jenkins/pr/py2-windows-2016 The py2-windows-2016 job has passed
jenkins/pr/py3-centos-7 The py3-centos-7 job has passed
jenkins/pr/py3-ubuntu-1604 The py3-ubuntu-1604 job has passed
jenkins/pr/py3-windows-2016 The py3-windows-2016 job has passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.