Skip to content

Commit

Permalink
Merge branch 'COOK-532'
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed May 3, 2011
2 parents ef9720d + 0abd990 commit 61c57f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/recipes/django.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

# we need the django version to render the correct type of settings.py file
django_version = 1.2
if app['pips'].has_key?('django') && !app['pips']['django'].blank?
if app['pips'].has_key?('django') && !app['pips']['django'].strip.empty?
django_version = app['pips']['django'].to_f
end

Expand Down
2 changes: 1 addition & 1 deletion riak/providers/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
include Timeout

def load_current_resource
Chef::Application.fatal!("Can't join a Riak cluster without cluster_members.") if Chef::Config[:solo] && new_resource.cluster_members.blank?
Chef::Application.fatal!("Can't join a Riak cluster without cluster_members.") if Chef::Config[:solo] && new_resource.cluster_members.empty?
@current_resource ||= Chef::Resource::RiakCluster.new(new_resource.cluster_name)
current_resource.ring_ready(ringready)
Chef::Application.fatal!("Can't join a Riak cluster if the local node is not running.") unless current_resource.ring_ready[:running]
Expand Down

0 comments on commit 61c57f6

Please sign in to comment.