]> git.openstreetmap.org Git - chef.git/commitdiff
Use multipackage installs throughout
authorTim Smith <tsmith@chef.io>
Wed, 15 Nov 2017 23:14:53 +0000 (15:14 -0800)
committerTom Hughes <tom@compton.nu>
Thu, 16 Nov 2017 08:49:53 +0000 (08:49 +0000)
In Chef 12.1 we introduced multipackage installs. Instead of shelling
out to dpkg for each package to determine what we should do we gather
the information we need and check each package in the array. It's faster
and it takes less memory. It's especially useful after the first run when
nothing actually changes. Far fewer resources consumed.

I noticed you arranged the packages so I tried to keep them to that
same arrangement and I used multiline arrays since they make the diffs
nicer in the future as you add / remove packages. This isn't necessary
for Chef 13, but it's best practice.

Signed-off-by: Tim Smith <tsmith@chef.io>
Closes #137


No differences found