engines/bastion_katello/lib/bastion_katello/engine.rb in katello-4.0.3 vs engines/bastion_katello/lib/bastion_katello/engine.rb in katello-4.1.0.rc1
- old
+ new
@@ -32,21 +32,21 @@
ostree_branches
errata
packages
lifecycle_environments
products
- puppet_modules
sync_plans
host_collections
katello_tasks
select_organization
),
:config_generator => lambda do
{ 'consumerCertRPM' => consumer_cert_rpm,
'defaultDownloadPolicy' => !Foreman.in_rake? && db_migrated && Setting['default_download_policy'],
+ 'katelloAgentPresent' => ::Katello.with_katello_agent?,
'remoteExecutionPresent' => ::Katello.with_remote_execution?,
- 'remoteExecutionByDefault' => ::Katello.with_remote_execution? &&
- db_migrated && Setting['remote_execution_by_default']
+ 'hostToolingEnabled' => (::Katello.with_katello_agent? || ::Katello.with_remote_execution?) ? true : false,
+ 'remoteExecutionByDefault' => ::Katello.remote_execution_by_default?
}
end
)
end
end