Skip to content

Commit

Permalink
Remove workaround for chef-client < 11.14, as it breaks xenial
Browse files Browse the repository at this point in the history
  • Loading branch information
chr4 committed Jun 2, 2016
1 parent 897a772 commit 634f441
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions definitions/openssh_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ class Chef::Recipe
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
# TODO: 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 :nothing
end
Expand Down

0 comments on commit 634f441

Please sign in to comment.