aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/defines/modules_dir.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/defines/modules_dir.pp b/manifests/defines/modules_dir.pp
index 071fc56..36f9c18 100644
--- a/manifests/defines/modules_dir.pp
+++ b/manifests/defines/modules_dir.pp
@@ -25,3 +25,11 @@ define modules_dir (
}
}
}
+
+# alias for compatibility
+define module_dir (
+ $mode = 0644, $owner = root, $group = 0
+ )
+{
+ modules_dir{$name: mode => $mode, owner => $owner, group => $group }
+}