-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
module.wait does not fail when called state fails #30559
Comments
Ok, i traced this down and it seems like this was fixed in ca0be8b The result dictionary 'result' value was previously not checked at all, only 'retcode'. Not sure if this commit was in response to a previously opened bug or not ? EDIT: to clarify, this affected module.run too. Easy way to check without any state files: The fix is in 2015.8, not in 2015.5 tho |
@kaidokert, thanks for the report. When Boron is released in two months, 2015.5 will drop out of general support and I'm not sure if we're going to make another release beyond 2015.5.9, we still might be able to backport this to 2015.5 though. |
Understood. |
Uh oh. Just ran into another issue 07db5a7 with the 2015.5.3 PPA packaged version, that is already fixed in 2015.5.6 but PPA builds arent getting fixes anymore. |
@kaidokert, we prioritize bug fixes on the latest stable release, when more than one are supported. 2015.5 and 2015.8 are a special case since they were released 3 months apart. since 2015.8, we've decided to go to 6 month release cycles. Other than this, each release will have LTS features, some of which must purchased with a support contract. Since @joehealy has moved on, we haven't had an ubuntu community maintainer, although @BABILEN has offered to update debian packages. |
I have back-ported the commit mentioned above that fixes the issue with Since the discussion about moving from the launchpad PPA has already been addressed in terms of upgrading to new salt versions, I'm going to close this as resolved. Thanks! |
Not sure if i'm doing something wrong here, but this does not seem to behave as one would expect.
Module.wait does get executed when the config file gets updated, but it will always return True regardless if nginx.configtest passes or not.
Sample run:
Notice how nginx.configtest returns False, but test_nginx_config sets Result:True. I would have expected the watching state to fail ? Or i'm missing some bits here ?
The text was updated successfully, but these errors were encountered: