Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion recipes/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
version node['icinga2']['version'] + node['icinga2']['version_suffix'] unless node['icinga2']['ignore_version']
options node['icinga2']['package_options']
action :install
end
end if Gem::Version.new(node['icinga2']['version']) < Gem::Version.new('2.10')
end

package 'icinga2-doc' do
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
expect(chef_run).to remove_apt_repository('icinga2-snapshot')
end

%w(g++ mailutils build-essential libicinga2).each do |p|
%w(g++ mailutils build-essential).each do |p|
it 'install packages' do
expect(chef_run).to install_package(p)
end
Expand Down