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

Allow $environment to be used in external_nodes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None
    • Template:

      Description

      I would like to use different ENC settings based on environment.

      This would mean I could put this line in puppet master's puppet.conf:
      external_nodes = $confdir/environments/$environment/enc.rb

      Currently, $environment in that example is read from "environment" variable in [master] on puppet master.

      This would be useful to have the enc.rb script as part of git branch environments, so it could be changed and tested before being applied to production.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  Hypnoz Colin Deisenroth
                  QA Contact:
                  Kurt Wall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: