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

Entry not updated on IP change #20

Open
simonclausen opened this issue Aug 21, 2016 · 3 comments
Open

Entry not updated on IP change #20

simonclausen opened this issue Aug 21, 2016 · 3 comments

Comments

@simonclausen
Copy link

It seems that entries are only added when found, but not updated when the IP of a minion changes.

I have not read through the entire formula, so I am unsure if this is intended behavior, a general bug or maybe a bug specific to my setup.

I will provide details if needed.

@blbradley
Copy link
Contributor

This is the correct behavior of this formula and state host.present which this formula uses. Read the note here. You're probably looking for state host.only which is available in salt v2016.3.0.

Personally, I hope that this formula moves to using host.only while preserving backwards compatibility.

@gilou
Copy link

gilou commented Oct 15, 2018

Well, this is interesting, what about having something like an exclusive setting in pilllar to do this ? Also this probably only needs to apply on hosts coming from the mine, as otherwise one would probably put them in the host only list...

@gilou
Copy link

gilou commented Oct 15, 2018

ah, that is not how hosts.only works.

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

3 participants