From 35bfae52301569a9eab47596df8a4141aebf7246 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 4 Mar 2016 16:15:57 -0800 Subject: [PATCH] Remove unused variable and update template comment --- manifests/server/config.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/server/config.pp b/manifests/server/config.pp index 592cd6a..a1daac8 100644 --- a/manifests/server/config.pp +++ b/manifests/server/config.pp @@ -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",