Skip to content

Commit

Permalink
Merge pull request #416 from wyardley/debian_9
Browse files Browse the repository at this point in the history
support Debian 9 (#404)
  • Loading branch information
ekohl authored Nov 4, 2017
2 parents 9be045f + 163484e commit 0bbfe48
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
.travis.yml:
extras:
- rvm: 2.3.1
- rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/centos-7
services: docker
sudo: required
bundler_args: --without development
- rvm: 2.3.1
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/debian-8
bundler_args: --without development release
- rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent CHECK=beaker BEAKER_debug=true BEAKER_set=docker/debian-9 BEAKER_VERSION='~> 3.27'
services: docker
sudo: required
bundler_args: --without development
- rvm: 2.3.1
- rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
services: docker
sudo: required
bundler_args: --without development
- rvm: 2.3.1
- rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/ubuntu-16.04
services: docker
sudo: required
Expand Down
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ matrix:
- rvm: 2.4.2
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
- rvm: 2.3.1
- rvm: 2.4.2
bundler_args: --without development
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/centos-7
services: docker
sudo: required
- rvm: 2.3.1
bundler_args: --without development
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/debian-8
- rvm: 2.4.2
bundler_args: --without development release
env: PUPPET_INSTALL_TYPE=agent CHECK=beaker BEAKER_debug=true BEAKER_set=docker/debian-9 BEAKER_VERSION='~> 3.27'
services: docker
sudo: required
- rvm: 2.3.1
- rvm: 2.4.2
bundler_args: --without development
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
services: docker
sudo: required
- rvm: 2.3.1
- rvm: 2.4.2
bundler_args: --without development
env: PUPPET_INSTALL_TYPE=agent CHECK=acceptance BEAKER_debug=true BEAKER_set=docker/ubuntu-16.04
services: docker
Expand Down
6 changes: 5 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@
if versioncmp($::operatingsystemrelease, '8') >= 0 {
$set_votequorum = true
$manage_pacemaker_service = true
$package_install_options = ['-t', 'jessie-backports']
$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
Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
Expand Down

0 comments on commit 0bbfe48

Please sign in to comment.