aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rw-r--r--deployment/main_mirror/manifests/init.pp16
1 files changed, 9 insertions, 7 deletions
diff --git a/deployment/main_mirror/manifests/init.pp b/deployment/main_mirror/manifests/init.pp
index fb30d980..a4e8cc76 100644
--- a/deployment/main_mirror/manifests/init.pp
+++ b/deployment/main_mirror/manifests/init.pp
@@ -2,18 +2,20 @@ class main_mirror {
# FIXME shouldn't the various code in this module ?
include mirror::main
- class { rsyncd:
- rsyncd_conf => 'main_mirror/rsyncd.conf'
+ class { 'rsyncd':
+ rsyncd_conf => 'main_mirror/rsyncd.conf'
}
- $mirror = "/distrib"
- file { ["$mirror", "$mirror/mirror", "$mirror/archive"]:
+ $mirror = '/distrib'
+ file { [$mirror,
+ "$mirror/mirror",
+ "$mirror/archive"]:
ensure => directory,
}
file {
- "$mirror/README": source => "puppet:///modules/main_mirror/README";
- "$mirror/mirror/mirror.readme": source => "puppet:///modules/main_mirror/mirror/mirror.readme";
- "$mirror/mirror/paths.readme": source => "puppet:///modules/main_mirror/mirror/paths.readme";
+ "$mirror/README": source => 'puppet:///modules/main_mirror/README';
+ "$mirror/mirror/mirror.readme": source => 'puppet:///modules/main_mirror/mirror/mirror.readme';
+ "$mirror/mirror/paths.readme": source => 'puppet:///modules/main_mirror/mirror/paths.readme';
}
}