Skip to content

Commit

Permalink
(MODULES-7562) - Addition of support for Ubuntu 18.04 to haproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
David Swan committed Jul 31, 2018
1 parent 1efa6fa commit 0c1a50f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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 0c1a50f

Please sign in to comment.