diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-20 09:46:55 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-20 09:46:55 +0300 |
commit | fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684 (patch) | |
tree | 6e5ea2d901a24059d2c30a3a2f5742cb89536d54 /modules/mga_common/manifests | |
parent | 23395242055e0ebc067e83edcaf09d67ef2e2497 (diff) | |
download | puppet-fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684.tar puppet-fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684.tar.gz puppet-fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684.tar.bz2 puppet-fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684.tar.xz puppet-fa7d4cff7dbaf8e808a28f4e00b1d656bdf45684.zip |
lint fixes for mga_common
Diffstat (limited to 'modules/mga_common/manifests')
-rw-r--r-- | modules/mga_common/manifests/local_script.pp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/mga_common/manifests/local_script.pp b/modules/mga_common/manifests/local_script.pp index 70aad7b0..3272786b 100644 --- a/modules/mga_common/manifests/local_script.pp +++ b/modules/mga_common/manifests/local_script.pp @@ -1,22 +1,22 @@ define mga_common::local_script( $content = undef, $source = undef, - $owner = 'root', - $group = 'root', - $mode = '0755') { - $filename = "/usr/local/bin/$name" + $owner = 'root', + $group = 'root', + $mode = '0755') { + $filename = "/usr/local/bin/${name}" file { $filename: - owner => $owner, - group => $group, - mode => $mode, + owner => $owner, + group => $group, + mode => $mode, } if ($source == undef) { - File[$filename] { - content => $content, - } + File[$filename] { + content => $content, + } } else { - File[$filename] { - source => $source, - } + File[$filename] { + source => $source, + } } } |