Skip to content
Snippets Groups Projects
Commit 6f11c05b authored by Nils Olof Paulsson's avatar Nils Olof Paulsson
Browse files

allowallonlocalhost

parent ee5325f9
No related branches found
No related tags found
2 merge requests!2Test,!1Devel
Pipeline #119437 passed
...@@ -3,7 +3,9 @@ class egg::postgres () { ...@@ -3,7 +3,9 @@ class egg::postgres () {
package { ['postgresql', 'postgresql-contrib']: package { ['postgresql', 'postgresql-contrib']:
ensure => 'installed', ensure => 'installed',
} }
class { 'postgresql::server': } class { 'postgresql::server':
pg_hba_conf_defaults => false,
}
postgresql::server::db { 'nta-digital_nodejs': postgresql::server::db { 'nta-digital_nodejs':
user => 'nilpa76', user => 'nilpa76',
...@@ -14,7 +16,7 @@ class egg::postgres () { ...@@ -14,7 +16,7 @@ class egg::postgres () {
postgresql::server::pg_hba_rule { 'allow local access as postgres user': postgresql::server::pg_hba_rule { 'allow local access as postgres user':
type => 'local', type => 'local',
database => 'all', database => 'all',
user => 'postgres', user => 'all',
auth_method => 'trust', auth_method => 'trust',
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment