Browse files

updated the rcipe to use the correct permissions for the theme direct…

…ory and to fill in the db-config.php.erb with the correct user name and password for the database pulled from the role[base] attributes
  • Loading branch information...
1 parent d85e4b4 commit 8f17fcb452cf1fd20dd7e3122913bc8d7a7fd0af Kevin Gray committed Oct 29, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 cookbooks/wordpress/recipes/default.rb
View
6 cookbooks/wordpress/recipes/default.rb
@@ -72,10 +72,10 @@
source "dyntini-theme"
owner "www-data"
group "www-data"
- mode "0644"
+ mode "0755"
files_owner "www-data"
files_group "www-data"
- files_mode "0644"
+ files_mode "0755"
end
cookbook_file "#{node.wordpress.dir}/wp-content/db.php" do
@@ -99,6 +99,8 @@
mode "0644"
variables(
:region => region,
+ :user => node[:dynect][:dbuser],
+ :password => node[:dynect][:dbpassword],
:dbmw => dbmw,
:dbmr => dbmr,
:dbsw => dbsw,

0 comments on commit 8f17fcb

Please sign in to comment.