X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/57d0912302e16609980df8129f09085cf9d4efba..5c5ffa21ddcce610d5bbf7b3885b08497e85dac4:/cookbooks/openssh/recipes/default.rb diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index 59c8fe7d8..ceb9a6792 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -25,11 +25,7 @@ package "openssh-server" service "ssh" do action [ :enable, :start ] - if node[:lsb][:release].to_f >= 10.04 - supports :status => true, :restart => true, :reload => true - else - supports :restart => true, :reload => true - end + supports :status => true, :restart => true, :reload => true end hosts = search(:node, "networking:interfaces").sort_by do |node|