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:
parent
a3b95463fa
commit
f5dd2c7de9
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user