Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cm] Fixes typo in scm database config
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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' | ||
} | } | ||
} | } |