Merge pull request #748 from hunner/small_changes
Remove unused variable and update template comment
This commit is contained in:
commit
d834e9aa32
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,6 @@ class postgresql::server::config {
|
|||
$user = $postgresql::server::user
|
||||
$group = $postgresql::server::group
|
||||
$version = $postgresql::server::_version
|
||||
$manage_package_repo = $postgresql::server::manage_package_repo
|
||||
$manage_pg_hba_conf = $postgresql::server::manage_pg_hba_conf
|
||||
$manage_pg_ident_conf = $postgresql::server::manage_pg_ident_conf
|
||||
$manage_recovery_conf = $postgresql::server::manage_recovery_conf
|
||||
|
@ -162,6 +161,11 @@ class postgresql::server::config {
|
|||
|
||||
if $::osfamily == 'RedHat' {
|
||||
if $::operatingsystemrelease =~ /^7/ or $::operatingsystem == 'Fedora' {
|
||||
# Template uses:
|
||||
# - $::operatingsystem
|
||||
# - $service_name
|
||||
# - $port
|
||||
# - $datadir
|
||||
file { 'systemd-override':
|
||||
ensure => present,
|
||||
path => "/etc/systemd/system/${service_name}.service",
|
||||
|
|
Loading…
Reference in a new issue