|
|
|
@ -300,7 +300,7 @@ class VariableClUpdateBinhostData(ReadonlyTableVariable):
|
|
|
|
|
recheck = self.GetBool('cl_update_binhost_recheck_set')
|
|
|
|
|
|
|
|
|
|
def generate_by_timestamp():
|
|
|
|
|
for host in self.Get('cl_update_binhosts'):
|
|
|
|
|
for host in self.Get('cl_update_binhost_list'):
|
|
|
|
|
if host:
|
|
|
|
|
ts_content, duration = self.get_timestamp(host)
|
|
|
|
|
if ts_content:
|
|
|
|
@ -1201,7 +1201,7 @@ class DataVarsUpdateProfile(SimpleDataVars):
|
|
|
|
|
VariableClUpdateBinhostTime(section="update"),
|
|
|
|
|
VariableClUpdateBinhostTimeout(section="update"),
|
|
|
|
|
VariableClUpdateBinhostTimestampPath(section="update"),
|
|
|
|
|
VariableClUpdateBinhosts(section="update"),
|
|
|
|
|
VariableClUpdateBinhostList(section="update"),
|
|
|
|
|
VariableClUpdateBinhostRevisionPath(section="update"),
|
|
|
|
|
)
|
|
|
|
|
# TODO: при переключении профиля использовать master ветки
|
|
|
|
@ -1389,7 +1389,7 @@ class VariableClUpdateOutdatedKernelSet(ReadonlyVariable):
|
|
|
|
|
ui = UpdateInfo(self.parent)
|
|
|
|
|
return "on" if ui.outdated_kernel else "off"
|
|
|
|
|
|
|
|
|
|
class VariableClUpdateBinhosts(Variable):
|
|
|
|
|
class VariableClUpdateBinhostList(Variable):
|
|
|
|
|
"""
|
|
|
|
|
Список хостов с бинарными обновлениями
|
|
|
|
|
"""
|
|
|
|
|