From a8bd3915c926e16353dbd99489d91b11af6eaad6 Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Thu, 30 May 2013 16:55:56 +0200 Subject: [PATCH] fixing factpath --- manifests/common.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/common.pp b/manifests/common.pp index 896cefe..f29b2f3 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -25,8 +25,8 @@ class puppet::common ($ensure = 'present') { "${::puppet_vardir}/exported": ensure => $ens_dir; } - + $factpath = "${::puppet_vardir}/lib/facter" # add facter variable to custom facts. - file { '/etc/profile.d/puppet.sh': content => "export FACTERLIB=\"${::factpath}\"\n", + file { '/etc/profile.d/puppet.sh': content => "export FACTERLIB=\"${factpath}\"\n", } }