foreman_pipeline / app / lib / actions / foreman_pipeline / job / suspend_until_provisioned.rb @ be52ca64
1 |
module Actions |
---|---|
2 |
module ForemanPipeline |
3 |
module Job |
4 |
class SuspendUntilProvisioned < Actions::Staypuft::Host::WaitUntilProvisioned |
5 |
|
6 |
include ::Dynflow::Action::Cancellable |
7 |
|
8 |
def plan(host_id) |
9 |
plan_self :host_id => host_id
|
10 |
end
|
11 |
|
12 |
def run(event = nil) |
13 |
super event
|
14 |
end
|
15 |
|
16 |
end
|
17 |
end
|
18 |
end
|
19 |
end
|