constants.SS_MASTER_NETDEV,
constants.SS_MASTER_NODE,
constants.SS_NODE_LIST,
+ constants.SS_OFFLINE_NODES,
+ constants.SS_RELEASE_VERSION,
)
_MAX_SIZE = 131072
ssconf_lock.Exclusive(blocking=True, timeout=SSCONF_LOCK_TIMEOUT)
try:
for name, value in values.iteritems():
- if not value.endswith("\n"):
+ if value and not value.endswith("\n"):
value += "\n"
utils.WriteFile(self.KeyToFilename(name), data=value)
finally: