]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tools/recipes/default.rb
a2245a407ab684b71c15c601d5675687ef6b8a13
[chef.git] / cookbooks / tools / recipes / default.rb
1 #
2 # Cookbook Name:: tools
3 # Recipe:: default
4 #
5 # Copyright 2011, OpenStreetMap Foundation
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19
20 package "bash-completion"
21 package "dmidecode"
22 package "ethtool"
23 package "lsof"
24 package "lsscsi"
25 package "pciutils"
26 package "screen"
27 package "smartmontools"
28 package "strace"
29 package "sysstat"
30 package "tcpdump"
31 package "usbutils"
32 package "numactl"
33 package "xfsprogs"
34 package "sysv-rc-conf"
35 package "iotop"
36
37 if node[:lsb][:release].to_f <= 11.04
38   package "lslk"
39 end
40
41 package "rsyslog"
42
43 service "rsyslog" do
44   action [ :enable, :start ]
45   supports :status => true, :restart => true, :reload => true
46 end
47
48 #Remove unused base package
49 package "mlocate" do
50   action :purge
51 end
52
53 #Remove ubuntu "desktop" vestigal package
54 package "whoopsie" do
55   action :purge
56 end