You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My best idea so far, is to accept args on destroy that are the name of salt states to run, and then in the destroy-triggers block in the Vagrantfile, loop through those names, calling them specifically. Can you use salt-call to call a state not listed in the topfile / commented out? I'd assume these states should not be run on up / highstate. I'm not sure how to get them to only run on destroy easily.
The user could jerry-rig it by changing the states after up with another sync operation, but that's cumbersome.
when we run "rambo destroy" I want rambo to ssh into the guest and runs a special "ondestroy" saltstate.
this salt state will usually just be a std simple saltstate pass function, but sometime the "ondestroy" state does other interesting things.
The text was updated successfully, but these errors were encountered: