aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/svn_repository.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/svn_repository.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/svn_repository.pp')
-rw-r--r--modules/git/manifests/svn_repository.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/git/manifests/svn_repository.pp b/modules/git/manifests/svn_repository.pp
index 93ddb792..ea215ce6 100644
--- a/modules/git/manifests/svn_repository.pp
+++ b/modules/git/manifests/svn_repository.pp
@@ -11,8 +11,8 @@ define git::svn_repository( $source,
$options = ''
}
- exec { "/usr/bin/git svn init $options $source $name":
- alias => "git svn $name",
+ exec { "/usr/bin/git svn init ${options} ${source} ${name}":
+ alias => "git svn ${name}",
creates => $name,
}
@@ -21,15 +21,15 @@ define git::svn_repository( $source,
source => 'puppet:///modules/git/update_git_svn.sh',
}
- cron { "update $name":
+ cron { "update ${name}":
# done in 2 times, so fetch can fill the repo after init
- command => "/usr/local/bin/update_git_svn.sh $name" ,
+ command => "/usr/local/bin/update_git_svn.sh ${name}" ,
minute => $refresh
}
- file { "$name/.git/hooks/pre-receive":
+ file { "${name}/.git/hooks/pre-receive":
mode => '0755',
content => template('git/pre-receive'),
- require => Exec["git svn $name"]
+ require => Exec["git svn ${name}"]
}
}