diff options
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, + } +} |