summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2012-07-18 15:15:20 -0400
committerGabriel Filion <lelutin@gmail.com>2012-07-18 15:15:20 -0400
commit29840e4cf94a072fea6bfb0037b29a4f8f67bcdc (patch)
treed7ece28d98da9cf164ca9f8ce91ab1659e416256 /manifests
parentfd5171f5785867d5a42fb83e08bbab85d53c2557 (diff)
make $package_name behave appropriately with apache::debian::module
the default value for package_name in apache::debian::module is 'absent'. Using an empty value makes apache::module's default value break, saying that the package '' (nothing) cannot be found. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests')
-rw-r--r--manifests/module.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/module.pp b/manifests/module.pp
index 1b45dea..42639bb 100644
--- a/manifests/module.pp
+++ b/manifests/module.pp
@@ -1,6 +1,6 @@
define apache::module (
$ensure = present, $source = '',
- $destination = '', $module = '', $package_name = '' )
+ $destination = '', $module = '', $package_name = 'absent' )
{
$real_module = $module ? {