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

lookup cli has no way to set arbitrary scope values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Information
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Sub-team:
    • Team:
      Froyo

      Description

      When constructing hierarchies it's best to use $trusted wherever possible and there are legit use cases for using random in scope vars.

      The old CLI let you specify arbitrary scope which would be used to satisfy testing these on the CLI, with new lookup this is pretty hard/impossible.

      It lets you supply facts from a file which then is only accessible as facts.foo for example, no way to do trusted or random vars.

      I might have missed a obvious way to achieve this so this ticket could be a non issue but could not find it.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ripienaar R.I.Pienaar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support