Provisioning new hosts in Red Hat Satellite 6 fails with Error rendering the custom Satellite Kickstart Default template: ActionView::Template::Error: Safemode doesn't allow to access 'block_pass' on &:present

Solution Verified - Updated -

Issue

  • Provisioning new hosts in Red Hat Satellite 6 using custom kickstart template fails with error:

    There was an error rendering the <Custom provisioning template name> 
    template: ActionView::Template::Error: Safemode doesn't allow to access 'block_pass' on &:present? 
    

Environment

  • Red Hat Satellite 6.5 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content