Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request poise#13 from amccloud/patch-1
Browse files Browse the repository at this point in the history
Cast cookbook_name to string for template resource cookbook attrribute.
  • Loading branch information
Joshua Timberman committed Jan 13, 2013
2 parents f0066ea + addb34c commit 0a3a724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/django.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def created_settings_file

template "#{new_resource.path}/shared/#{new_resource.local_settings_base}" do
source new_resource.settings_template || "settings.py.erb"
cookbook new_resource.settings_template ? new_resource.cookbook_name : "application_python"
cookbook new_resource.settings_template ? new_resource.cookbook_name.to_s : "application_python"
owner new_resource.owner
group new_resource.group
mode "644"
Expand Down

0 comments on commit 0a3a724

Please sign in to comment.