Fix the command importing the schema on db creation
It had an extra }, but this only fails when creating the databases
This commit is contained in:
@@ -122,7 +122,7 @@ hosts.each do |host|
|
|||||||
|
|
||||||
execute "create db schema #{host[:sql_database]}" do
|
execute "create db schema #{host[:sql_database]}" do
|
||||||
user "ejabberd"
|
user "ejabberd"
|
||||||
command "psql #{host[:sql_database]}} < #{Chef::Config[:file_cache_path]}/pg.sql"
|
command "psql #{host[:sql_database]} < #{Chef::Config[:file_cache_path]}/pg.sql"
|
||||||
action :nothing
|
action :nothing
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user