#  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.
---

# Usage: install_jansson.yml
slurm_restd_packages:
   - slurm-slurmrestd
   - http-parser-devel
   - json-c-devel
   - libtool
   - make

slurm_restd_packages_leap:
   - slurm-rest
   - libjson-c-devel
   - http-parser-devel
   - libtool
   - make
   - libopenssl-devel

slurm_gcc_leap:
  - devel_basis

fil_mode: "0755"
jansson_download_dir: /var/lib/
jansson_src_url: https://github.com/akheron/jansson/archive/refs/tags/v2.14.tar.gz
jansson_path: /usr/local/lib/pkgconfig
jansson_dir_path: /var/lib/jansson-2.14/
os_supported_leap: "leap"

# Usage: install_libjwt.yml
libjwt_repo: https://github.com/benmcollins/libjwt.git
libjwt_dir: /var/lib/libjwt

# Usage: generate_token.yml
token_dir: /var/spool/slurm/jwt_hs256.key
slurm_dir: /etc/slurm/
slurm_conf_path: /etc/slurm/slurm.conf
token_mode: '0600'
systemd_path_dest: "/etc/systemd/system/"
slurm_restd_port: "6820"