foreman_rh_cloud 8.0.50 → 9.0.51

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cea22a0b284bca946fd3911d2225a4dc3af7207b458dcab9405e29427f8c9a7
4
- data.tar.gz: 46a5c322b515ac02c73a10b7b79f1d8195c9f3cf57a42df08c07d814190c5d62
3
+ metadata.gz: 1fd555061d766a7bdffb964b4fe5214a22651b2be5ebcc729f7cc689c188b2ee
4
+ data.tar.gz: 60b2ad4169a6495a372006138848f7faf63d05ec5775dc78ee16c69f0a6fa4df
5
5
  SHA512:
6
- metadata.gz: 39ccb8d56628449026625a4781fc1343c8fc6eef22ab96f139d0d9bc9dd3e107d0a92f69917f4136f1d4e5744ccfb5528e2fb52d98ca57d544a6a420990a223b
7
- data.tar.gz: 32c33fdb90216680056868fea097b665ab2a8dca2559dfd6ebd2574757d3f9811f34a1f5d092a3a065b5284bca4de1b63ff6678ce7994e66685acd857cd34e43
6
+ metadata.gz: 7c93f25c3b1eb2bd0b7a388f6db1dfc506da5ab98a8004752e3e737fa9585c9c226d99d56718c917f933889a06c89230e001bbb99cdf8a0337c8f312321f5f62
7
+ data.tar.gz: e2f56f3f2135515c5f647d74b89698963bc38d09214f77c3737f159b23f2fde30d90c71cea05df69ca973dd74031a8244f48c3170c3eb7b203b622de02ebe29f
@@ -127,7 +127,7 @@ module ForemanInventoryUpload
127
127
  @stream.simple_field('os_kernel_version', fact_value(host, 'uname::release'))
128
128
  @stream.simple_field('arch', host.architecture&.name)
129
129
  @stream.simple_field('subscription_status', host.subscription_status_label)
130
- @stream.simple_field('katello_agent_running', host.content_facet&.katello_agent_installed?)
130
+ @stream.simple_field('katello_agent_running', false)
131
131
  @stream.simple_field(
132
132
  'infrastructure_type',
133
133
  ActiveModel::Type::Boolean.new.cast(fact_value(host, 'virt::is_guest')) ? 'virtual' : 'physical'
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '8.0.50'.freeze
2
+ VERSION = '9.0.51'.freeze
3
3
  end
@@ -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, '', org.id)
35
+ plan_action(ForemanInventoryUpload::Async::RemoveInsightsHostsJob, '', org_id)
36
36
  end
37
37
 
38
38
  def logger
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "8.0.50",
3
+ "version": "9.0.51",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
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.50
4
+ version: 9.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-09-14 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello