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:
Greg Karékinian 2020-04-20 14:52:11 +02:00
parent a3b95463fa
commit f5dd2c7de9

View File

@ -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