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
noop state for co-ordinating requires / modularizing includes #11893
Comments
Good stuff! (And low-hanging fruit.) Tagged for a future release. |
I implemented that in makina states a long time ago, you can see it at https://github.com/makinacorpus/makina-states/blob/master/mc_states/states/mc_proxy.py And in action here : https://github.com/makinacorpus/makina-states/blob/master/services/proxy/haproxy/hooks.sls and here : https://github.com/makinacorpus/makina-states/blob/master/services/proxy/haproxy/service.sls#L10 |
@whiteinge i can make a PR for putting that module in salt core if it has an interrest. |
@kiorky yes, please. :) |
Isn't this already implemented, in the |
What undocumented madness is this?! |
Docs were a little slow to build; now they're up. Relevant docs here: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.test.html |
Looks like it would do the job. I'm running 2014.1.0 and it doesn't appear to be in there. Next release? |
Heh, didn't realize they were that new, and undocumented to boot! I was just looking in the source. =P Anyway, looks like we're documented and it solves the original case, so I'm going to close this. |
When the properties bake_image and postgresconf are set, the postgresconf expects postgresql-running to exist. Adding an empty postgresql-running state should fix this, and any other future states that require/expect this specific state. I added an echo command due to saltstack/salt#11893
When the properties bake_image and postgresconf are set, the postgresconf expects postgresql-running to exist. Adding an empty postgresql-running state should fix this, and any other future states that require/expect this specific state. I added an echo command due to saltstack/salt#11893
When the properties bake_image and postgresconf are set, the postgresconf expects postgresql-running to exist. Adding an empty postgresql-running state should fix this, and any other future states that require/expect this specific state. I added an echo command due to saltstack/salt#11893
Please create a noop.noop state that can be used to provide a name to require for formulae that are including other formulae.
Example:
foo.sls
bar.sls
This allows includes to be nice and clean and modular. Thoughts?
The text was updated successfully, but these errors were encountered: