/[adm]/puppet/deployment/websites/manifests/init.pp
ViewVC logotype

Diff of /puppet/deployment/websites/manifests/init.pp

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

revision 1706 by misc, Tue Jun 7 01:29:16 2011 UTC revision 1825 by misc, Fri Jul 8 13:45:36 2011 UTC
# Line 80  class websites { Line 80  class websites {
80              url => "http://$web_domain/",              url => "http://$web_domain/",
81          }          }
82      }      }
83    
84        class pkgcpan inherits base {
85            $vhost = "pkgcpan.$domain"
86            $vhostdir = "$webdatadir/$vhost"
87    
88            apache::vhost_base { "$vhost":
89                location => $vhostdir,
90                options => [ "Indexes" ]
91            }                
92            
93            file { $vhostdir:
94                ensure => directory,
95            }
96    
97            package { "perl-Module-Packaged-Generator":
98                ensure => installed,        
99            }
100            
101            cron { "update cpanpkg":
102                hour => 23,
103                require => Package['perl-Module-Packaged-Generator'],
104                command => "pkgcpan -q -f $vhostdir/cpan_Mageia.db -d Mageia",
105            }
106        }
107  }  }

Legend:
Removed from v.1706  
changed lines
  Added in v.1825

  ViewVC Help
Powered by ViewVC 1.1.30