Merge pull request #748 from hunner/small_changes

Remove unused variable and update template comment
This commit is contained in:
David Schmitt 2016-03-07 10:45:48 +00:00
commit d834e9aa32

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