#-*- coding: utf-8 -*- #Copyright 2008 Calculate Pack, http://www.calculate-linux.ru # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #Допустимые ключи значений # mode - режим переменной r-не переназначается из командной строки, # w-переназначается из командной строки # type - тип переменной состоит из двух элементов(что это и для чего # это) # value - значение переменной class Data: ##имя компьютера #net_host os_net_hostname = {'mode':"w"} ##текущая сеть # разрешенные сети #net_networks os_net_allow = {} ##короткое название системы (CLD) #setup_sys_shortname os_linux_shortname={} ##домен #sys_domain os_net_domain = {'mode':"w"} # Пути к ini файлам cl_env_path = {'value':['/var/calculate/remote/calculate.env', '/var/calculate/calculate.env', '/etc/calculate/calculate.env']} # локаль (прим: ru_RU.UTF-8) os_locale_locale = {} # язык (прим: ru_RU) os_locale_lang = {} # язык (прим: ru) os_locale_language = {} # поддерживаемые языки (пример: be be_BY da de en и т.д.) os_locale_linguas = {'value':'be be_BY da de en en_GB es fr it nb nn pl \ pt_BR ru se sv uk'}