Skip to content

Commit

Permalink
[cm] Fixes typo in scm database config
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrithr committed Mar 20, 2014
1 parent 619b1dd commit f486db5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cm/manifests/database.pp
@@ -1,16 +1,16 @@
# Creates scm database in postgres # Creates scm database in postgres
class cm::database { class cm::database inherits utils::database {
postgres::server::db { $cm::params::scm_database_name: postgresql::server::db { $cm::params::scm_database_name:
user => $scm_username, user => $cm::params::scm_username,
password => $scm_password password => $cm::params::scm_password
} }


postgres::server::pg_hba_rule { 'allow scm user': postgresql::server::pg_hba_rule { 'allow scm user':
description => 'Open up postgresql for access to scm database', description => 'Open up postgresql for access to scm database',
type => 'host', type => 'host',
database => $cm::params::scm_database_name, database => $cm::params::scm_database_name,
user => $cm::params::scm_username, user => $cm::params::scm_username,
address => '127.0.0.1/32', address => '0.0.0.0/0',
auth_method => 'trust' auth_method => 'trust'
} }
} }

0 comments on commit f486db5

Please sign in to comment.