Remove puppet-manifests code made obsolete by ansible
As a result of switch to Ansible, remove the obsolete erb templates and remove the dependency of is_initial_config_primary facter. Change-Id: I4ca6525f01a37da971dc66a11ee99ea4e115e3ad Partial-Bug: 1834218 Depends-On: https://review.opendev.org/#/c/703517/ Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
@@ -94,17 +94,6 @@ class platform::postgresql::server (
|
||||
}
|
||||
}
|
||||
|
||||
if str2bool($::is_initial_config_primary) {
|
||||
$service_ensure = 'running'
|
||||
|
||||
# ensure service is stopped after initial configuration
|
||||
class { '::platform::postgresql::post':
|
||||
stage => post
|
||||
}
|
||||
} else {
|
||||
$service_ensure = 'stopped'
|
||||
}
|
||||
|
||||
class {'::postgresql::globals':
|
||||
datadir => $data_dir,
|
||||
confdir => $config_dir,
|
||||
@@ -112,7 +101,7 @@ class platform::postgresql::server (
|
||||
|
||||
-> class {'::postgresql::server':
|
||||
ip_mask_allow_all_users => $ipv4acl,
|
||||
service_ensure => $service_ensure,
|
||||
service_ensure => 'stopped',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user