X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/19aeb7bfffb852ab8be005c004b1ef8e555a5b77..bf16c782a9d8e78c4b14a35b899b81992f91155f:/cookbooks/tools/recipes/default.rb diff --git a/cookbooks/tools/recipes/default.rb b/cookbooks/tools/recipes/default.rb index 99c03e2b9..a8afec012 100644 --- a/cookbooks/tools/recipes/default.rb +++ b/cookbooks/tools/recipes/default.rb @@ -8,7 +8,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -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