/[adm]/puppet/modules/youri-check/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/youri-check/manifests/init.pp

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

revision 1370 by pterjan, Wed Mar 23 23:30:30 2011 UTC revision 1371 by misc, Thu Mar 24 00:19:21 2011 UTC
# Line 1  Line 1 
1  class youri-check {  class youri-check {
2      $location = "/var/www/youri-check"      class variable {
3      $vhost = "check.$domain"          $location = "/var/www/youri-check"
4            $vhost = "check.$domain"
5        }
6    
7      class check {      class check inherits variable {
8          $user = 'youri'          $user = 'youri'
9          $home = '/var/tmp/youri'          $home = '/var/tmp/youri'
10          $outdir = "$home/www"          $outdir = "$home/www"
# Line 32  class youri-check { Line 34  class youri-check {
34          }          }
35      }      }
36    
37      class website($vhost="$vhost", $location="$location") {      class website inherits variable {
38          file { "$location":          file { "$location":
39              ensure => directory,              ensure => directory,
40              owner => apache,              owner => apache,

Legend:
Removed from v.1370  
changed lines
  Added in v.1371

  ViewVC Help
Powered by ViewVC 1.1.30