"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "salt/utils/idem.py" between
salt-3002.1.tar.gz and salt-3002.2.tar.gz

About: SaltStack is a systems management software for data center automation, cloud orchestration, server provisioning, configuration management and more. Community version.

idem.py  (salt-3002.1):idem.py  (salt-3002.2)
skipping to change at line 42 skipping to change at line 42
Create a hub with idem ready to go and completely loaded Create a hub with idem ready to go and completely loaded
""" """
if "idem.hub" not in __context__: if "idem.hub" not in __context__:
log.debug("Creating the POP hub") log.debug("Creating the POP hub")
hub = pop.hub.Hub() hub = pop.hub.Hub()
log.debug("Initializing the loop") log.debug("Initializing the loop")
hub.pop.loop.create() hub.pop.loop.create()
log.debug("Loading subs onto hub") log.debug("Loading subs onto hub")
hub.pop.sub.add(dyne_name="acct")
hub.pop.sub.add(dyne_name="config") hub.pop.sub.add(dyne_name="config")
# We aren't collecting grains at all but some exec modules depend on the sub being on the hub # We aren't collecting grains at all but some exec modules depend on the sub being on the hub
hub.pop.sub.add(dyne_name="grains") hub.pop.sub.add(dyne_name="grains")
hub.pop.sub.add(dyne_name="idem") hub.pop.sub.add(dyne_name="idem")
hub.pop.sub.add(dyne_name="exec")
hub.pop.sub.add(dyne_name="states")
log.debug("Reading idem config options") log.debug("Reading idem config options")
hub.config.integrate.load(["acct", "idem"], "idem", parse_cli=False, log s=False) hub.config.integrate.load(["acct", "idem"], "idem", parse_cli=False, log s=False)
__context__["idem.hub"] = hub __context__["idem.hub"] = hub
return __context__["idem.hub"] return __context__["idem.hub"]
 End of changes. 2 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)