Skip to content
Browse files

Fix incorrect boolean usage

  • Loading branch information...
1 parent a755b46 commit d8ef6b471b43dead03e1f1bcf93729d4cda05730 @jerrod committed Nov 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
4 recipes/default.rb
@@ -8,10 +8,10 @@
include_recipe "rackbox::nginx"
include_recipe "runit"
-if node["rackbox"]["apps"]["unicorn"]
+if node["rackbox"]["apps"]["unicorn"].any?
include_recipe "rackbox::unicorn"
end
-if node["rackbox"]["apps"]["passenger"]
+if node["rackbox"]["apps"]["passenger"].any?
include_recipe "rackbox::passenger"
end

0 comments on commit d8ef6b4

Please sign in to comment.
Something went wrong with that request. Please try again.