diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-06-22 01:42:28 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-06-22 01:42:28 +0300 |
commit | 18617945638203c43b96d6b9b4eaf93bb94f9dd4 (patch) | |
tree | cce228bd751f38b58af09ee6e994779c809a6470 /deployment | |
parent | f175412cf7f80fbe72ef3d870f834edfe949a000 (diff) | |
download | puppet-18617945638203c43b96d6b9b4eaf93bb94f9dd4.tar puppet-18617945638203c43b96d6b9b4eaf93bb94f9dd4.tar.gz puppet-18617945638203c43b96d6b9b4eaf93bb94f9dd4.tar.bz2 puppet-18617945638203c43b96d6b9b4eaf93bb94f9dd4.tar.xz puppet-18617945638203c43b96d6b9b4eaf93bb94f9dd4.zip |
deployment/main_mirror: puppet-lint fixes
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/main_mirror/manifests/init.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deployment/main_mirror/manifests/init.pp b/deployment/main_mirror/manifests/init.pp index a4e8cc76..9b26a64d 100644 --- a/deployment/main_mirror/manifests/init.pp +++ b/deployment/main_mirror/manifests/init.pp @@ -8,14 +8,14 @@ class main_mirror { $mirror = '/distrib' file { [$mirror, - "$mirror/mirror", - "$mirror/archive"]: + "${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'; } } |