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
