Syntax error for running remote script
I either got: `syntax error, unexpected ':', expecting '}` or `wrong number of arguments (given 1, expected 0) (ArgumentError)` until I added the `=` in.
This commit is contained in:
parent
6152f2aa0e
commit
4b99e5676d
|
@ -71,7 +71,7 @@ config.vm.define "ubuntu" do |ubuntu|
|
|||
ubuntu.vm.box = "ubuntu"
|
||||
ubuntu.trigger.before :destroy do |trigger|
|
||||
trigger.warn = "Dumping database to /vagrant/outfile"
|
||||
trigger.run_remote {inline: "pg_dump dbname > /vagrant/outfile"}
|
||||
trigger.run_remote = {inline: "pg_dump dbname > /vagrant/outfile"}
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue