From 668b3b7e040314a7592971155112ace9896d1d0a Mon Sep 17 00:00:00 2001 From: wlandau-lilly Date: Mon, 16 Oct 2023 09:32:05 -0400 Subject: [PATCH] TLS --- NEWS.md | 1 + R/crew_controller_lsf.R | 2 +- R/crew_controller_pbs.R | 2 +- R/crew_controller_sge.R | 2 +- R/crew_controller_slurm.R | 2 +- R/crew_launcher_cluster.R | 2 +- R/crew_launcher_lsf.R | 2 +- R/crew_launcher_pbs.R | 2 +- R/crew_launcher_sge.R | 2 +- R/crew_launcher_slurm.R | 2 +- man/crew_controller_lsf.Rd | 2 +- man/crew_controller_pbs.Rd | 2 +- man/crew_controller_sge.Rd | 2 +- man/crew_controller_slurm.Rd | 2 +- man/crew_launcher_cluster.Rd | 2 +- man/crew_launcher_lsf.Rd | 2 +- man/crew_launcher_pbs.Rd | 2 +- man/crew_launcher_sge.Rd | 2 +- man/crew_launcher_slurm.Rd | 2 +- 19 files changed, 19 insertions(+), 18 deletions(-) diff --git a/NEWS.md b/NEWS.md index 733e4ab..bbfc25f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ * Deprecate `seconds_exit` (https://github.com/wlandau/crew/issues/125, @shikokuchuo). * Deprecate `seconds_interval` (https://github.com/wlandau/crew/issues/131). * Add a new `slurm_partition` argument the SLURM controller and launcher (#24, @kkmann). +* Turn on automatic TLS encryption by default. # crew.cluster 0.1.2 diff --git a/R/crew_controller_lsf.R b/R/crew_controller_lsf.R index 7ee778c..e80217a 100644 --- a/R/crew_controller_lsf.R +++ b/R/crew_controller_lsf.R @@ -28,7 +28,7 @@ crew_controller_lsf <- function( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/R/crew_controller_pbs.R b/R/crew_controller_pbs.R index 4559f02..2b14b39 100644 --- a/R/crew_controller_pbs.R +++ b/R/crew_controller_pbs.R @@ -24,7 +24,7 @@ crew_controller_pbs <- function( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/R/crew_controller_sge.R b/R/crew_controller_sge.R index 0f4cd29..5119cfa 100644 --- a/R/crew_controller_sge.R +++ b/R/crew_controller_sge.R @@ -24,7 +24,7 @@ crew_controller_sge <- function( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/R/crew_controller_slurm.R b/R/crew_controller_slurm.R index 8bdeec4..62bf195 100644 --- a/R/crew_controller_slurm.R +++ b/R/crew_controller_slurm.R @@ -28,7 +28,7 @@ crew_controller_slurm <- function( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/R/crew_launcher_cluster.R b/R/crew_launcher_cluster.R index 55d3e34..e54a204 100644 --- a/R/crew_launcher_cluster.R +++ b/R/crew_launcher_cluster.R @@ -44,7 +44,7 @@ crew_launcher_cluster <- function( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = "", command_delete = "", diff --git a/R/crew_launcher_lsf.R b/R/crew_launcher_lsf.R index f7e5991..27d8774 100644 --- a/R/crew_launcher_lsf.R +++ b/R/crew_launcher_lsf.R @@ -68,7 +68,7 @@ crew_launcher_lsf <- function( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("bsub")), command_delete = as.character(Sys.which("bkill")), diff --git a/R/crew_launcher_pbs.R b/R/crew_launcher_pbs.R index c9f4ad6..98cbaa4 100644 --- a/R/crew_launcher_pbs.R +++ b/R/crew_launcher_pbs.R @@ -73,7 +73,7 @@ crew_launcher_pbs <- function( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("qsub")), command_delete = as.character(Sys.which("qdel")), diff --git a/R/crew_launcher_sge.R b/R/crew_launcher_sge.R index 5edf7dd..19cf70e 100644 --- a/R/crew_launcher_sge.R +++ b/R/crew_launcher_sge.R @@ -75,7 +75,7 @@ crew_launcher_sge <- function( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("qsub")), command_delete = as.character(Sys.which("qdel")), diff --git a/R/crew_launcher_slurm.R b/R/crew_launcher_slurm.R index 6e00656..e82f0ce 100644 --- a/R/crew_launcher_slurm.R +++ b/R/crew_launcher_slurm.R @@ -67,7 +67,7 @@ crew_launcher_slurm <- function( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("sbatch")), command_delete = as.character(Sys.which("scancel")), diff --git a/man/crew_controller_lsf.Rd b/man/crew_controller_lsf.Rd index f98a19d..dd6cead 100644 --- a/man/crew_controller_lsf.Rd +++ b/man/crew_controller_lsf.Rd @@ -10,7 +10,7 @@ crew_controller_lsf( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/man/crew_controller_pbs.Rd b/man/crew_controller_pbs.Rd index 19b7d7a..32ee065 100644 --- a/man/crew_controller_pbs.Rd +++ b/man/crew_controller_pbs.Rd @@ -10,7 +10,7 @@ crew_controller_pbs( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/man/crew_controller_sge.Rd b/man/crew_controller_sge.Rd index a789b5c..5b5eef7 100644 --- a/man/crew_controller_sge.Rd +++ b/man/crew_controller_sge.Rd @@ -10,7 +10,7 @@ crew_controller_sge( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/man/crew_controller_slurm.Rd b/man/crew_controller_slurm.Rd index 0ecb736..80ca38f 100644 --- a/man/crew_controller_slurm.Rd +++ b/man/crew_controller_slurm.Rd @@ -10,7 +10,7 @@ crew_controller_slurm( workers = 1L, host = NULL, port = NULL, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), tls_enable = NULL, tls_config = NULL, seconds_interval = 0.25, diff --git a/man/crew_launcher_cluster.Rd b/man/crew_launcher_cluster.Rd index e6f1433..ceb95de 100644 --- a/man/crew_launcher_cluster.Rd +++ b/man/crew_launcher_cluster.Rd @@ -18,7 +18,7 @@ crew_launcher_cluster( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = "", command_delete = "", diff --git a/man/crew_launcher_lsf.Rd b/man/crew_launcher_lsf.Rd index 496dea2..73850a1 100644 --- a/man/crew_launcher_lsf.Rd +++ b/man/crew_launcher_lsf.Rd @@ -18,7 +18,7 @@ crew_launcher_lsf( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("bsub")), command_delete = as.character(Sys.which("bkill")), diff --git a/man/crew_launcher_pbs.Rd b/man/crew_launcher_pbs.Rd index 8f9f7d4..39cc0e3 100644 --- a/man/crew_launcher_pbs.Rd +++ b/man/crew_launcher_pbs.Rd @@ -18,7 +18,7 @@ crew_launcher_pbs( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("qsub")), command_delete = as.character(Sys.which("qdel")), diff --git a/man/crew_launcher_sge.Rd b/man/crew_launcher_sge.Rd index b2459be..54685e8 100644 --- a/man/crew_launcher_sge.Rd +++ b/man/crew_launcher_sge.Rd @@ -18,7 +18,7 @@ crew_launcher_sge( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("qsub")), command_delete = as.character(Sys.which("qdel")), diff --git a/man/crew_launcher_slurm.Rd b/man/crew_launcher_slurm.Rd index 922b49b..38ac7b8 100644 --- a/man/crew_launcher_slurm.Rd +++ b/man/crew_launcher_slurm.Rd @@ -18,7 +18,7 @@ crew_launcher_slurm( reset_options = FALSE, garbage_collection = FALSE, launch_max = 5L, - tls = crew::crew_tls(), + tls = crew::crew_tls(mode = "automatic"), verbose = FALSE, command_submit = as.character(Sys.which("sbatch")), command_delete = as.character(Sys.which("scancel")),