Uploaded image for project: 'R10K'
  1. R10K
  2. RK-25

Warn if '/etc/r10k.yaml' and '/etc/puppetlabs/r10k/r10k.yaml' both exist

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: r10k 1.5.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      CODEMGMT 2015-03-11

      Description

      RK-24 will add a new location for the r10k configuration file, but this carries the risk of the original file being ignored in favor of the new location. In case configuration files exist at both locations we need to check to see if '/etc/r10k.yaml' and '/etc/puppetlabs/r10k/r10k.yaml' both exist, and in that case we should emit a warning.

      R10k currently has the ability to load configuration files based on the local directory; in this scenario r10k should not emit warnings if a 'r10k.yaml' exists locally as well as one of '/etc/puppetlabs/r10k/r10k.yaml' and '/etc/r10k.yaml'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                adrien Adrien Thebo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support