Remove unused variable and update template comment

This commit is contained in:
Hunter Haugen 2016-03-04 16:15:57 -08:00
parent f1bd5a9063
commit 35bfae5230

View file

@ -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",