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

Make modulepath, manifest, and config_version configurable per-environment

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.5.0
    • Fix Version/s: PUP 3.6.0
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      Week 2014-3-05 to 2014-3-12, Week 2014-3-12 to 2014-3-19, Week 2014-3-19 to 2014-3-26

      Description

      In order to make the new environment system fully usable, the default modulepath, manifest, and config_version needs to be overridable on a per-environment basis. This is possible in the current system with the environment stanzas and similar flexibility needs to be retained in the directory environments.

      Each environment should optionally have an environment.conf file that has the same format as puppet.conf, but is restricted about what can be in it. The environment.conf can only contain:

      • modulepath
      • manifest
      • config_version

      Any other settings or any sections in the file will generate an error. The error will be reported in the logs and the environment will not be usable.

      Any relative paths specified in the environment.conf are interpreted relative to the environment's directory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andy Andrew Parker
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support