Add documentation note about non-standard pg port

This commit is contained in:
Oliver Gorwits
2014-05-23 23:11:27 +01:00
parent d84150bda9
commit 980aaa4535
2 changed files with 21 additions and 1 deletions

View File

@@ -1,10 +1,14 @@
2.027005_002 - 2014-05-22
[ENHANCEMENTS]
* Increase default snmptimeout from 1 to 3 seconds
* Add documentation note about non-standard pg port
[BUG FIXES]
* Unrouted VLAN interfaces have numbers on Cisco - ignore them
* fix undefined key in Discover
* Increase default snmptimeout from 1 to 3 seconds
2.027005_001 - 2014-05-21

View File

@@ -28,6 +28,22 @@ the database service):
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 md5
=head1 Connect to PostgreSQL database on non-standard port
The standard port for PostgreSQL is 5432. To connect on a different port you
need to use the C<host> option under C<database:> config in your
C<~/environments/deployment.yml> file. For example if connecting to a database
on the local server:
database:
name: 'netdisco'
user: 'changeme'
pass: 'changeme'
host: 'localhost;port=5432'
Obviously, substitute the C<user>, C<pass>, and actual port number for your
local values. Note the separator character is a semicolon.
=head1 Deploy without Internet access
The C<netdisco-deploy> script asks for Internet access but it is possible to