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

puppet_agent : install not working when wget is not installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Environment:

      docker debian 8 image

    • Template:
      MODULES Bug Template
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      2019-11-27, 2019-12-11
    • Method Found:
      Manual Test
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support