diff options
author | mh <mh@immerda.ch> | 2009-12-09 23:57:37 +0100 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-09-02 18:14:07 -0400 |
commit | 75f88ffda0e3f2128ed4108d3ed0035c48f00c5b (patch) | |
tree | 5f28788541173fe61d11760d8e9f1088e471a37d | |
parent | d39201f8a224f1dd153818948d72f4c87d3fdf81 (diff) | |
download | puppet-common-75f88ffda0e3f2128ed4108d3ed0035c48f00c5b.tar.gz puppet-common-75f88ffda0e3f2128ed4108d3ed0035c48f00c5b.tar.bz2 |
add alias for compatibility
-rw-r--r-- | manifests/defines/modules_dir.pp | 8 |
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 } +} |