projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a040a37
)
Don't require sysv-rc-conf on Ubuntu 18.04
author
Tom Hughes
<tom@compton.nu>
Thu, 7 Jun 2018 14:08:22 +0000
(15:08 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 7 Jun 2018 14:10:34 +0000
(15:10 +0100)
cookbooks/tools/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/tools/recipes/default.rb
b/cookbooks/tools/recipes/default.rb
index b0dc2bb9c8fff5114a81f92948bec61c672a1d53..a8afec012bc27d754e8d90826f59127b4f790bec 100644
(file)
--- 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