I want to override a built-in state module and followed the guide at
Unfortunately, this sentence seems ambigious:
"Place your custom state modules inside a _states directory within the
file_roots specified by the master config file."
I'm guessing that the intended meaning is something like "... inside a
_states directory within a file_roots directory for the environment for
which the module should be loaded...". I tried this, but it doesn't work.
The minion debug log says (note: this is a masterless Windows minion):
[INFO ] Creating module dir
[INFO ] Syncing states for environment 'flagspeed'
[INFO ] Loading cache from salt://_states, for flagspeed)
[INFO ] Caching directory '_states/' for environment 'flagspeed'
[DEBUG ] Local cache dir:
However, after running state.highstate on the minion, the first cache
folder mentioned is empty and the second one doesn't exist. The module
(obviously) isn't overridden. What's going on? Any help or pointers
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.