diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-08 20:25:00 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-08 20:25:00 +0000 |
commit | a38a25b23af8c699eeff27c330f203e9a4c12b7d (patch) | |
tree | 16e60dc7254b0c96527eb072d478e3fe9f771d5e | |
parent | 6a27fbe9d1ddfa4c7803815e0de5fa6dd06357eb (diff) | |
download | puppet-a38a25b23af8c699eeff27c330f203e9a4c12b7d.tar puppet-a38a25b23af8c699eeff27c330f203e9a4c12b7d.tar.gz puppet-a38a25b23af8c699eeff27c330f203e9a4c12b7d.tar.bz2 puppet-a38a25b23af8c699eeff27c330f203e9a4c12b7d.tar.xz puppet-a38a25b23af8c699eeff27c330f203e9a4c12b7d.zip |
use local_script instead of file, small refactoring
-rw-r--r-- | deployment/releasekey/manifests/init.pp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/deployment/releasekey/manifests/init.pp b/deployment/releasekey/manifests/init.pp index 9db97994..2bf528a3 100644 --- a/deployment/releasekey/manifests/init.pp +++ b/deployment/releasekey/manifests/init.pp @@ -25,10 +25,7 @@ class releasekey { require => User[$sign_login], } - file { "/usr/local/bin/sign_checksums": - ensure => present, - owner => $sign_login, - mode => 700, + local_script { "sign_checksums": content => template("releasekey/sign_checksums"), } } |