Skip to content

Commit

Permalink
fixing some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Stolt committed Jun 25, 2009
1 parent 1babc93 commit 26503cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cookbooks/postgres/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
user 'postgres'
end

template "/data/#{app_name}/shared/config/database.yml" do
template "/data/#{app_name}/shared/config/database.yml.psql" do
source "database.yml.erb"
owner #{user[:username]}
group #[user[:username]}
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/postgres/templates/default/database.yml.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= @node[:environment][:framework_env] %>:
adapter: postgresql
database: <%= @app_name %>_<%= @node[:enfironment][:framework_env] %>
database: <%= @app_name %>_<%= @node[:environment][:framework_env] %>
username: <%= @app_name %>
password: <%= @node[:users][:username] %>
password: <%= @node[:users][:password] %>
host: <%= @node[:db_host] %>

0 comments on commit 26503cc

Please sign in to comment.