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

Adding a custom module repo in cfbs is not portable

    XMLWordPrintable

    Details

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

      Description

      If I add a module repo by git URL and then try to use the same cfbs content on another computer it fails the checksum check.

      mkdir test
      cd test
      cfbs init
      cfbs add masterfiles
      cfbs add https://github.com/cfengine/modules/
      cfbs build
      

      that works, but if I copy the test dir to a different computer and run cfbs build it fails:

      craig@w500:~/test-cfbs$ cfbs build --loglevel debug
      
      Modules:
      001 masterfiles                         @ f3a8f65e77428a6ab9d62c34057a7ace6ae54ce9 (Downloaded)
      DEBUG: Starting new HTTPS connection (1): raw.githubusercontent.com:443
      DEBUG: https://raw.githubusercontent.com:443 "GET /cfengine/build-index/master/versions.json HTTP/1.1" 200 17418
      Error: Cannot verify checksum of the 'autorun' module
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            craig.comstock Craig Comstock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: