Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-5889

vcsrepo : doesn't support git sslverify parameter

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • vcsrepo
    • None
    • Hide

      You can clone/pull a repo without verifying the SSL certificate.

      Show
      You can clone/pull a repo without verifying the SSL certificate.
    • Modules
    • Needs Assessment

    Description

      Basic Info
      Module Version: 2.2.0
      Puppet Version: 4.10
      OS Name/Version: Linux / Windows

      If the Git repo is hosted on a server with a self-signed certificate, you can't clone/pull it, as you can't pass along an sslverify=false parameter.

      I can't do a "git config http.sslVerify=false", as that only works if I've already cloned the repo. I can set that on a "--global" level, but that's not a desired option here.

      Desired Behavior:
      Be able to clone/pull with sslverify=false. The Git command would then contain something like "-c http.sslVerify=false".
      Perhaps the already existing parameter "trust_server_cert" can be used here. That parameter is currently only used for svn, but might as well use it for Git.

      Actual Behavior:
      Can't clone/pull repo.

      Attachments

        Activity

          People

            eric.putnam Eric Putnam
            Mrk Mark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support