1.

Why Aren't My Custom Modules/states/etc. Available On My Minions?

Answer»

Custom modules are synced to Minions when saltutil.sync_modules, or saltutil.sync_all is RUN. Custom modules are also synced by state.apply when run without any arguments.

Similarly, custom states are synced to Minions when state.apply, saltutil.sync_states, or saltutil.sync_all is run.

Custom states are also synced by state.apply when run without any arguments.

Other custom types (renderers, outputters, etc.) have similar behavior, SEE the documentation for the saltutilmodule for more information.

This REACTOR example can be used to automatically sync custom types when the minion CONNECTS to the master, to help with this chicken-and-egg ISSUE.

Custom modules are synced to Minions when saltutil.sync_modules, or saltutil.sync_all is run. Custom modules are also synced by state.apply when run without any arguments.

Similarly, custom states are synced to Minions when state.apply, saltutil.sync_states, or saltutil.sync_all is run.

Custom states are also synced by state.apply when run without any arguments.

Other custom types (renderers, outputters, etc.) have similar behavior, see the documentation for the saltutilmodule for more information.

This reactor example can be used to automatically sync custom types when the minion connects to the master, to help with this chicken-and-egg issue.



Discussion

No Comment Found