Skip to content

Commit

Permalink
always report katello agent as not running, as it's removed
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 21, 2023
1 parent d89e11c commit 39fbfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_inventory_upload/generators/slice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 39fbfa4

Please sign in to comment.