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

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

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

revision 2495 by misc, Sun Jan 22 20:15:42 2012 UTC revision 2496 by misc, Thu Mar 15 22:55:03 2012 UTC
# Line 2  class main_mirror { Line 2  class main_mirror {
2      # FIXME shouldn't the various code in this module ?      # FIXME shouldn't the various code in this module ?
3      include mirror::main      include mirror::main
4    
5      class { rsyncd:      class { 'rsyncd':
6          rsyncd_conf => 'main_mirror/rsyncd.conf'          rsyncd_conf => 'main_mirror/rsyncd.conf'
7      }      }
8    
9      $mirror = "/distrib"      $mirror = '/distrib'
10      file { ["$mirror", "$mirror/mirror", "$mirror/archive"]:      file { [$mirror,
11                "$mirror/mirror",
12                "$mirror/archive"]:
13          ensure => directory,          ensure => directory,
14      }      }
15    
16      file {      file {
17          "$mirror/README": source => "puppet:///modules/main_mirror/README";          "$mirror/README":               source => 'puppet:///modules/main_mirror/README';
18          "$mirror/mirror/mirror.readme": source => "puppet:///modules/main_mirror/mirror/mirror.readme";          "$mirror/mirror/mirror.readme": source => 'puppet:///modules/main_mirror/mirror/mirror.readme';
19          "$mirror/mirror/paths.readme": source => "puppet:///modules/main_mirror/mirror/paths.readme";          "$mirror/mirror/paths.readme":  source => 'puppet:///modules/main_mirror/mirror/paths.readme';
20      }      }
21  }  }

Legend:
Removed from v.2495  
changed lines
  Added in v.2496

  ViewVC Help
Powered by ViewVC 1.1.28