Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2556

Allow hiera to set metaparameters for a class

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      It would be cool if you could assign metaparameters with hiera. I discovered today that I was unable to use hiera to set the stage for my yum repo class, so in my profile, I had to use parameterized classes. Not the worst thing in the world, but it clashes with the idea of avoiding parameterized classes in favor of includes with automatic hiera lookup.

      It was suggested to me that I could wrap the class in another class that takes a regular parameter from hiera, and then use that parameter to set the stage. Yuck.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              m4lk4v Paul William Tittle
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support