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

puppet-agent file source fails with https

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 6.14.0
    • None
    • None
    • None
    • Hide

      Allow the file resource to download the https source in puppet-agent 6.14.0

      Show
      Allow the file resource to download the https source in puppet-agent 6.14.0
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet-agent 6.14.0-1 Errors when trying to enforce a file with HTTPS source is complaining about CA certificates are missing 'etc/puppetlabs/puppet/ssl/certs/ca.pem'.  In 6.13.0 it does not require this and sets the file resource correctly.  This is a puppet masterless setup where the puppet apply is happening on the node itself.

      Puppet Version 6.14.0

      OS Version: 

       

      NAME="Amazon Linux"
      VERSION="2"
      ID="amzn"
      ID_LIKE="centos rhel fedora"
      VERSION_ID="2"
      PRETTY_NAME="Amazon Linux 2"
      ANSI_COLOR="0;33"
      CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
      HOME_URL="https://amazonlinux.com/"

      Puppet Manifest File:

        file { "${instanceBase}/webapps/foo.war":
          ensure  => present,
          source  => "https://bar.com/foo.war",
          mode    => '0640'
        }
      

       

      Puppet Apply error:

       

      Notice: Compiled catalog for ip-172-17-16-133.us-west-2.compute.internal in environment production in 1.60 seconds
      Error: Failed to initialize SSL: The CA certificates are missing from '/etc/puppetlabs/puppet/ssl/certs/ca.pem'
      Error: Run `puppet agent -t`
      Error: Request to https://bar.com/foo.war failed after 0.001 seconds: The CA certificates are missing from '/etc/puppetlabs/puppet/ssl/certs/ca.pem'
      Wrapped exception:
      The CA certificates are missing from '/etc/puppetlabs/puppet/ssl/certs/ca.pem'
      Notice: Applied catalog in 9.75 seconds
      You have new mail in /var/spool/mail/root
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryanro03 Ryan Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support