Skip to content

Commit

Permalink
[utils] updates database configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrithr committed Apr 6, 2014
1 parent 38ebc8d commit 7d5d57f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/manifests/database.pp
Expand Up @@ -20,7 +20,7 @@
database => 'all',
user => 'postgres',
auth_method => 'ident',
order => 10
order => 01
}

postgresql::server::pg_hba_rule { 'allow local connections':
Expand All @@ -29,7 +29,7 @@
database => 'all',
user => 'all',
auth_method => 'md5',
order => 20
order => 02
}

postgresql::server::pg_hba_rule { 'ipv4 local connections':
Expand All @@ -38,7 +38,8 @@
database => 'all',
user => 'all',
address => '127.0.0.1/32',
auth_method => 'trust'
auth_method => 'trust',
order => 03
}

postgresql::server::pg_hba_rule { 'ipv6 local connections':
Expand All @@ -47,7 +48,8 @@
database => 'all',
user => 'all',
address => '::1/128',
auth_method => 'trust'
auth_method => 'trust',
order => 04
}

# create a database for puppetdb
Expand Down

0 comments on commit 7d5d57f

Please sign in to comment.