From 5130b3265641a18c3aff2908b838e94fe4cf0d05 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 7 Jun 2018 15:08:22 +0100 Subject: [PATCH] Don't require sysv-rc-conf on Ubuntu 18.04 --- cookbooks/tools/recipes/default.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/tools/recipes/default.rb b/cookbooks/tools/recipes/default.rb index b0dc2bb9c..a8afec012 100644 --- a/cookbooks/tools/recipes/default.rb +++ b/cookbooks/tools/recipes/default.rb @@ -32,12 +32,15 @@ package %w[ usbutils numactl xfsprogs - sysv-rc-conf iotop lvm2 rsyslog ] +if node[:lsb][:release].to_f < 18.04 + package "sysv-rc-conf" +end + service "rsyslog" do action [:enable, :start] supports :status => true, :restart => true, :reload => true -- 2.43.2