Project

General

Profile

Actions

Bug #36717

closed

Safemode doesn't allow to access 'katello_agent_enabled?'

Added by Oleh Fedorenko over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

After https://projects.theforeman.org/issues/36706, redhat_register snippet rendering fails with

Error rendering the Kickstart default template
12:01:34 rails.1   | 2023-09-04T12:01:34 [I|app|0f696a3b] Backtrace for 'Error rendering the Kickstart default template' error (Foreman::Exception): ERF42-7327 [Foreman::Exception]: The snippet 'redhat_register' threw an error: Safemode doesn't allow to access 'katello_agent_enabled?' on #<Safemode::ScopeObject>

Actions

Also available in: Atom PDF