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

puppet_agent : install not working when wget is not installed

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • puppet_agent
    • None
    • docker debian 8 image

    • Night's Watch
    • 1
    • 2019-11-27, 2019-12-11
    • Manual Test
    • Not Needed
    • Needs Assessment

    Description

      Basic Info
      Module Version: 2.2.2
      Puppet Version: 
      OS Name/Version: Debian 8

      Trying to install puppet agent without having wget installed causes an error.

      Without wget, the puppet::agent task it is trying to use perl to download the .deb file and the downloaded package has 0 bytes, causing the install error.

      Desired Behavior:

      puppet agent should be installed

      Actual Behavior:

      {"target"=>"localhost:2223", "action"=>"task", "object"=>"puppet_agent::install", "status"=>"failure", "result"=>\{"_output"=>"11:33:18 +0000 INFO: Version parameter not defined, assuming latest\n11:33:18 +0000 INFO: Downloading Puppet latest for Debian...\n11:33:18 +0000 INFO: Debian platform! Lets get you a DEB...\n11:33:18 +0000 INFO: Downloading http://apt.puppet.com/puppet-release-jessie.deb\n11:33:18 +0000 INFO: to file /tmp/install.sh.540.167556300/puppet-release-jessie.deb\n11:33:18 +0000 INFO: Trying perl...\n11:33:18 +0000 CRIT: Unable to retrieve a valid package!\n", "_error"=>{"kind"=>"puppetlabs.tasks/task-error", "issue_code"=>"TASK_ERROR", "msg"=>"The task failed with exit code 1", "details"=>{"exit_code"=>1}}}, "node"=>"localhost:2223"}
      

      Attachments

        Activity

          People

            ciprian.badescu Ciprian Badescu
            florin.dragos Florin Dragos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support