File: remove-jessie-specific-default.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 (36 lines) | stat: -rw-r--r-- 1,358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Remove jessie specific defaults
 The module assumes $::lsbdistcodename is set with something, but this doesn't
 work in Sid. So this patch just get rid of the Jessie specific stuff in the
 parmas.pp manifest.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2019-09-12

--- puppet-module-voxpupuli-corosync-5.0.0.orig/manifests/params.pp
+++ puppet-module-voxpupuli-corosync-5.0.0/manifests/params.pp
@@ -67,21 +67,10 @@
           $package_install_options = undef
         }
         'Debian': {
-          if $::lsbdistcodename == 'jessie' {
-            $set_votequorum = true
-            $manage_pacemaker_service = true
-            $test_corosync_config = true
-            if versioncmp($::operatingsystemrelease, '8') == 0 {
-              $package_install_options = ['-t', 'jessie-backports']
-            } else {
-              $package_install_options = undef
-            }
-          } else {
-            $set_votequorum = false
-            $manage_pacemaker_service = false
-            $package_install_options = undef
-            $test_corosync_config = false
-          }
+          $set_votequorum = false
+          $manage_pacemaker_service = false
+          $package_install_options = undef
+          $test_corosync_config = false
         }
         default : {
           $set_votequorum = false