Skip to content
Browse files

Now using the chef-extensions gem

  • Loading branch information...
1 parent 47bef09 commit 6c3be8f1d1c26d198f694b7fe4fe8fc6c81d2e9a @gerhard gerhard committed
Showing with 4 additions and 7 deletions.
  1. +3 −0 README.md
  2. +1 −7 recipes/default.rb
View
3 README.md
@@ -0,0 +1,3 @@
+Sets up essential packages and provides essential resources for every server (mostly Ubuntu).
+
+Requires the chef-extensions gem.
View
8 recipes/default.rb
@@ -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.
Something went wrong with that request. Please try again.