aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-15 22:55:03 +0000
committerMichael Scherer <misc@mageia.org>2012-03-15 22:55:03 +0000
commit21f541b6d5fce1f476a027d4cc9ec84dad989c8c (patch)
tree6aa21aeb40eb022cf56db0d20a10306892547abb /deployment/main_mirror
parent2c78d7ca44f19d375a063aa612f7fc8b911e1e79 (diff)
downloadpuppet-21f541b6d5fce1f476a027d4cc9ec84dad989c8c.tar
puppet-21f541b6d5fce1f476a027d4cc9ec84dad989c8c.tar.gz
puppet-21f541b6d5fce1f476a027d4cc9ec84dad989c8c.tar.bz2
puppet-21f541b6d5fce1f476a027d4cc9ec84dad989c8c.tar.xz
puppet-21f541b6d5fce1f476a027d4cc9ec84dad989c8c.zip
clean module main_mirror to conform to puppet style guide with puppet-lint
Diffstat (limited to 'deployment/main_mirror')
-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';
}
}