foreman-tasks 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5215b1de3a75cefb5abd6ee4cddab099336f5982
|
|
4
|
+
data.tar.gz: d4a4c997bc7a1527fb022d2e058f8e0b6c47379d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4a03380fa48d6f4c61f0b3b87ab9ef0b81e7938ee1090a50e205ec9e2a60b4e11a1a18ccd3bbb7c5d69880b8bf76e913a403233f5df7df9b4839f6cc5310396
|
|
7
|
+
data.tar.gz: dfd5566f78c22ab02632dc33edca0a9a9e9ef25a00e297399d09440be29c2d79fd3bb87371766fef052e5ae8aefac914dc7407b8093071a21d9218eef8588a34
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
module ForemanTasks
|
|
2
2
|
module Concerns
|
|
3
3
|
module HostsControllerExtension
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
included do
|
|
7
|
-
alias_method_chain :facts, :dynflow
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
def facts_with_dynflow
|
|
4
|
+
def facts
|
|
11
5
|
task = ForemanTasks.async_task(::Actions::Foreman::Host::ImportFacts,
|
|
12
6
|
detect_host_type,
|
|
13
7
|
params[:name],
|
data/lib/foreman_tasks/engine.rb
CHANGED
|
@@ -133,7 +133,7 @@ module ForemanTasks
|
|
|
133
133
|
# to enable async Foreman operations using Dynflow
|
|
134
134
|
if ENV['FOREMAN_TASKS_MONKEYS'] == 'true'
|
|
135
135
|
config.to_prepare do
|
|
136
|
-
::Api::V2::HostsController.send :
|
|
136
|
+
::Api::V2::HostsController.send :prepend, ForemanTasks::Concerns::HostsControllerExtension
|
|
137
137
|
::Host::Base.send :include, ForemanTasks::Concerns::HostActionSubject
|
|
138
138
|
end
|
|
139
139
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman-tasks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: foreman-tasks-core
|