aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2012-06-27 12:46:37 +0000
committerDexter Morgan <dmorgan@mageia.org>2012-06-27 12:46:37 +0000
commit186471747f3d56deee8890a8749de2b9c1826a77 (patch)
tree9566c178e324daf3f37c92abe38c429b77ac1267 /deployment/websites
parent8669dd1bd50f6960a2c02f927b22042a554cb698 (diff)
downloadpuppet-186471747f3d56deee8890a8749de2b9c1826a77.tar
puppet-186471747f3d56deee8890a8749de2b9c1826a77.tar.gz
puppet-186471747f3d56deee8890a8749de2b9c1826a77.tar.bz2
puppet-186471747f3d56deee8890a8749de2b9c1826a77.tar.xz
puppet-186471747f3d56deee8890a8749de2b9c1826a77.zip
Fix perms of cpan_Mageia.db after pkgcpan
Diffstat (limited to 'deployment/websites')
-rw-r--r--deployment/websites/manifests/perl.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/websites/manifests/perl.pp b/deployment/websites/manifests/perl.pp
index b0608c88..041bde63 100644
--- a/deployment/websites/manifests/perl.pp
+++ b/deployment/websites/manifests/perl.pp
@@ -28,7 +28,7 @@ class websites::perl {
hour => 23,
minute => 0,
require => Package['perl-Module-Packaged-Generator'],
- command => "pkgcpan -q -f $vhostdir/cpan_Mageia.db -d Mageia",
+ command => "pkgcpan -q -f $vhostdir/cpan_Mageia.db -d Mageia && chmod 644 $vhostdir/cpan_Mageia.db",
user => $login,
}