|
19 | 19 | Optional[String] $backup_controller = undef,
|
20 | 20 | Optional[String] $backup_addr = $backup_controller,
|
21 | 21 | Integer[0,1] $allow_spec_resources_usage = 0,
|
22 |
| - Enum['checkpoint/blcr','checkpoint/none','checkpoint/ompi','checkpoint/poe'] $checkpoint_type= 'checkpoint/none', |
| 22 | + Enum['checkpoint/none','checkpoint/ompi'] $checkpoint_type= 'checkpoint/none', |
23 | 23 | Optional[String] $chos_loc = undef,
|
24 | 24 | Enum['core_spec/cray','core_spec/none'] $core_spec_plugin = 'core_spec/none',
|
25 | 25 | Enum['Conservative','OnDemand','Performance','PowerSave'] $cpu_freq_def = 'Performance',
|
|
38 | 38 | Integer[0,1] $job_requeue = 0,
|
39 | 39 | Optional[Array[String]] $job_submit_plugins = undef,
|
40 | 40 | Integer[0,1] $kill_on_bad_exit = 0,
|
41 |
| - Enum['launch/aprun','launch/poe','launch/runjob','launch/slurm'] $launch_type = 'launch/slurm', |
| 41 | + Enum['launch/aprun','launch/runjob','launch/slurm'] $launch_type = 'launch/slurm', |
42 | 42 | Optional[Array[Enum['mem_sort','slurmstepd_memlock','slurmstepd_memlock_all','test_exec']]] $launch_parameters = undef,
|
43 | 43 | Optional[Array[String]] $licenses = undef,
|
44 | 44 | Optional[Enum['node_features/knl_cray','node_features/knl_generic']] $node_features_plugins = undef,
|
45 | 45 | String $mail_prog = '/bin/mail',
|
46 | 46 | Optional[String] $mail_domain = undef,
|
47 | 47 | Integer[1] $max_job_count = 10000,
|
48 | 48 | Integer[1] $max_step_count = 40000,
|
49 |
| - Enum['no','yes'] $mem_limit_enforce = 'no', |
50 | 49 | Hash[Enum['WindowMsgs','WindowTime'],Integer[1]] $msg_aggregation_params = {'WindowMsgs' => 1, 'WindowTime' => 100},
|
51 | 50 | String $plugin_dir = '/usr/local/lib/slurm',
|
52 | 51 | Optional[String] $plug_stack_config = undef,
|
|
55 | 54 | Enum['preempt/none','preempt/partition_prio','preempt/qos'] $preempt_type = 'preempt/none',
|
56 | 55 | Array[Enum['OFF','CANCEL','CHECKPOINT','GANG','REQUEUE','SUSPEND']] $preempt_mode = ['OFF'],
|
57 | 56 | Optional[Array[Enum['accounts','cloud','jobs','nodes','partitions','reservations','usage','users']]] $private_data = undef,
|
58 |
| - Optional[Enum['proctrack/cgroup','proctrack/cray','proctrack/linuxproc','proctrack/lua','proctrack/sgi_job','proctrack/pgid']] $proctrack_type = undef, |
| 57 | + Optional[Enum['proctrack/cgroup','proctrack/cray','proctrack/linuxproc','proctrack/pgid']] $proctrack_type = undef, |
59 | 58 | Integer[0,2] $propagate_prio_process = 0,
|
60 | 59 | Optional[Array[Enum['ALL','NONE','AS','CORE','CPU','DATA','FSIZE','MEMLOCK','NOFILE','NPROC','RSS','STACK']]] $propagate_resource_limits = undef,
|
61 | 60 | Optional[Array[Enum['ALL','NONE','AS','CORE','CPU','DATA','FSIZE','MEMLOCK','NOFILE','NPROC','RSS','STACK']]] $propagate_resource_limits_except = undef,
|
|
79 | 78 | Optional[String] $srun_prolog = undef,
|
80 | 79 | Optional[String] $srun_port_range = undef,
|
81 | 80 | String $state_save_location = '/var/spool/slurmctld',
|
82 |
| - Enum['switch/none','switch/nrt'] $switch_type = 'switch/none', |
| 81 | + Enum['switch/none'] $switch_type = 'switch/none', |
83 | 82 | Array[Enum['task/affinity','task/cgroup','task/none']] $task_plugin = ['task/none'],
|
84 | 83 | Array[String] $task_plugin_param = ['Sched'],
|
85 | 84 | Optional[String] $task_epilog = undef,
|
|
91 | 90 |
|
92 | 91 | Enum['auth/none','auth/munge'] $auth_type = 'auth/munge',
|
93 | 92 | Optional[String] $auth_info = undef,
|
94 |
| - Enum['crypto/munge','crypto/openssl'] $crypto_type = 'crypto/munge', |
95 | 93 | Optional[String] $job_credential_private_key = undef,
|
96 | 94 | Optional[String] $job_credential_public_certificate = undef,
|
| 95 | + Enum['cred/munge'] $cred_type = 'cred/munge', |
97 | 96 | Enum['mcs/account','mcs/group','mcs/none','mcs/user'] $mcs_plugin = 'mcs/none',
|
98 | 97 | Optional[String] $mcs_parameters = undef,
|
99 | 98 | Integer[0,1] $use_pam = 0,
|
|
144 | 143 | Integer[0] $scheduler_time_slice = 30,
|
145 | 144 | Enum['sched/backfill','sched/builtin','sched/hold'] $scheduler_type = 'sched/backfill',
|
146 | 145 | Optional[Array[String]] $scheduler_parameters = undef,
|
147 |
| - Enum['select/bluegene','select/cons_res','select/cray','select/linear','select/serial'] $select_type = 'select/linear', |
| 146 | + Enum['select/bluegene','select/cons_res','select/cons_tres','select/cray','select/linear'] $select_type = 'select/linear', |
148 | 147 | Optional[Array[Enum['OTHER_CONS_RES','NHC_ABSOLUTELY_NO','NHC_NO_STEPS','NHC_NO','CR_CPU','CR_CPU_Memory','CR_Core','CR_Core_Memory','CR_ONE_TASK_PER_CORE','CR_CORE_DEFAULT_DIST_BLOCK','CR_LLN','CR_Pack_Nodes','CR_Socket','CR_Socket_Memory','CR_Memory']]] $select_type_parameters = undef,
|
149 | 148 | Integer[0] $vsize_factor = 0,
|
150 | 149 |
|
151 | 150 | Enum['priority/basic','priority/multifactor'] $priority_type = 'priority/basic',
|
152 |
| - Optional[Array[Enum['ACCRUE_ALWAYS','CALCULATE_RUNNING','DEPTH_OBLIVIOUS','FAIR_TREE','INCR_ONLY','MAX_TRES','SMALL_RELATIVE_TO_TIME']]] $priority_flags = undef, |
| 151 | + Optional[Array[Enum['ACCRUE_ALWAYS','CALCULATE_RUNNING','DEPTH_OBLIVIOUS','NO_FAIR_TREE','INCR_ONLY','MAX_TRES','SMALL_RELATIVE_TO_TIME','NO_NORMAL_ALL','NO_NORMAL_ASSOC','NO_NORMAL_PART','NO_NORMAL_QOS','NO_NORMAL_TRES']]] $priority_flags = undef, |
153 | 152 | Integer[0] $priority_calc_period = 5,
|
154 | 153 | String $priority_decay_half_life = '7-0',
|
155 | 154 | Enum['NO','YES'] $priority_favor_small = 'NO',
|
|
187 | 186 | Optional[String] $job_comp_pass = undef,
|
188 | 187 | Optional[String] $job_comp_loc = undef,
|
189 | 188 | Enum['jobacct_gather/linux','jobacct_gather/cgroup','jobacct_gather/none'] $job_acct_gather_type = 'jobacct_gather/none',
|
190 |
| - Optional[Array[Enum['NoShared','UsePss','NoOverMemoryKill']]] $job_acct_gather_params = undef, |
| 189 | + Optional[Array[Enum['NoShared','UsePss','OverMemoryKill']]] $job_acct_gather_params = undef, |
191 | 190 | Hash[Enum['task','energy','network','filesystem'],Integer[0]] $job_acct_gather_frequency = {'task' => 30,'energy' => 0,'network' => 0,'filesystem' => 0},
|
192 | 191 | Integer[0] $acct_gather_node_freq = 0,
|
193 | 192 | Enum['acct_gather_energy/none','acct_gather_energy/ipmi','acct_gather_energy/rapl'] $acct_gather_energy_type = 'acct_gather_energy/none',
|
|
244 | 243 |
|
245 | 244 | # Authentication service for SLURM if MUNGE is used as authentication plugin
|
246 | 245 | if ($auth_type == 'auth/munge') or
|
247 |
| - ($crypto_type == 'crypto/munge') { |
| 246 | + ($cred_type == 'cred/munge') { |
248 | 247 |
|
249 | 248 | ensure_packages($munge_packages, {'ensure' => $munge_version})
|
250 | 249 |
|
|
315 | 314 | }
|
316 | 315 | }
|
317 | 316 |
|
318 |
| - # If openssl will be used for the crypto plugin, the key pair is a required file |
319 |
| - if $crypto_type == 'crypto/openssl' { |
320 |
| - $openssl_credential_files = [$job_credential_private_key,$job_credential_public_certificate] |
321 |
| - } |
322 |
| - else { |
323 |
| - $openssl_credential_files = [] |
324 |
| - } |
325 |
| - |
326 | 317 | if $cluster_name != undef {
|
327 | 318 | $shared_config_filepath = "${shared_config_path}/${cluster_name}.conf"
|
328 | 319 | } else {
|
|
433 | 424 | '/etc/slurm/slurm.conf',
|
434 | 425 | ]
|
435 | 426 |
|
436 |
| - $required_files = concat($openssl_credential_files, $acct_gather_conf_file, $cgroup_conf_file, $topology_conf_file, $gres_conf_file, $common_config_files) |
| 427 | + $required_files = concat($acct_gather_conf_file, $cgroup_conf_file, $topology_conf_file, $gres_conf_file, $common_config_files) |
437 | 428 |
|
438 | 429 | }
|
0 commit comments