aws-samples / aws-parallelcluster-post-install-scripts

Scripts to customize AWS ParallelCluster
MIT No Attribution
16 stars 9 forks source link

Adding a guard for checking if slurmdbd.conf file exists or not #27

Closed himani2411 closed 2 weeks ago

himani2411 commented 3 weeks ago

Issue #, if available: The file /opt/slurm/etc/slurmdbd.conf does not exist in cluster if we do not have Scheduling/SlurmSettings/Database in cluster config.

Adding guard to check for file existence.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.