summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/base/recipes/packages.rb
blob: f8ceb342ad58aff2bdcdc9fec5033accedccca0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Cookbook:: base
# Recipe:: packages
#
# Copyright:: 2014-2017, Chef Software, Inc.
#

# this is just a list of package that exist on every O/S we test, and often aren't installed by default.  you don't
# have to get too clever here, you can delete packages if they don't exist everywhere we test.
pkgs = %w{lsof tcpdump strace zsh dmidecode ltrace bc curl wget subversion traceroute htop tmux }

# this deliberately calls the multipackage API N times in order to do one package installation in order to exercise the
# multipackage cookbook.
pkgs.each do |pkg|
  multipackage pkgs
end

gems = %w{fpm community_cookbook_releaser}

gems.each do |gem|
  chef_gem gem do
    compile_time false
  end
end