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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2226 by boklm, Mon Aug 1 14:14:19 2011 UTC revision 2227 by misc, Sun Jan 8 22:30:49 2012 UTC
# Line 2  class mga-mirrors { Line 2  class mga-mirrors {
2            
3      $vhost = "mirrors.$domain"      $vhost = "mirrors.$domain"
4    
5      package { 'mga-mirrors':      package { 'mga-mirrors': }
         ensure => installed  
     }  
6    
7      apache::vhost_catalyst_app { $vhost:      apache::vhost_catalyst_app { $vhost:
8          script => "/usr/bin/mga_mirrors_fastcgi.pl",          script => "/usr/bin/mga_mirrors_fastcgi.pl",
# Line 18  class mga-mirrors { Line 16  class mga-mirrors {
16          description => "Mirrors database",          description => "Mirrors database",
17      }      }
18    
19      file { "mga-mirrors.ini":      file { "/etc/mga-mirrors.ini":
         path => "/etc/mga-mirrors.ini",      
         ensure => "present",  
         owner => root,  
20          group => apache,          group => apache,
21          mode => 640,          mode => 640,
22          content => template("mga-mirrors/mga-mirrors.ini"),          content => template("mga-mirrors/mga-mirrors.ini"),
# Line 29  class mga-mirrors { Line 24  class mga-mirrors {
24      }      }
25    
26      file { "/etc/cron.d/mga_mirrors":      file { "/etc/cron.d/mga_mirrors":
         ensure => "present",  
         owner => root,  
         group => root,  
27          content => template("mga-mirrors/cron-mga_mirrors"),          content => template("mga-mirrors/cron-mga_mirrors"),
28          require => Package['mga-mirrors']          require => Package['mga-mirrors']
29      }      }

Legend:
Removed from v.2226  
changed lines
  Added in v.2227

  ViewVC Help
Powered by ViewVC 1.1.30