gluon/package/gluon-core/check_site.lua

11 lines
243 B
Lua
Raw Normal View History

2014-07-05 00:48:56 +00:00
need_string 'site_code'
need_string 'site_name'
need_string 'hostname_prefix'
need_string 'timezone'
need_string_array('ntp_servers', false)
need_string_match('prefix4', '^%d+.%d+.%d+.%d+/%d+$')
need_string_match('prefix6', '^[%x:]+/%d+$')