I moved the section about pg_hba before the config since the changes are required in order to log into the db. Also fixed the pg_hba line.
Signed-off-by: Ian Main <[email protected]> --- src/config/database.pg | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/config/database.pg b/src/config/database.pg index 1932c3c..39fc32e 100644 --- a/src/config/database.pg +++ b/src/config/database.pg @@ -3,6 +3,12 @@ # Fedora Install Instructions: # sudo yum install ruby-postgres postgresql-server # sudo /sbin/service postgresql initdb +# +# On a local system you may need to edit this file to have only the following +# /var/lib/pgsql/data/pg_hba.conf +# local all all trust +# host all all 127.0.0.1/32 trust +# # sudo /sbin/service postgresql start # sudo su - postgres # $ psql @@ -10,7 +16,9 @@ # $-# \q # $ exit # -# To start off a new environment, use the following commands: +# To start off a new environment, use the following commands. +# If running from /usr/share/deltacloud-aggregator, use 'sudo' or run as root +# as the migrate will write to a file. # # rake db:drop:all # rake db:create:all @@ -23,10 +31,6 @@ # rake db:test:prepare # for the environment you wish to update. # -# On a local system you may need to edit this file to have only the following -# /var/lib/pgsql/data/pg_hba.conf -# local all all trust -# host all all 127.0.0.1 255.255.255.255 trust development: -- 1.7.1.1 _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
