diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-08 13:11:49 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-08 13:11:49 +0000 |
commit | 65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5 (patch) | |
tree | 2f41dc55ed613aa062397752ca46704e217fa4e1 /modules/buildsystem | |
parent | 39c34b875da87e4ef8e979936464bd8eaa10ca21 (diff) | |
download | puppet-65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5.tar puppet-65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5.tar.gz puppet-65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5.tar.bz2 puppet-65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5.tar.xz puppet-65ef9509b3eed75a1e6fa0eccb1e9033fb798ae5.zip |
use cp instead of mv, since mv would requires to be able to write in /var/www/bs/data,
and since permission are set to 755, this doesn't work.
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/maintdb.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp index 43e65cc9..022aed6b 100644 --- a/modules/buildsystem/manifests/maintdb.pp +++ b/modules/buildsystem/manifests/maintdb.pp @@ -47,7 +47,7 @@ class buildsystem { cron { "update maintdb export": user => $login, - command => "$binpath root get > $dump.new; mv -f $dump.new $dump; grep ' nobody\$' $dump | sed 's/ nobody\$//' > $unmaintained.new; mv -f $unmaintained.new $unmaintained", + command => "$binpath root get > $dump.new; cp -f $dump.new $dump; grep ' nobody\$' $dump | sed 's/ nobody\$//' > $unmaintained.new; cp -f $unmaintained.new $unmaintained", minute => "*/30", require => User[$login], } |