aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 00:53:06 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 00:53:06 +0000
commit2c04927be4908828279d3af6d7eff1f5cc474fd9 (patch)
treee2f310c2acdb2be67e301cd2503e1f55e1014b1f /modules/subversion/manifests
parent296187ae0f056a8cab7497e3f8efaa545f65dfc6 (diff)
downloadpuppet-2c04927be4908828279d3af6d7eff1f5cc474fd9.tar
puppet-2c04927be4908828279d3af6d7eff1f5cc474fd9.tar.gz
puppet-2c04927be4908828279d3af6d7eff1f5cc474fd9.tar.bz2
puppet-2c04927be4908828279d3af6d7eff1f5cc474fd9.tar.xz
puppet-2c04927be4908828279d3af6d7eff1f5cc474fd9.zip
fix comments
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r--modules/subversion/manifests/init.pp24
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index bebf107a..cfcb9f98 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -46,21 +46,23 @@ class subversion {
content => template('subversion/no_empty_message')
}
+ # TODO : add check for
+ # - ym perl -MYAML -e 'YAML::LoadFile("-");'
+ # - tt ( do not seem to be possible, but this would be great )
+ # - php php -l
+ # - python
+ # - named named-checkzone/named-checkconf ( may requires some interaction with facter/erb )
+ # - po msgfmt -c
+ # - openldap , like named
+
syntax_check{"check_perl":
regexp_ext => ".p[lm]$",
check_cmd => "perl -c"
}
}
- # later, deploy a backup file ( ie, cron job to do a dump in some directory )
# TODO
- # what about pre commit ?
- # - name of a template file ?
- # - prepare a template for file checking ?
- # - openldap
- # - named
- # - puppet
- # - perl/ php syntax
+ # deploy a cronjob to make a backup file ( ie, dump in some directory )
define repository ($group = "svn",
@@ -68,9 +70,9 @@ class subversion {
$commit_mail = [],
$syntax_check = [],
$extract_dir = []) {
- # faire un script qui mets les permissions comme il faut
+ # check permissions
# http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
- # $name ==> lieu du checkout
+ # $name ==> directory of the repo
# TODO set umask -> requires puppet 2.7.0
exec { "svnadmin create $name":
@@ -153,8 +155,6 @@ class subversion {
}
}
- # TODO ensure that subversion ishere
- # allow to configure the snapshot refresh interval
define snapshot($source, $refresh = '*/5', $user = 'root') {
include subversion::client