aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/binrepo.pp63
1 files changed, 31 insertions, 32 deletions
diff --git a/modules/buildsystem/manifests/binrepo.pp b/modules/buildsystem/manifests/binrepo.pp
index ca3a7e55..195843df 100644
--- a/modules/buildsystem/manifests/binrepo.pp
+++ b/modules/buildsystem/manifests/binrepo.pp
@@ -1,42 +1,41 @@
class buildsystem::binrepo {
- include buildsystem::base
- include sudo
- $login = 'binrepo'
- $homedir = "/var/lib/$login"
- $repodir = "$homedir/data"
+ include buildsystem::base
+ include sudo
+ $login = 'binrepo'
+ $homedir = "/var/lib/$login"
+ $repodir = "$homedir/data"
- $uploadinfosdir = "$homedir/infos"
- $uploadbinpath = '/usr/local/bin/upload-bin'
- $uploadmail_from = "root@$::domain"
- $uploadmail_to = "packages-commits@ml.$::domain"
+ $uploadinfosdir = "$homedir/infos"
+ $uploadbinpath = '/usr/local/bin/upload-bin'
+ $uploadmail_from = "root@$::domain"
+ $uploadmail_to = "packages-commits@ml.$::domain"
- # used in templates
- $packagers_committers_group = $buildsystem::base::packagers_committers_group
+ # used in templates
+ $packagers_committers_group = $buildsystem::base::packagers_committers_group
- user { $login:
- comment => 'Binary files repository',
- home => $homedir,
- }
+ user { $login:
+ comment => 'Binary files repository',
+ home => $homedir,
+ }
- file { [$repodir, $uploadinfosdir]:
- ensure => directory,
- owner => $login,
- }
+ file { [$repodir, $uploadinfosdir]:
+ ensure => directory,
+ owner => $login,
+ }
- local_script {
- 'upload-bin':
- content => template('buildsystem/binrepo/upload-bin');
- 'wrapper.upload-bin':
- content => template('buildsystem/binrepo/wrapper.upload-bin');
- }
+ local_script {
+ 'upload-bin':
+ content => template('buildsystem/binrepo/upload-bin');
+ 'wrapper.upload-bin':
+ content => template('buildsystem/binrepo/wrapper.upload-bin');
+ }
- sudo::sudoers_config { 'binrepo':
- content => template('buildsystem/binrepo/sudoers.binrepo')
- }
+ sudo::sudoers_config { 'binrepo':
+ content => template('buildsystem/binrepo/sudoers.binrepo')
+ }
- apache::vhost_base { "binrepo.$::domain":
- location => $repodir,
- content => template('buildsystem/binrepo/vhost_binrepo.conf'),
- }
+ apache::vhost_base { "binrepo.$::domain":
+ location => $repodir,
+ content => template('buildsystem/binrepo/vhost_binrepo.conf'),
}
}