Skip to content

Commit

Permalink
Fix: Use double quotes for command
Browse files Browse the repository at this point in the history
Change: specify type for shared folder
  • Loading branch information
fmbiete committed Nov 14, 2020
1 parent a143c41 commit 7b8d927
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
#config.vm.box = "geerlingguy/centos7"

config.vm.provider :virtualbox do |vb|
vb.name = "pgauditlogtofile-centos7-test"
Expand Down Expand Up @@ -43,13 +44,13 @@ Vagrant.configure(2) do |config|
# Enable pgauditlogtofile
/usr/bin/sudo -u postgres psql -Xc 'create extension pgauditlogtofile' postgres
/usr/bin/sudo -u postgres psql -Xc 'select name, setting, unit from pg_settings where name like 'pgaudit%' order by name' postgres
/usr/bin/sudo -u postgres psql -Xc "select name, setting, unit from pg_settings where name like 'pgaudit%' order by name" postgres
SHELL

# Don't share the default vagrant folder
config.vm.synced_folder ".", "/vagrant", disabled: true

# Mount project path for testing
config.vm.synced_folder "..", "/pgauditlogtofile"
config.vm.synced_folder "..", "/pgauditlogtofile", type: "virtualbox"
end

0 comments on commit 7b8d927

Please sign in to comment.