Skip to content

Commit

Permalink
Remove Debian 7,8,9 and 10 from supported OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Valantin committed Mar 11, 2024
1 parent 872dd80 commit 0e6feb5
Show file tree
Hide file tree
Showing 2 changed files with 19 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
19 changes: 19 additions & 0 deletions spec/functions/supported_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@
}
end

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

describe 'openvmtools::supported' do

Check failure on line 24 in spec/functions/supported_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

RSpec/RepeatedExampleGroupDescription: Repeated describe block description on line(s) [5] (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedExampleGroupDescription)
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 0e6feb5

Please sign in to comment.