OP#200 replace class names
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
## postgresql_cd::main::config.pp
|
||||
# Module name: postgresql_cd
|
||||
## confdroid_postgresql::main::config.pp
|
||||
# Module name: confdroid_postgresql
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages logic for the postgresql_cd module.
|
||||
# @summary Class manages logic for the confdroid_postgresql module.
|
||||
##############################################################################
|
||||
class postgresql_cd::main::config (
|
||||
class confdroid_postgresql::main::config (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
include postgresql_cd::main::install
|
||||
) inherits confdroid_postgresql::params {
|
||||
include confdroid_postgresql::main::install
|
||||
|
||||
if $fqdn == $pl_server_fqdn {
|
||||
include postgresql_cd::server::service
|
||||
include confdroid_postgresql::server::service
|
||||
# if $pl_use_exporter == true {
|
||||
# include postgresql_cd::exporter::service
|
||||
# include confdroid_postgresql::exporter::service
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
## postgresql_cd::main::dirs.pp
|
||||
# Module name: postgresql_cd
|
||||
## confdroid_postgresql::main::dirs.pp
|
||||
# Module name: confdroid_postgresql
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages logic for the postgresql_cd module.
|
||||
# @summary Class manages logic for the confdroid_postgresql module.
|
||||
##############################################################################
|
||||
class postgresql_cd::main::dirs (
|
||||
class confdroid_postgresql::main::dirs (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
require postgresql_cd::main::install
|
||||
) inherits confdroid_postgresql::params {
|
||||
require confdroid_postgresql::main::install
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
## postgresql_cd::main::files.pp
|
||||
# Module name: postgresql_cd
|
||||
## confdroid_postgresql::main::files.pp
|
||||
# Module name: confdroid_postgresql
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages logic for the postgresql_cd module.
|
||||
# @summary Class manages logic for the confdroid_postgresql module.
|
||||
##############################################################################
|
||||
class postgresql_cd::main::files (
|
||||
class confdroid_postgresql::main::files (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
) inherits confdroid_postgresql::params {
|
||||
if $fqdn == $pl_server_fqdn {
|
||||
require postgresql_cd::server::initdb
|
||||
require postgresql_cd::main::dirs
|
||||
require confdroid_postgresql::server::initdb
|
||||
require confdroid_postgresql::main::dirs
|
||||
|
||||
file { '/var/lib/pgsql/data/postgresql.conf':
|
||||
ensure => file,
|
||||
@@ -19,7 +19,7 @@ class postgresql_cd::main::files (
|
||||
selrole => object_r,
|
||||
seltype => postgresql_db_t,
|
||||
seluser => unconfined_u,
|
||||
content => template('postgresql_cd/postgresql.conf.erb'),
|
||||
content => template('confdroid_postgresql/postgresql.conf.erb'),
|
||||
notify => Service[$pl_service],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
## postgresql_cd::main::install.pp
|
||||
# Module name: postgresql_cd
|
||||
## confdroid_postgresql::main::install.pp
|
||||
# Module name: confdroid_postgresql
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages logic for the postgresql_cd module.
|
||||
# @summary Class manages logic for the confdroid_postgresql module.
|
||||
##############################################################################
|
||||
class postgresql_cd::main::install (
|
||||
class confdroid_postgresql::main::install (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
) inherits confdroid_postgresql::params {
|
||||
if $fqdn == $pl_server_fqdn {
|
||||
package { $reqpackages_server:
|
||||
ensure => $pkg_ensure,
|
||||
|
||||
Reference in New Issue
Block a user