59 |
# - openldap , like named |
# - openldap , like named |
60 |
|
|
61 |
syntax_check{"check_perl": |
syntax_check{"check_perl": |
62 |
regexp_ext => ".p[lm]$", |
regexp_ext => "\.p[lm]$", |
63 |
check_cmd => "perl -c" |
check_cmd => "perl -c" |
64 |
} |
} |
65 |
|
|
66 |
|
syntax_check{"check_puppet": |
67 |
|
regexp_ext => "\.pp$", |
68 |
|
check_cmd => "puppet --color=false --confdir=/tmp --vardir=/tmp --parseonly" |
69 |
|
} |
70 |
|
|
71 |
|
syntax_check{"check_ruby": |
72 |
|
regexp_ext => "\.rb$", |
73 |
|
check_cmd => "ruby -c" |
74 |
|
} |
75 |
|
|
76 |
|
syntax_check{"check_puppet_templates": |
77 |
|
regexp_ext => "modules/.*/templates/.*$", |
78 |
|
check_cmd => "erb -x -T - | ruby -c" |
79 |
|
} |
80 |
} |
} |
81 |
|
|
82 |
# TODO |
# TODO |