X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fppa.pp;h=ed7057c8539f0be47011e78197241a87cddefa48;hb=9f27ea9da08cd693153b1d69cc2edcd9e336a4b3;hp=7ea5c4ca1a08a6dca7d642a7c8c970193bbf99ad;hpb=67dd216cf8bc2a444c55892f3c7f3cf190e9414f;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/ppa.pp b/manifests/ppa.pp index 7ea5c4c..ed7057c 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -67,8 +67,9 @@ define apt::ppa ( $trusted_gpg_d_filename = "${dash_filename_no_specialchars}.gpg" } - # This is the location of our main exec script - $script_path = "/opt/puppetlabs/puppet/cache/add-apt-repository-${dash_filename_no_specialchars}-${release}.sh" + # This is the location of our main exec script. + $cache_path = $facts['puppet_vardir'] + $script_path = "${cache_path}/add-apt-repository-${dash_filename_no_specialchars}-${release}.sh" if $ensure == 'present' { if $package_manage {