aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-15 22:54:59 +0000
committerMichael Scherer <misc@mageia.org>2012-03-15 22:54:59 +0000
commit0e36bef771e5936d72fd4f80a6dae9c1de474f6c (patch)
treee52772ea2c72ff23251b1eee31e19b84ad3b7f25 /deployment/websites
parente40e95a92a3586ef5e866d88302c35546bf15c23 (diff)
downloadpuppet-0e36bef771e5936d72fd4f80a6dae9c1de474f6c.tar
puppet-0e36bef771e5936d72fd4f80a6dae9c1de474f6c.tar.gz
puppet-0e36bef771e5936d72fd4f80a6dae9c1de474f6c.tar.bz2
puppet-0e36bef771e5936d72fd4f80a6dae9c1de474f6c.tar.xz
puppet-0e36bef771e5936d72fd4f80a6dae9c1de474f6c.zip
make puppet-lint happy
Diffstat (limited to 'deployment/websites')
-rw-r--r--deployment/websites/manifests/pkgcpan.pp11
1 files changed, 5 insertions, 6 deletions
diff --git a/deployment/websites/manifests/pkgcpan.pp b/deployment/websites/manifests/pkgcpan.pp
index 2fbe3a0d..01d2b8b8 100644
--- a/deployment/websites/manifests/pkgcpan.pp
+++ b/deployment/websites/manifests/pkgcpan.pp
@@ -6,8 +6,8 @@ class websites::pkgcpan {
$pkgcpan_homedir = "/var/lib/$pkgcpan_login"
user { $pkgcpan_login:
- managehome => true,
- home => $pkgcpan_homedir,
+ managehome => true,
+ home => $pkgcpan_homedir,
}
apache::vhost_base { $vhost:
@@ -17,8 +17,8 @@ class websites::pkgcpan {
file { $vhostdir:
ensure => directory,
- owner => $pkgcpan_login,
- group => $pkgcpan_login,
+ owner => $pkgcpan_login,
+ group => $pkgcpan_login,
}
package { 'perl-Module-Packaged-Generator': }
@@ -27,12 +27,11 @@ class websites::pkgcpan {
hour => 23,
require => Package['perl-Module-Packaged-Generator'],
command => "pkgcpan -q -f $vhostdir/cpan_Mageia.db -d Mageia",
- user => $pkgcpan_login,
+ user => $pkgcpan_login,
}
file { "$vhostdir/cpan_Mageia.db":
owner => $pkgcpan_login,
group => $pkgcpan_login,
}
-
}