/[adm]/puppet/modules/buildsystem/manifests/binrepo.pp
ViewVC logotype

Annotation of /puppet/modules/buildsystem/manifests/binrepo.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2691 - (hide annotations) (download)
Sun Mar 25 12:47:26 2012 UTC (12 years ago) by misc
File size: 1144 byte(s)
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
1 misc 2515 class buildsystem::binrepo {
2 misc 2533 include buildsystem::base
3     include sudo
4     $login = 'binrepo'
5     $homedir = "/var/lib/$login"
6     $repodir = "$homedir/data"
7 misc 2515
8 misc 2533 $uploadinfosdir = "$homedir/infos"
9     $uploadbinpath = '/usr/local/bin/upload-bin'
10     $uploadmail_from = "root@$::domain"
11     $uploadmail_to = "packages-commits@ml.$::domain"
12 misc 2191
13 misc 2533 # used in templates
14     $packagers_committers_group = $buildsystem::base::packagers_committers_group
15 misc 2191
16 misc 2533 user { $login:
17     comment => 'Binary files repository',
18     home => $homedir,
19     }
20 misc 2191
21 misc 2533 file { [$repodir, $uploadinfosdir]:
22     ensure => directory,
23     owner => $login,
24     }
25 misc 2191
26 misc 2533 local_script {
27     'upload-bin':
28     content => template('buildsystem/binrepo/upload-bin');
29     'wrapper.upload-bin':
30     content => template('buildsystem/binrepo/wrapper.upload-bin');
31     }
32 misc 2191
33 misc 2533 sudo::sudoers_config { 'binrepo':
34     content => template('buildsystem/binrepo/sudoers.binrepo')
35     }
36 misc 2191
37 misc 2691 apache::vhost::base { "binrepo.$::domain":
38 misc 2533 location => $repodir,
39     content => template('buildsystem/binrepo/vhost_binrepo.conf'),
40 misc 2191 }
41     }

Properties

Name Value
svn:keywords "ID Date Rev"

  ViewVC Help
Powered by ViewVC 1.1.30