Skip to content

litmus:install_agent does not work on EL since PR #754 #758

@Henrik-Hansson

Description

@Henrik-Hansson

Describe the Bug

litmus:install_agent does not work on EL systems since #754 was merged.
Without access to https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum, litmus can't install the Puppet agent.

Expected Behavior

Expected behavior is that litmus:install_agent should be able to download the agent.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run litmus:install_agent on any EL system

Environment

  • main branch
  • All YUM/DNF based OS
  • puppet-7-nightly, puppet-8-nightly'

Additional Context

I have seen the same issue for puppetlabs-stdlib PR#391:
https://github.com/puppetlabs/puppetlabs-stdlib/actions/runs/13273038130/job/37056797419?pr=1448

The error message from puppetlabs-stdlib:
Installation of agent failed.
Results:
8b851ca1970b: {"_output"=>"21:42:30 +0000 INFO: Version parameter not defined and no agent detected. Assuming latest.\n21:42:30 +0000 INFO: Downloading Puppet latest for el...\n21:42:30 +0000 INFO: Red hat like platform! Lets get you an RPM...\n21:42:30 +0000 INFO: Downloading https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum/puppet7-nightly-release-el-8.noarch.rpm\n21:42:30 +0000 INFO: to file /tmp/install.sh.231.42299/puppet7-nightly-release-el-8.noarch.rpm\n21:42:30 +0000 INFO: Trying curl...\n21:42:30 +0000 INFO: Retrying... [1/5]\n21:42:30 +0000 INFO: Return code: 6\n21:42:31 +0000 INFO: Retrying... [2/5]\n21:42:31 +0000 INFO: Return code: 6\n21:42:32 +0000 INFO: Retrying... [3/5]\n21:42:32 +0000 INFO: Return code: 6\n21:42:33 +0000 INFO: Retrying... [4/5]\n21:42:33 +0000 INFO: Return code: 6\n21:42:34 +0000 INFO: Retrying... [5/5]\n21:42:34 +0000 INFO: Return code: 6\n21:42:35 +0000 CRIT: Cannot download package as none of wget/curl/fetch/perl-LWP-Simple/perl-File-Fetch/python3/apt-helper is found\n21:42:35 +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}}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions