fixing factpath
This commit is contained in:
@@ -25,8 +25,8 @@ class puppet::common ($ensure = 'present') {
|
|||||||
"${::puppet_vardir}/exported":
|
"${::puppet_vardir}/exported":
|
||||||
ensure => $ens_dir;
|
ensure => $ens_dir;
|
||||||
}
|
}
|
||||||
|
$factpath = "${::puppet_vardir}/lib/facter"
|
||||||
# add facter variable to custom facts.
|
# 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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user