Add documentation note about non-standard pg port
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user