Skip to content

Commit da169b9

Browse files
committed
README.md: correct postgresql_conn_validator example
it's required to set the psql_path parameter. Otherwise you end up with something like: ``` Debug: Executing: '--tuples-only --quiet --no-psqlrc --host 127.0.0.1 --port 5432 --username grafana --dbname grafana --command SELECT 1' ```
1 parent ac4781c commit da169b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,9 @@ postgresql_conn_validator { 'validate my postgres connection':
321321
db_username => 'mydbuser',
322322
db_password => 'mydbpassword',
323323
db_name => 'mydbname',
324-
}->
325-
exec { 'rake db:migrate':
324+
psql_path => '/usr/bin/psql',
325+
}
326+
-> exec { 'rake db:migrate':
326327
cwd => '/opt/myrubyapp',
327328
}
328329
```

0 commit comments

Comments
 (0)