aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2012-02-27 10:17:53 +0000
committerDexter Morgan <dmorgan@mageia.org>2012-02-27 10:17:53 +0000
commit86f2960fd7a2e70538a3997f83918c6c16034469 (patch)
tree5bed18a99ffc26363862d511b905f83a188ca8bc /deployment
parenteea26b959ac8c913b37fcf8f5a0c87674b51620b (diff)
downloadpuppet-86f2960fd7a2e70538a3997f83918c6c16034469.tar
puppet-86f2960fd7a2e70538a3997f83918c6c16034469.tar.gz
puppet-86f2960fd7a2e70538a3997f83918c6c16034469.tar.bz2
puppet-86f2960fd7a2e70538a3997f83918c6c16034469.tar.xz
puppet-86f2960fd7a2e70538a3997f83918c6c16034469.zip
Ensure cpan_Mageia.db can be read
Diffstat (limited to 'deployment')
-rw-r--r--deployment/websites/manifests/pkgcpan.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/websites/manifests/pkgcpan.pp b/deployment/websites/manifests/pkgcpan.pp
index 5edab395..bcf8e54d 100644
--- a/deployment/websites/manifests/pkgcpan.pp
+++ b/deployment/websites/manifests/pkgcpan.pp
@@ -29,4 +29,10 @@ class websites::pkgcpan {
command => "pkgcpan -q -f $vhostdir/cpan_Mageia.db -d Mageia",
user => $pkgcpan_login,
}
+
+ file { $vhostdir/cpan_Mageia.db:
+ owner => $pkgcpan_login,
+ group => $pkgcpan_login,
+ }
+
}