Permalink
Browse files

Now using the chef-extensions gem

  • Loading branch information...
gerhard committed Jan 12, 2012
1 parent 47bef09 commit 6c3be8f1d1c26d198f694b7fe4fe8fc6c81d2e9a
Showing with 4 additions and 7 deletions.
  1. +3 −0 README.md
  2. +1 −7 recipes/default.rb
View
@@ -0,0 +1,3 @@
+Sets up essential packages and provides essential resources for every server (mostly Ubuntu).
+
+Requires the chef-extensions gem.
View
@@ -3,13 +3,7 @@
include_recipe "apt"
end
-if Chef::Util.respond_to?(:wan_up?)
- skip = Chef::Util.wan_up? ? false : true
-else
- skip = false
-end
-
-unless skip
+if Chef::Extensions.wan_up?
# install new packages
node[:bootstrap][:packages][:install].each do |name|
package name do

0 comments on commit 6c3be8f

Please sign in to comment.