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

cfbs update should work on modules added by url

    XMLWordPrintable

    Details

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

      Description

      I added a module by url:

      cfbs add https://github.com/nickanderson/cfengine-inventory-etc-login-defs

      Later, I wanted to update that to the newest commit available:

          {
            "name": "inventory-etc-login-defs",
            "description": "Inventory useful bits from /etc/login.defs",
            "url": "https://github.com/nickanderson/cfengine-inventory-etc-login-defs",
            "commit": "63b3a981548085914f2c14eb068d7b651ff2a1b1",
            "steps": [
              "copy ./inventory-etc-login-defs.cf services/inventory-login-defs/inventory-login-defs.cf",
              "json cfbs/def.json def.json"
            ],
            "added_by": "cfbs add"
          }
        ]
      }
      [root@hub cfbs]# cfbs update inventory-etc-login-defs
      WARNING:root:Module 'library-parsed-local-users' not present in the index, cannot update it
      WARNING:root:Module 'inventory-etc-login-defs' not present in the index, cannot update it
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: