Skip to content

Commit

Permalink
Merge pull request #75 from Valantin/del-debian
Browse files Browse the repository at this point in the history
Remove Debian 7,8,9 and 10 from supported OS
  • Loading branch information
bastelfreak committed Mar 11, 2024
2 parents e4b711e + 5f1d0c2 commit 3a91394
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
4 changes: 0 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"7",
"8",
"9",
"10",
"11",
"12"
]
Expand Down
17 changes: 17 additions & 0 deletions spec/functions/supported_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@
}
end

it 'returns false' do
is_expected.to run.with_params('openvmtools').and_return(false)
end
end

context 'On Debian 11' do
let(:facts) do
{
os: {
name: 'Debian',
release: {
major: '11',
}
}
}
end

it 'returns true' do
is_expected.to run.with_params('openvmtools').and_return(true)
end
Expand Down

0 comments on commit 3a91394

Please sign in to comment.