Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Debian 7,8,9 and 10 from supported OS #75

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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