aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/mirror.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 00:38:50 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 00:38:50 +0300
commitbf817c6ea3036d8fd69995a767f5071e19232fb9 (patch)
tree987f586d487d87863920cf9fcc7525f3587d065c /modules/git/manifests/mirror.pp
parent6a9988b82160f4f516ceb36b48acdd8f49458659 (diff)
downloadpuppet-bf817c6ea3036d8fd69995a767f5071e19232fb9.tar
puppet-bf817c6ea3036d8fd69995a767f5071e19232fb9.tar.gz
puppet-bf817c6ea3036d8fd69995a767f5071e19232fb9.tar.bz2
puppet-bf817c6ea3036d8fd69995a767f5071e19232fb9.tar.xz
puppet-bf817c6ea3036d8fd69995a767f5071e19232fb9.zip
lint fixes for git
Diffstat (limited to 'modules/git/manifests/mirror.pp')
-rw-r--r--modules/git/manifests/mirror.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/git/manifests/mirror.pp b/modules/git/manifests/mirror.pp
index b3a9be9a..f7364846 100644
--- a/modules/git/manifests/mirror.pp
+++ b/modules/git/manifests/mirror.pp
@@ -3,18 +3,18 @@ define git::mirror( $source,
$refresh = '*/5') {
include git::common
- exec { "/usr/bin/git clone --mirror $source $name":
- alias => "git mirror $name",
+ exec { "/usr/bin/git clone --mirror ${source} ${name}":
+ alias => "git mirror ${name}",
creates => $name,
- before => File["$name/description"],
+ before => File["${name}/description"],
}
- file { "$name/description":
+ file { "${name}/description":
content => $description,
}
- cron { "update $name":
- command => "cd $name ; /usr/bin/git fetch -q",
+ cron { "update ${name}":
+ command => "cd ${name} ; /usr/bin/git fetch -q",
minute => $refresh
}
}