Fix race condition in get puppet status
Check if puppet is running or not before reading last_summary Closes-bug: #1593166 Change-Id: Ie8d68b570109277ba3324d6404d626bc98eb44ba
This commit is contained in:
parent
22d52ee121
commit
8402425be1
@ -51,9 +51,9 @@ module MCollective
|
|||||||
end
|
end
|
||||||
|
|
||||||
action "last_run_summary" do
|
action "last_run_summary" do
|
||||||
|
set_status
|
||||||
last_run_summary
|
last_run_summary
|
||||||
last_run_report
|
last_run_report
|
||||||
set_status
|
|
||||||
end
|
end
|
||||||
|
|
||||||
action "enable" do
|
action "enable" do
|
||||||
|
Loading…
Reference in New Issue
Block a user