Loading manifests/debian.pp +8 −2 Original line number Diff line number Diff line Loading @@ -51,9 +51,15 @@ class su_apache::debian ( $debian_major_version = $facts['os']['distro']['release']['major'] if ($facts['os']['name'] == 'Debian') { if (Integer($debian_major_version) < 9) { fail("This class only works with Debian stretch and later") } } elsif ($facts['os']['name'] == 'Ubuntu') { if (Float($debian_major_version) < 16.0) { fail("This class only works with Ubuntu xenial and later") } } # Set the SSL/TLS protocols and ciphers. su_apache::conf { 'ssl-strength.conf': Loading Loading
manifests/debian.pp +8 −2 Original line number Diff line number Diff line Loading @@ -51,9 +51,15 @@ class su_apache::debian ( $debian_major_version = $facts['os']['distro']['release']['major'] if ($facts['os']['name'] == 'Debian') { if (Integer($debian_major_version) < 9) { fail("This class only works with Debian stretch and later") } } elsif ($facts['os']['name'] == 'Ubuntu') { if (Float($debian_major_version) < 16.0) { fail("This class only works with Ubuntu xenial and later") } } # Set the SSL/TLS protocols and ciphers. su_apache::conf { 'ssl-strength.conf': Loading