Skip to content

Commit

Permalink
Fix for xenial.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinto committed Oct 22, 2016
1 parent ca8ae4e commit 386ee47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions recipes/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
end

service node['sshd']['service_name'] do
# Due to a bug in Chef, we need to manually set the provider to Upstart for Ubuntu 13.10 and 14.04
# This will probably be fixed in chef-client 11.14
provider Chef::Provider::Service::Upstart if node['platform'] == 'ubuntu' && node['platform_version'] >= '13.10'
supports status: true, restart: true, reload: true
action [:enable, :start]
end

0 comments on commit 386ee47

Please sign in to comment.