diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-05 11:44:58 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-05 11:44:58 +0000 |
commit | b231573f041b410a418f89a7caddbd22a5a22e0d (patch) | |
tree | f7588e912a189ddc0ea1a9c96a5614c3e42bcdd1 /modules | |
parent | 5a6d2babf039be49e3d0d022326c6480bf74a8ad (diff) | |
download | puppet-b231573f041b410a418f89a7caddbd22a5a22e0d.tar puppet-b231573f041b410a418f89a7caddbd22a5a22e0d.tar.gz puppet-b231573f041b410a418f89a7caddbd22a5a22e0d.tar.bz2 puppet-b231573f041b410a418f89a7caddbd22a5a22e0d.tar.xz puppet-b231573f041b410a418f89a7caddbd22a5a22e0d.zip |
add check_po, to validate po when they are committed
Diffstat (limited to 'modules')
-rw-r--r-- | modules/subversion/manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index 075d5c71..e8a35992 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -108,6 +108,13 @@ class subversion { regexp_ext => "modules/.*/templates/.*$", check_cmd => "erb -P -x -T - | ruby -c" } + + syntax_check{"check_po": + regexp_ext => "\.po$", + check_cmd => "msgfmt -c" + } + + } |