Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 5
Ruby: 2.3.3
Distribution: Ubuntu
Module version: 6.0.0
How to reproduce (e.g Puppet code you use)
class pp_rundeck::rundeck (
$rundeck_package_ensure = "3.3.12.202105021-1"
[...]
) inherits pp_rundeck::params {
class {'rundeck':
package_ensure => $rundeck_package_ensure,
[...]
}
[...]
}
What are you seeing
Error installing the package, not found in the repository
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install rundeck=3.3.12.20210521-1' returned 100: Reading package lists...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Building dependency tree...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Reading state information...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: W: --force-yes is deprecated%!(PACKER_COMMA) use one of the options starting with --allow instead.
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: E: Version '3.3.12.20210521-1' for 'rundeck' was not found
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Error: /Stage[main]/Rundeck::Install/Package[rundeck]/ensure: change from 'purged' to '3.3.12.20210521-1' failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install rundeck=3.3.12.20210521-1' returned 100: Reading package lists...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Building dependency tree...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: Reading state information...
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: W: --force-yes is deprecated%!(PACKER_COMMA) use one of the options starting with --allow instead.
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: E: Version '3.3.12.20210521-1' for 'rundeck' was not found
build 02-Jun-2021 08:13:37 1622621617,,ui,message, amazon-ebs: [2021-06-02T08:13:37.276349Z+0000] Notice: /Stage[main]/Rundeck::Install/File[/var/rundeck]: Dependency Package[rundeck] has failures: true
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Error installing the package, not found in the repository
What behaviour did you expect instead
Rundeck package installed without issues
Any additional information you'd like to impart
Rundeck has release their latest packages, >3.3.10, to a new repository (https://packages.rundeck.com/pagerduty/rundeck)
This is partially related to issue #452
As a workaround I will try to set manage_repo to false and add the new Rundeck repo myself using the suggested installation script from https://github.com/rundeck/rundeck/issues/7098