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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3254 - (show annotations) (download)
Wed Jun 19 19:15:59 2013 UTC (10 years, 10 months ago) by boklm
File size: 1119 byte(s)
Rename mga-common module to mga_common.

New puppet version doesn't like modules with a - in their name.
1 class buildsystem::binrepo {
2 include buildsystem::var::binrepo
3 include buildsystem::var::groups
4 include sudo
5
6 # upload-bin script use the mailx command provided by nail
7 package { 'nail':
8 ensure => installed,
9 }
10
11 user { $buildsystem::var::binrepo::login:
12 comment => 'Binary files repository',
13 home => $buildsystem::var::binrepo::homedir,
14 }
15
16 file { [$buildsystem::var::binrepo::repodir, $buildsystem::var::binrepo::uploadinfosdir]:
17 ensure => directory,
18 owner => $buildsystem::var::binrepo::login,
19 }
20
21 mga_common::local_script {
22 'upload-bin':
23 content => template('buildsystem/binrepo/upload-bin');
24 'wrapper.upload-bin':
25 content => template('buildsystem/binrepo/wrapper.upload-bin');
26 }
27
28 sudo::sudoers_config { 'binrepo':
29 content => template('buildsystem/binrepo/sudoers.binrepo')
30 }
31
32 apache::vhost::base { $buildsystem::var::binrepo::hostname:
33 location => $buildsystem::var::binrepo::repodir,
34 content => template('buildsystem/binrepo/vhost_binrepo.conf'),
35 }
36 }

Properties

Name Value
svn:keywords "ID Date Rev"

  ViewVC Help
Powered by ViewVC 1.1.30