Skip to content

Commit

Permalink
Merge pull request #563 from bastelfreak/debian8
Browse files Browse the repository at this point in the history
Drop EOL Debian 8
  • Loading branch information
bastelfreak authored Sep 13, 2020
2 parents 744df5b + 18782f5 commit 3eab8d5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
docker_sets:
- set: ubuntu1604-64
- set: ubuntu1804-64
- set: debian8-64
- set: debian9-64
- set: centos7-64
spec/spec_helper_acceptance.rb:
Expand Down
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ jobs:
bundler_args: --without development release
env: BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_setfile=ubuntu1804-64 CHECK=beaker
services: docker
- rvm: 2.5.3
bundler_args: --without development release
env: BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_setfile=debian8-64 CHECK=beaker
services: docker
- rvm: 2.5.3
bundler_args: --without development release
env: BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_setfile=debian8-64 CHECK=beaker
services: docker
- rvm: 2.5.3
bundler_args: --without development release
env: BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_setfile=debian9-64 CHECK=beaker
Expand Down
3 changes: 1 addition & 2 deletions manifests/pyvenv.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
if ( $facts['os']['family'] == 'Debian') {
$python3_venv_package="python${normalized_python_version}-venv"
case $facts['os']['distro']['codename'] {
'xenial','bionic','cosmic','disco',
'jessie','stretch','buster': {
'xenial','bionic','cosmic','disco','stretch','buster': {
ensure_packages ($python3_venv_package)
Package[$python3_venv_package] -> File[$venv_dir]
}
Expand Down
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"8",
"9"
]
},
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/pyvenv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
it { is_expected.to contain_file('/opt/env') }
it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }

if %w[xenial bionic cosmic disco jessie stretch buster].include?(facts[:lsbdistcodename])
if %w[xenial bionic cosmic disco stretch buster].include?(facts[:lsbdistcodename])
it { is_expected.to contain_package('python3.5-venv').that_comes_before('File[/opt/env]') }
end
end
Expand Down

0 comments on commit 3eab8d5

Please sign in to comment.