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

Method setup_features

salt/features.py:18–22  ·  view source on GitHub ↗
(self, opts)

Source from the content-addressed store, hash-verified

16 self.setup = False
17
18 def setup_features(self, opts):
19 if not self.setup:
20 self.features.update(opts.get("features", {}))
21 else:
22 log.warning("Features already setup")
23
24 def get(self, key, default=None):
25 import salt.utils.versions

Callers 5

minion_configFunction · 0.80
proxy_configFunction · 0.80
master_configFunction · 0.80
apply_master_configFunction · 0.80
client_configFunction · 0.80

Calls 3

warningMethod · 0.80
updateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected