summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/end_to_end/recipes/packages.rb
blob: 069487486f10675db3f6770e0e22fa3fbd638d5c (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:: end_to_end
# Recipe:: packages
#
# Copyright:: 2014-2018, 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