Skip to content

Commit

Permalink
Merge pull request crowbar#49 from rhafer/pull-req-master-36fe5284bb2…
Browse files Browse the repository at this point in the history
…a9413ccbae3d00c1b19a7612ce79c

crowbar#49

Merged by devtool for rhafer
  • Loading branch information
rhafer committed Mar 28, 2013
2 parents 7531ad0 + 9f1a1bb commit d61755e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion chef/cookbooks/logging/recipes/server.rb
Expand Up @@ -35,7 +35,13 @@

service "rsyslog" do
provider Chef::Provider::Service::Upstart if node[:platform] == "ubuntu"
service_name "syslog" if node[:platform] == "suse"
if node[:platform] == "suse"
if node[:platform_version].to_f >= 12.3
provider Chef::Provider::Service::Systemd
else
service_name "syslog"
end
end
supports :restart => true, :status => true, :reload => true
running true
enabled true
Expand Down

0 comments on commit d61755e

Please sign in to comment.