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

Method run_key

tests/support/case.py:218–228  ·  view source on GitHub ↗

Execute salt-key

(self, arg_str, catch_stderr=False, with_retcode=False, config_dir=None)

Source from the content-addressed store, hash-verified

216 return ret
217
218 def run_key(self, arg_str, catch_stderr=False, with_retcode=False, config_dir=None):
219 """
220 Execute salt-key
221 """
222 return self.run_script(
223 "salt-key",
224 arg_str,
225 catch_stderr=catch_stderr,
226 with_retcode=with_retcode,
227 config_dir=config_dir,
228 )
229
230 def run_cp(
231 self,

Callers

nothing calls this directly

Calls 1

run_scriptMethod · 0.95

Tested by

no test coverage detected