mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding changelog files
This commit is contained in:
parent
489f956a3c
commit
dae7ccb7df
3 changed files with 23 additions and 0 deletions
4
changelog/64102.fixed.md
Normal file
4
changelog/64102.fixed.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
Update all the scheduler functions to include a fire_event argument which will determine whether to fire the completion event onto the event bus.
|
||||
This event is only used when these functions are called via the schedule execution modules.
|
||||
Inside deltaproxy, then update all scheudle related functions to include fire_event=False,
|
||||
as the event bus is not available when these functions are called.
|
4
changelog/64103.fixed.md
Normal file
4
changelog/64103.fixed.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
Update all the scheduler functions to include a fire_event argument which will determine whether to fire the completion event onto the event bus.
|
||||
This event is only used when these functions are called via the schedule execution modules.
|
||||
Inside deltaproxy, then update all scheudle related functions to include fire_event=False,
|
||||
as the event bus is not available when these functions are called.
|
|
@ -444,6 +444,21 @@ def salt_call():
|
|||
client.run()
|
||||
|
||||
|
||||
def salt_call_local():
|
||||
"""
|
||||
Directly call a salt command in the modules, does not require a running
|
||||
salt minion to run.
|
||||
"""
|
||||
import salt.cli.call
|
||||
|
||||
if "" in sys.path:
|
||||
sys.path.remove("")
|
||||
client = salt.cli.call.SaltCall()
|
||||
client.set_default("local", True)
|
||||
_install_signal_handlers(client)
|
||||
client.run()
|
||||
|
||||
|
||||
def salt_run():
|
||||
"""
|
||||
Execute a salt convenience routine.
|
||||
|
|
Loading…
Add table
Reference in a new issue