Commit b6e2ff42 authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Hs2Py constants: node daemon setup



Add node daemon setup related constants to the Haskell to Python constant generation.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
parent 33ee4861
......@@ -1519,11 +1519,10 @@ SSH_DAEMON_KEYFILES = {
SSHK_DSA: (pathutils.SSH_HOST_DSA_PRIV, pathutils.SSH_HOST_DSA_PUB),
}
# Node daemon setup
NDS_CLUSTER_NAME = "cluster_name"
NDS_NODE_DAEMON_CERTIFICATE = "node_daemon_certificate"
NDS_SSCONF = "ssconf"
NDS_START_NODE_DAEMON = "start_node_daemon"
NDS_CLUSTER_NAME = _constants.NDS_CLUSTER_NAME
NDS_NODE_DAEMON_CERTIFICATE = _constants.NDS_NODE_DAEMON_CERTIFICATE
NDS_SSCONF = _constants.NDS_SSCONF
NDS_START_NODE_DAEMON = _constants.NDS_START_NODE_DAEMON
RANDOM_UUID_FILE = _constants.RANDOM_UUID_FILE
......
......@@ -3733,6 +3733,20 @@ sshHostRsaPriv = sshConfigDir ++ "/ssh_host_rsa_key"
sshHostRsaPub :: String
sshHostRsaPub = sshHostRsaPriv ++ ".pub"
-- * Node daemon setup
ndsClusterName :: String
ndsClusterName = "cluster_name"
ndsNodeDaemonCertificate :: String
ndsNodeDaemonCertificate = "node_daemon_certificate"
ndsSsconf :: String
ndsSsconf = "ssconf"
ndsStartNodeDaemon :: String
ndsStartNodeDaemon = "start_node_daemon"
-- | Path generating random UUID
randomUuidFile :: String
randomUuidFile = ConstantUtils.randomUuidFile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment