How to reference custom location based parameters within puppet smart class on Red Hat Satellite 6?

Solution Verified - Updated -

Issue

  • Want to define DNS/NTP/SSSD target servers based on location parameters to adjust the order they appear in the related configuration files. What is the syntax to use within the smart class parameters of foreman/katello to reference back to the location parameters?
    Need to understand how to leverage these parameters within puppet classes.
  • Following parameters as optional variables in the "locations" screen of Red Hat Satellite 6.1.

    dns_backup1 = 10.xx.xx.xxx
    dns_backup2 = 10.xx.xx.xxx
    dns_primary = 10.xx.xx.xxx
    dns_secondary = 10.xx.xx.xxx
    eod_primary = example.com
    eod_secondary = example.com
    eod_tertiary = example.com
    location_dns = example
    

Environment

  • Red Hat Satellite 6.1

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