Commit Graph

6 Commits

Author SHA1 Message Date
kb-light
4d98fbb1bb scripts: update need_string_array() to work as expected 2016-08-26 23:28:26 +02:00
kb-light
21e033213c scripts: add functions need_one_of and need_array_of to check_site_lib.lua
need_one_of(varname, array, required) checks weather the value of the specified variable is part of given array.
need_array_of(varname, array, required) is similar to need_one_of() but assume that varname points to an array.
2016-08-26 23:28:26 +02:00
Matthias Schiffer
05f146f817 Validate section names from site.conf in various packages 2015-10-11 19:34:14 +02:00
Nils Schneider
56e7753035 check_site: allow subcheck to be nil in need_table() 2015-07-25 21:02:24 +02:00
Matthias Schiffer
442ef0bd36 check_site_lib: add need_boolean check 2014-07-16 16:39:41 +02:00
Matthias Schiffer
17bf228884 Add helper scripts used by packages to validate site.conf 2014-07-05 02:48:09 +02:00