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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3114 - (hide annotations) (download)
Thu May 23 15:04:25 2013 UTC (10 years, 11 months ago) by boklm
File size: 689 byte(s)
buildsystem: rename pkgsubmit to webstatus

Rename buildsystem::pkgsubmit to buildsystem::webstatus. pkgsubmit name
has been used as the name of the host to submit packages, and the
hostname of the web page to view the buildsystem status, but the two are
different things, so they should be separated.
1 boklm 3114 class buildsystem::webstatus {
2 boklm 2924 include buildsystem::var::scheduler
3     $sched_home_dir = $buildsystem::var::scheduler::homedir
4 misc 2538
5 misc 2527 $location = '/var/www/bs'
6     file { [$location,"$location/data"]:
7     ensure => directory,
8     }
9    
10 misc 2691 apache::vhost::base { "pkgsubmit.$::domain":
11 pterjan 2968 aliases => {
12     '/uploads' => "$sched_home_dir/uploads",
13     '/autobuild/cauldron/x86_64/core/log/status.core.log' => "$location/autobuild/broken.php"
14     },
15 misc 2527 location => $location,
16 boklm 3114 content => template('buildsystem/vhost_webstatus.conf'),
17 misc 2527 }
18    
19     subversion::snapshot { $location:
20     source => "svn://svn.$::domain/soft/buildsystem/web/",
21     }
22     }

  ViewVC Help
Powered by ViewVC 1.1.30