Permalink
Browse files

refactor: avoid specific packages to write on recipes

by code review
  • Loading branch information...
banyan committed Mar 19, 2013
1 parent 6538491 commit 0285bc1ff52a3b336678d80d74d12d7594e129f2
@@ -0,0 +1,8 @@
node.default[:packages] = %w(
curl
build-essential
libyaml-dev
libxml2
libxml2-dev
libxslt1-dev
)
@@ -14,16 +14,7 @@
# action :run
# end

packages = %w(
curl
build-essential
libyaml-dev
libxml2
libxml2-dev
libxslt1-dev
)

packages.each do |p|
node.default[:packages].each do |p|
package p do
action :install
end

0 comments on commit 0285bc1

Please sign in to comment.