Run Salt SLS File Locally – sudo salt-call –local state.apply foo

What if I just want to run a single SLS file (salt state) once? Save your state to /srv/salt/foo.sls and apply it $ sudo salt-call –local state.apply foo This masterless setup is just for quick testing. In production, you would use … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Run Salt SLS File Locally – sudo salt-call –local state.apply foo