From 8db6f05cc1c79a1b12705d23cb652923e6a2fbac Mon Sep 17 00:00:00 2001 From: helene Date: Thu, 19 Sep 2024 19:00:39 -0400 Subject: [PATCH] Change name for no capital letters --- cdsi-intro-hpc/config.yaml | 40 ++++++++++++++++++++++++++++++++++++++ cdsi-intro-hpc/custom.tf | 8 ++++++++ cdsi-intro-hpc/main.tf | 1 + 3 files changed, 49 insertions(+) create mode 100644 cdsi-intro-hpc/config.yaml create mode 100644 cdsi-intro-hpc/custom.tf create mode 120000 cdsi-intro-hpc/main.tf diff --git a/cdsi-intro-hpc/config.yaml b/cdsi-intro-hpc/config.yaml new file mode 100644 index 0000000..1c47dc7 --- /dev/null +++ b/cdsi-intro-hpc/config.yaml @@ -0,0 +1,40 @@ +jupyterhub::jupyterhub_config_hash: + SbatchForm: + account: + def: 'def-sponsor00' + runtime: + min: 3.5 + def: 4.0 + max: 5.0 + nprocs: + min: 1 + def: 1 + max: 1 + memory: + min: 1024 + max: 1024 + def: 1024 + oversubscribe: + def: true + lock: true + partition: + def: 'node' + lock: true + ui: + def: 'terminal' + +profile::freeipa::mokey::require_verify_admin: false +profile::users::ldap::users: + user: + count: 80 + passwd: "%{alias('passwd_user')}" + groups: ['def-sponsor00'] + + instructor: + passwd: "%{alias('passwd_instructor')}" + groups: ['def-sponsor00', 'helper'] + + helper: + count: 4 + passwd: "%{alias('passwd_helper')}" + groups: ['def-sponsor00', 'helper'] diff --git a/cdsi-intro-hpc/custom.tf b/cdsi-intro-hpc/custom.tf new file mode 100644 index 0000000..a894b91 --- /dev/null +++ b/cdsi-intro-hpc/custom.tf @@ -0,0 +1,8 @@ +locals { + name = "CDSI_intro_hpc" + + custom = { + ncpu = 2 + nnode_compute = 2 + } +} diff --git a/cdsi-intro-hpc/main.tf b/cdsi-intro-hpc/main.tf new file mode 120000 index 0000000..4a4ab61 --- /dev/null +++ b/cdsi-intro-hpc/main.tf @@ -0,0 +1 @@ +../common/main.tf \ No newline at end of file