bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Please provide Ubuntu 24.04 packages

Open bastelfreak opened this issue 1 year ago • 3 comments

Use Case

As an Ubuntu user I need packages for my distro. Ubuntu 24.04 will have the stable release soon and there are already images available.

Describe the Solution You Would Like

Packages for Ubuntu 24.04

Describe Alternatives You've Considered

Ansible (in theory I could also use the bolt gem but that's not supported by Puppet. Another alternative is that the community builds packages but as far as I know there are no build instructions and your build pipeline is private).

Additional Context

bastelfreak avatar Mar 17 '24 17:03 bastelfreak

Any news here? There was no response to the github issue since march. And there's still no Ubuntu 24.04 package.

bastelfreak avatar Sep 27 '24 09:09 bastelfreak

Interesting that this ticket has seen zero activity in about 7 months since Ubuntu 24.04 was released. I stumbled upon this today:

Failed on myserver:
  The task failed with exit code 1
  09:33:12 +0000 INFO: Version parameter not defined and no agent detected. Assuming latest.
  09:33:12 +0000 INFO: Downloading Puppet latest for Ubuntu...
  09:33:12 +0000 INFO: Ubuntu platform! Lets get you a DEB...
  09:33:12 +0000 INFO: Downloading http://apt.puppet.com/puppet-release-.deb
  09:33:12 +0000 INFO:   to file /tmp/install.sh.1598.38303/puppet-release-.deb
  09:33:12 +0000 INFO: Trying wget...
  09:33:12 +0000 INFO: Retrying... [1/5]
  09:33:12 +0000 INFO: Return code: 8
  09:33:13 +0000 INFO: Retrying... [2/5]
  09:33:13 +0000 INFO: Return code: 8
  09:33:14 +0000 INFO: Retrying... [3/5]
  09:33:14 +0000 INFO: Return code: 8
  09:33:15 +0000 INFO: Retrying... [4/5]
  09:33:15 +0000 INFO: Return code: 8
  09:33:16 +0000 INFO: Retrying... [5/5]
  09:33:16 +0000 INFO: Return code: 8
  09:33:17 +0000 CRIT: ERROR 404
  09:33:17 +0000 CRIT: Unable to retrieve a valid package!
Failed on 1 target: myserver
Ran on 1 target

I had a look at GitHub Insights for this project and it seems that there's only one developer (@donoghuc) somewhat actively working on Puppet Bolt currently: https://github.com/puppetlabs/bolt/graphs/contributors. Maybe that's just not enough to keep the project going.

mattock avatar Nov 26 '24 09:11 mattock

The workaround is to have the official Ubuntu 24.04 puppet-agent package from Puppetlabs installed before running Puppet Bolt:

wget http://apt.puppet.com/puppet8-release-noble.deb
dpkg -i puppet8-release-noble.deb
apt-get update
apt-get install puppet-agent

NOTE 1: you need to install the puppet8-release package for noble. The puppet-release package, or rather the apt repository it points to, does not contain a puppet-agent at all.

NOTE 2: Non-Puppetlabs versions of Puppet will not work due to assumptions made by Bolt (see this bug report).

mattock avatar Nov 26 '24 10:11 mattock