#  Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
---

common_packages:
   - slurm-slurmd 
   - slurm-pmi
   - munge
   - munge-libs
   - munge-devel
   - mariadb-server
   - mariadb-devel
   - man2html

leap_common_packages:
   - slurm
   - munge
   - mariadb
   - slurm-munge

common_python2_packages:
   - MySQL-python
   - python-netaddr

common_python3_packages:
   - MySQL-python3
   - python3-netaddr

hostname_dest: "/etc/hostname"
hosts_dest: "/etc/hosts"
munge_dest: "/etc/munge/"
munge_cmd: "/usr/sbin/create-munge-key -f"
munge_mode: "0400"
slurm_mode: "0644"
common_mode: "0777"
slurm_dest: "/etc/slurm/"
slurm_confpth: "/etc/slurm/slurm.conf"
slurm_user: "slurm"
slurmctld_port: "6817"
slurmd_port: "6818"
srun_port_range: "60001-63000"
acct_port: "6819"
slurm_uid: "6001"
slurm_logpth: "/var/log/slurm/"
slurm_pidpth: "/var/run/slurm/"
gen_mode: "0755"
spool_dir: "/var/spool/"
spool_pth: "/var/spool/slurm/"
slurmctld_pid: "/var/run/slurmctld.pid"
slurmd_pid: "/var/run/slurmd.pid"
cluster_name : "manager,compute"
slurmctld_log: "/var/log/slurm/slurmctld.log"
slurmd_log: "/var/log/slurm/slurmd.log"

os_centos: 'centos'
os_rocky: 'rocky'
os_version: '8.0'
os_supported_leap: "leap"