voxpupuli/puppet-corosync

Support Debian 9

Closed this issue · 1 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.0.1
  • Ruby: 2.4.1
  • Distribution: Debian 9 "Stretch"
  • Module version: 5.0.0

How to reproduce (e.g Puppet code you use)

On Debian 9 Stretch uninstall package "crmsh", then run this code:

class { 'corosync':
    enable_secauth => false,
    set_votequorum => true,
    unicast_addresses => ['172.17.6.11', '172.17.6.12'],
    quorum_members => ['172.17.6.11', '172.17.6.12'],
}

(specific code should not matter as long as class "corosync" is instantiated)

What are you seeing

The error message:

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold -t jessie-backports install crmsh' returned 100: Reading package lists...
E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
Error: /Stage[main]/Corosync/Package[crmsh]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold -t jessie-backports install crmsh' returned 100: Reading package lists...
E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources

What behaviour did you expect instead

It runs without errors.

Output log

See above

Any additional information you'd like to impart

In manifests/params.pp the package crmsh is forced to be installed from repository "jessie-backports". Neither is "jessie-backports" available on Debian Stretch, nor is it neccessary. Debian Stretch has packages for Pacemaker/Corosync/crmsh available directly from its main repository.

Closed via #416