X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/19aeb7bfffb852ab8be005c004b1ef8e555a5b77..274f9961096e1a06da571a7db1acc5ba969afbe5:/cookbooks/tools/recipes/default.rb?ds=sidebyside 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