Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3833

cfbs add URL should ad the added_by key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cfbs
    • Labels:
      None

      Description

      There is no added_by key after adding a module by URL.

      ❯ cfbs add https://github.com/nickanderson/cfengine-inventory-fips-mode-setup
      Found 1 modules in 'https://github.com/nickanderson/cfengine-inventory-fips-mode-setup':
        - inventory-fips-mode-setup
      Do you want to add all 1 of them? [y/N] y
      Added module: inventory-fips-mode-setup
      ❯ jq < cfbs.json '.build[-1]'
      {
        "name": "inventory-fips-mode-setup",
        "description": "Inventory the status of fips-mode-setup",
        "url": "https://github.com/nickanderson/cfengine-inventory-fips-mode-setup",
        "commit": "f3c33e6677e09b8634bb379bf4fc491e7cb19a59",
        "steps": [
          "copy policy/main.cf services/inventory-fips-mode-setup/main.cf",
          "json augments.json def.json"
        ]
      }
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: