X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6728ed67e4d7dfb29fe546edc21d629fc4ac348c..96596b76108d1e3446d8a0efb9945cdfd91e7eaa:/cookbooks/openssh/recipes/default.rb diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index 432da265f..0bae591ce 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -24,6 +24,9 @@ package "openssh-client" package "openssh-server" service "ssh" do + if node[:lsb][:release].to_f >= 14.04 + provider Chef::Provider::Service::Upstart + end action [ :enable, :start ] supports :status => true, :restart => true, :reload => true end