-
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
Problem with requisites when using includes #37758
Comments
salt-2016.3.3 (both master and minion) |
Updated to latest 2016.3.4 (Boron) - result is the same, problem still exists. |
@Z9n2JktHlZDmlhSvqc9X2MmL3BwQG7tk hmmm with the include I"m getting the following output:
Im suprised in your second example that it states nginx is already started if there is a directive in the nginx.conf that is incorrect. I would expect that nginx would not start. can you include a |
The main difference in our tests is that nginx must be running already before we start a In your case state When all these states are in single sls file - all works as expected, but when I move edit states to separate file and include it from main |
I am using master and minion both updated to the latest stable version and both running on ubuntu 14.04.
|
Is it something related to #38235 ? |
Yeah I believe this directly related. I'm guessing you are getting different results because the include creates a different order. Although there is a different bug here I believe with the test=True not displaying the entire True. So I will labelt his a bug for that issue |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Starting nginx on minion and modifying nginx.conf - adding erroneous directive, so
nginx -t
returns error and non-zero exit code. Running a highstate:test.sls
test2.sls
Checking process list - nginx is absent. Why did
nginx-service
state start ? Whynginx-conf-check
state was not started ?Trying the same with single sls file:
Running a highstate:
Now we see a proper behavior: check state was started, nginx was not restarted, it is still present in process list.
It seems something is wrong in processing includes by salt.
P.S. Why do we see
in salt output ? Where is the last letter (truE) ?
The text was updated successfully, but these errors were encountered: