Skip to content

Commit

Permalink
Merge pull request #324 from david22swan/MODULES-7562
Browse files Browse the repository at this point in the history
(MODULES-7562) - Addition of support for Ubuntu 18.04 to haproxy
  • Loading branch information
tphoney authored Aug 1, 2018
2 parents 1efa6fa + 6ec3af5 commit 6215a5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -969,9 +969,9 @@ This type will setup a additional defaults configuration block inside the haprox
This module is tested and officially supported on the following platforms:

* RHEL versions 5, 6, and 7
* Ubuntu versions 10.04, 12.04, and 14.04
* Debian versions 6 and 7
* Scientific Linux versions 5, 6, and 7
* Ubuntu versions 14.04, 16.04 and 18.04
* Debian versions 8 and 9
* Scientific Linux versions 6, and 7
* CentOS versions 5, 6, and 7
* Oracle Linux versions 5, 6, and 7

Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"14.04",
"16.04"
"16.04",
"18.04"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class { 'epel': before => Package['socat'], }
onlyif => 'which getenforce && getenforce | grep Enforcing',
}
}
if ($::osfamily == 'RedHat' and $::operatingsystemmajrelease == '7') or ($::osfamily == 'Debian' and $::operatingsystemmajrelease == '9') {
if ($::osfamily == 'RedHat' and $::operatingsystemmajrelease == '7') or ($::osfamily == 'Debian' and ($::operatingsystemmajrelease == '9' or $::operatingsystemmajrelease == '18.04')) {
# For `netstat` for serverspec
package { 'net-tools': ensure => present, }
}
Expand Down

0 comments on commit 6215a5e

Please sign in to comment.