diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 18:40:57 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 18:40:57 +0000 |
commit | 13df066349300cc0de896fddc2700b9c1b337001 (patch) | |
tree | f506ec5c9a88d64b62d4f0523e1241ab9934d80e /modules | |
parent | 40b82ac3f4edc85f470fd1705cf4f8f0032c2698 (diff) | |
download | puppet-13df066349300cc0de896fddc2700b9c1b337001.tar puppet-13df066349300cc0de896fddc2700b9c1b337001.tar.gz puppet-13df066349300cc0de896fddc2700b9c1b337001.tar.bz2 puppet-13df066349300cc0de896fddc2700b9c1b337001.tar.xz puppet-13df066349300cc0de896fddc2700b9c1b337001.zip |
Move local_script define to mga-common module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mga-common/manifests/local_script.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/mga-common/manifests/local_script.pp b/modules/mga-common/manifests/local_script.pp new file mode 100644 index 00000000..0b8f4514 --- /dev/null +++ b/modules/mga-common/manifests/local_script.pp @@ -0,0 +1,11 @@ +define mga-common::local_script($content, + $owner = 'root', + $group = 'root', + $mode = '0755') { + file { "/usr/local/bin/$name": + owner => $owner, + group => $group, + mode => $mode, + content => $content, + } +} |