/[adm]/puppet/modules/mga-mirrors/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/mga-mirrors/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations) (download)
Thu Nov 4 20:34:59 2010 UTC (13 years, 3 months ago) by misc
File size: 735 byte(s)
- add the config file in svn 

1 class mga-mirrors {
2
3 include apache::mod_fcgid
4
5 package { 'mga-mirrors':
6 ensure => installed
7 }
8
9 # add a apache vhost
10 file { "mirrors.$domain.conf":
11 path => "/etc/httpd/conf/vhosts.d/$name.$domain.conf",
12 ensure => "present",
13 owner => root,
14 group => root,
15 mode => 644,
16 notify => Service['apache'],
17 content => template("mga-mirrors/mirrors_vhost.conf")
18 }
19
20 $password = extlookup("mga_mirror_password")
21
22 file { "mga-mirrors.ini":
23 path => "/etc/mga-mirrors.ini",
24 ensure => "present",
25 owner => apache,
26 group => apache,
27 mode => 600,
28 content => template("mga-mirrors/mga-mirrors.ini")
29 }
30 }

  ViewVC Help
Powered by ViewVC 1.1.30