From 39fbfa4f86a3091b886132fc2d6d378d4dd21da5 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 21 Sep 2023 13:13:29 +0200 Subject: [PATCH] always report katello agent as not running, as it's removed --- lib/foreman_inventory_upload/generators/slice.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/foreman_inventory_upload/generators/slice.rb b/lib/foreman_inventory_upload/generators/slice.rb index 4ee3ef80..de1d412a 100644 --- a/lib/foreman_inventory_upload/generators/slice.rb +++ b/lib/foreman_inventory_upload/generators/slice.rb @@ -127,7 +127,7 @@ def report_system_profile(host, host_ips_cache) @stream.simple_field('os_kernel_version', fact_value(host, 'uname::release')) @stream.simple_field('arch', host.architecture&.name) @stream.simple_field('subscription_status', host.subscription_status_label) - @stream.simple_field('katello_agent_running', host.content_facet&.katello_agent_installed?) + @stream.simple_field('katello_agent_running', false) @stream.simple_field( 'infrastructure_type', ActiveModel::Type::Boolean.new.cast(fact_value(host, 'virt::is_guest')) ? 'virtual' : 'physical'