MCPcopy
hub / github.com/saltstack/salt / load_modules

Method load_modules

salt/client/ssh/state.py:56–67  ·  view source on GitHub ↗

Load up the modules for remote compilation via ssh

(self, data=None, proxy=None)

Source from the content-addressed store, hash-verified

54 super().__init__(opts, pillar_override, initial_pillar=initial_pillar)
55
56 def load_modules(self, data=None, proxy=None):
57 """
58 Load up the modules for remote compilation via ssh
59 """
60 self.functions = self.wrapper
61 self.utils = salt.loader.utils(self.opts)
62 self.serializers = salt.loader.serializers(self.opts)
63 locals_ = salt.loader.minion_mods(self.opts, utils=self.utils)
64 self.states = salt.loader.states(
65 self.opts, locals_, self.utils, self.serializers
66 )
67 self.rend = salt.loader.render(self.opts, self.functions)
68
69 def _gather_pillar(self):
70 """

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected