Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Debian 9 #404

Closed
Caprico85 opened this issue Jul 30, 2017 · 1 comment
Closed

Support Debian 9 #404

Caprico85 opened this issue Jul 30, 2017 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Caprico85
Copy link

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.

@wyardley wyardley added the enhancement New feature or request label Oct 23, 2017
@wyardley wyardley modified the milestones: 7.x, 6.x Oct 26, 2017
ekohl added a commit that referenced this issue Nov 4, 2017
@wyardley
Copy link
Contributor

wyardley commented Nov 6, 2017

Closed via #416

@wyardley wyardley closed this as completed Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants