OP#200 replace class names
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
## postgresql_cd::server::pg_hba.pp
|
||||
# Module name: postgresql_cd
|
||||
## confdroid_postgresql::server::pg_hba.pp
|
||||
# Module name: confdroid_postgresql
|
||||
# Author: Arne Teuke (arne_teuke@puppetsoft.com)
|
||||
# @summary Class manages pg_hba.conf file and line entries through define
|
||||
# pg_hba_rule.pp
|
||||
# @example postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
|
||||
# @example confdroid_postgresql::server::pghba::pg_hba_rule { 'local access for role postgres':
|
||||
# pl_auth_type => 'local',
|
||||
# pl_auth_database => 'all',
|
||||
# pl_auth_user => 'postgres',
|
||||
@@ -12,9 +12,9 @@
|
||||
# pl_auth_option => '',
|
||||
# }
|
||||
##############################################################################
|
||||
class postgresql_cd::server::pghba::pg_hba (
|
||||
class confdroid_postgresql::server::pghba::pg_hba (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
) inherits confdroid_postgresql::params {
|
||||
if $fqdn == $pl_server_fqdn {
|
||||
# create the pg_hba.conf file
|
||||
|
||||
@@ -34,7 +34,7 @@ class postgresql_cd::server::pghba::pg_hba (
|
||||
}
|
||||
|
||||
# manage default rules => should go into external config set
|
||||
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
|
||||
# confdroid_postgresql::server::pghba::pg_hba_rule { 'local access for role postgres':
|
||||
# pl_auth_type => 'local',
|
||||
# pl_auth_database => 'all',
|
||||
# pl_auth_user => $ql_user_name,
|
||||
@@ -43,7 +43,7 @@ class postgresql_cd::server::pghba::pg_hba (
|
||||
# pl_auth_option => $ql_auth_option,
|
||||
# }
|
||||
|
||||
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for all roles':
|
||||
# confdroid_postgresql::server::pghba::pg_hba_rule { 'local access for all roles':
|
||||
# pl_auth_type => 'local',
|
||||
# pl_auth_database => 'all',
|
||||
# pl_auth_user => 'all',
|
||||
|
||||
Reference in New Issue
Block a user