Skip to content

Commit 5171631

Browse files
committed
Revert "deprecate openhpc_extra_config in favour of openhpc_config"
This reverts commit b342bcc.
1 parent b342bcc commit 5171631

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ package in the image.
6363

6464
`openhpc_cluster_name`: name of the cluster
6565

66-
`openhpc_config`: Mapping of additional parameters and values for `slurm.conf`. Note these will override any included in `templates/slurm.conf.j2`.
66+
`openhpc_extra_config`: Mapping of additional parameters and values for `slurm.conf`. Note these will override any included in `templates/slurm.conf.j2`.
6767

6868
`openhpc_state_save_location`: Optional. Absolute path for Slurm controller state (`slurm.conf` parameter [StateSaveLocation](https://slurm.schedmd.com/slurm.conf.html#OPT_StateSaveLocation))
6969

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ openhpc_drain_timeout: 86400
1111
openhpc_resume_timeout: 300
1212
openhpc_retry_delay: 10
1313
openhpc_job_maxtime: 24:00:00
14-
openhpc_config: "{{ openhpc_extra_config | default({}) }}"
14+
openhpc_extra_config: {}
1515
openhpc_state_save_location: /var/spool/slurm
1616

1717
# Accounting

molecule/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test9 | 1 | N | As test8 but uses `--limit=tes
2020
test10 | 1 | N | As for #5 but then tries to add an additional node
2121
test11 | 1 | N | As for #5 but then deletes a node (actually changes the partition due to molecule/ansible limitations)
2222
test12 | 1 | N | As for #5 but enabling job completion and testing `sacct -c`
23-
test13 | 1 | N | As for #5 but tests `openhpc_config` variable.
23+
test13 | 1 | N | As for #5 but tests `openhpc_extra_config` variable.
2424

2525
# Local Installation & Running
2626

molecule/test13/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
openhpc_cluster_name: testohpc
1717
openhpc_slurm_configless: true
1818
openhpc_login_only_nodes: 'testohpc_login'
19-
openhpc_config:
19+
openhpc_extra_config:
2020
FirstJobId: 13
2121
SlurmctldSyslogDebug: error

tasks/runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
no_extra_spaces: true
100100
create: no
101101
mode: 0644
102-
loop: "{{ openhpc_config | dict2items }}"
102+
loop: "{{ openhpc_extra_config | dict2items }}"
103103
delegate_to: localhost
104104
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
105105
changed_when: false # so molecule doesn't fail

templates/slurm.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,3 @@ PartitionName={{part.name}} \
140140
# Want nodes that drop out of SLURM's configuration to be automatically
141141
# returned to service when they come back.
142142
ReturnToService=2
143-
144-
# Parameters from openhpc_config (which do not override values templated above) will be below here:

0 commit comments

Comments
 (0)