edit order
This commit is contained in:
@@ -7,6 +7,7 @@ class postgresql_cd::main::files (
|
|||||||
|
|
||||||
) inherits postgresql_cd::params {
|
) inherits postgresql_cd::params {
|
||||||
if $fqdn == $pl_server_fqdn {
|
if $fqdn == $pl_server_fqdn {
|
||||||
|
require postgresql_cd::server::initdb
|
||||||
require postgresql_cd::main::dirs
|
require postgresql_cd::main::dirs
|
||||||
|
|
||||||
file { '/var/lib/pgsql/data/pg_hba.conf':
|
file { '/var/lib/pgsql/data/pg_hba.conf':
|
||||||
|
|||||||
@@ -13,4 +13,6 @@ class postgresql_cd::server::initdb (
|
|||||||
path => ['/sbin','/usr/bin'],
|
path => ['/sbin','/usr/bin'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include postgresql_cd::main::files
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ class postgresql_cd::server::service (
|
|||||||
|
|
||||||
) inherits postgresql_cd::params {
|
) inherits postgresql_cd::params {
|
||||||
if $fqdn == $pl_server_fqdn {
|
if $fqdn == $pl_server_fqdn {
|
||||||
include postgresql_cd::main::files
|
|
||||||
require postgresql_cd::firewall::iptables
|
require postgresql_cd::firewall::iptables
|
||||||
require postgresql_cd::server::initdb
|
require postgresql_cd::server::initdb
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user