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

File resource unable to download external https source

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 6.14.0
    • None
    • None
    • None
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet Version: 6.14.0
      Puppet Server Version: -
      OS Name/Version: Ubuntu

      With puppet agents version prior to 6.14.0 the following was possible:

      > puppet apply -e 'file { "/tmp/download": source => "https://getcomposer.org/download/1.5.2/composer.phar" }'
      Notice: Compiled catalog for test.example.com in environment production in 0.01 seconds
      Error: certificate verify failed [unable to get local issuer certificate for CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US]
      Error: /Stage[main]/Main/File[/tmp/download]/ensure: change from 'absent' to 'file' failed: certificate verify failed [unable to get local issuer certificate for CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US]
      Notice: Applied catalog in 0.38 seconds

      This is probably connected to PUP-5069

      Desired Behavior:

      To be able to download from external https sources again.

      Actual Behavior:

      See error above.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vicinus Reinhard Vicinus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support