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

puppet lookup -E doesn't execute the ENC

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Information
    • Normal
    • Resolution: Unresolved
    • PUP 6.26.0, PUP 6.27.0
    • None
    • Hiera & Lookup
    • RHEL 7 (x86_64)
    • Phoenix
    • 5
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet Version: 6.27.0 (should be 6.27.1 but puppet -V shows an 'unreleased' version 6.27.0)
      Puppet Server Version: 6.19.0
      OS Name/Version: RHEL7

       puppet lookup --compile --node `hostname -f` -E production somevalue

      Doesn't execute the ENC at all. So all variables that are defined via the ENC's parameters are not available. Oddly enough '-E production' fails too. Not providing '-E production' (so it defaults to the production environment) does execute the ENC.

       

      Desired Behavior:

       puppet lookup -E <environment> --compile

       should execute the ENC.

      Actual Behavior:

      ENC is never executed (and its values aren't passed). Even with '-E production'. It does work without -E. But this makes it impossible to check hiera in a dev environment. Some of our modules are depending on variables that are set via the ENC. Code just fails to compile because all of the ENC's information is missing.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SirDice Remko Catersels
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support