foreman_rh_cloud 8.0.50 → 8.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/inventory_sync/async/inventory_scheduled_sync.rb +3 -3
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a8832ac6130f0c9d6d03f01c4da75144968f1c56670ab64634dc0f25f4ba5e2
|
4
|
+
data.tar.gz: 1e7e672a81f2ecd51a1514a1035b91e7b686d02efd340dba05b65d0a3064d54d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e5c3bb073a864906194caaab77a77f01389e1d0a702c12f429fb6277457e412f89a4fb30e79963236388a1347897c1e611f1cc14a68bb580b8427df3838b42e
|
7
|
+
data.tar.gz: 7cf5d53689a2b8b396a4bb7d72ffb87dd29d35d5e60c8b4b222708a72f9900aaac7180cae53dc82c1ed7b0ceba5293ec831cb69312281cc9c4bbae06d27f4e31
|
@@ -19,7 +19,7 @@ module InventorySync
|
|
19
19
|
Organization.unscoped.each do |org|
|
20
20
|
sequence do
|
21
21
|
plan_org_sync(org)
|
22
|
-
plan_remove_insights_hosts(org) if Setting[:allow_auto_insights_mismatch_delete]
|
22
|
+
plan_remove_insights_hosts(org.id) if Setting[:allow_auto_insights_mismatch_delete]
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -30,9 +30,9 @@ module InventorySync
|
|
30
30
|
plan_action InventoryFullSync, org
|
31
31
|
end
|
32
32
|
|
33
|
-
def plan_remove_insights_hosts
|
33
|
+
def plan_remove_insights_hosts(org_id)
|
34
34
|
# plan a remove hosts action with search set to empty (all records)
|
35
|
-
plan_action(ForemanInventoryUpload::Async::RemoveInsightsHostsJob, '',
|
35
|
+
plan_action(ForemanInventoryUpload::Async::RemoveInsightsHostsJob, '', org_id)
|
36
36
|
end
|
37
37
|
|
38
38
|
def logger
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_rh_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|