From: Jerome Charaoui Date: Mon, 15 Feb 2010 19:15:03 +0000 (-0500) Subject: add $module_dir_path in modules_dir define for compatibility with David Schmitt's... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9f336296301d595aa879f89331d9b720b3cf62a4;p=puppet-common.git add $module_dir_path in modules_dir define for compatibility with David Schmitt's module --- diff --git a/manifests/defines/modules_dir.pp b/manifests/defines/modules_dir.pp index 36f9c18..fe0d562 100644 --- a/manifests/defines/modules_dir.pp +++ b/manifests/defines/modules_dir.pp @@ -33,3 +33,7 @@ define module_dir ( { modules_dir{$name: mode => $mode, owner => $owner, group => $group } } + +# Use this variable to reference the base path. Thus you are safe from any +# changes. +$module_dir_path = '/var/lib/puppet/modules'