File: fix-install-of-package-in-stretch-and-up.patch

package info (click to toggle)
puppet-module-voxpupuli-corosync 6.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 960 kB
  • sloc: ruby: 7,334; sh: 27; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix install of corosync package in anything after jessie
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2018-08-01

Index: puppet-module-voxpupuli-corosync/manifests/params.pp
===================================================================
--- puppet-module-voxpupuli-corosync.orig/manifests/params.pp
+++ puppet-module-voxpupuli-corosync/manifests/params.pp
@@ -67,7 +67,7 @@ class corosync::params {
           $package_install_options = undef
         }
         'Debian': {
-          if versioncmp($::operatingsystemrelease, '8') >= 0 {
+          if $::lsbdistcodename == 'jessie' {
             $set_votequorum = true
             $manage_pacemaker_service = true
             $test_corosync_config = true