Skip to content

Commit

Permalink
Use multipackage support in Chef 12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed Sep 23, 2015
1 parent 0038c50 commit 8dbce7d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@
end
end

node['tomcat']['packages'].each do |pkg|
package pkg do
action :install
end
package node['tomcat']['packages'] do
action :install
end

node['tomcat']['deploy_manager_packages'].each do |pkg|
package pkg do
action :install
end
package node['tomcat']['deploy_manager_packages'] do
action :install
end

unless node['tomcat']['deploy_manager_apps']
Expand Down

0 comments on commit 8dbce7d

Please sign in to comment.