Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions recipes/pcs/hpc_ready_ami/assets/scripts/install-spack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,22 @@ download_and_install_spack() {

handle_ubuntu_22.04() {
logger "Installing deps for Ubuntu 22.04" "INFO"
sudo apt update && sudo apt install -y git python3-pip unzip && sudo apt clean
sudo apt update && sudo apt install -y git unzip && sudo apt clean
}

handle_rhel_9() {
logger "Installing deps for RHEL 9" "INFO"
sudo dnf install -y git python3-pip && sudo dnf clean all
sudo dnf install -y git && sudo dnf clean all
}

handle_rocky_9() {
logger "Installing deps for Rocky Linux 9" "INFO"
sudo dnf install -y git python3-pip && sudo dnf clean all
sudo dnf install -y git && sudo dnf clean all
}

handle_amzn_2() {
logger "Installing deps for Amazon Linux 2" "INFO"
sudo yum makecache && sudo yum install -y git python3-pip && sudo yum clean all
sudo yum makecache && sudo yum install -y git && sudo yum clean all
}

# Main function
Expand Down
4 changes: 2 additions & 2 deletions recipes/security/public_certs/assets/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Resources:
cd acme.sh-$VERSION
./acme.sh --install
./acme.sh --set-default-ca --server letsencrypt
./acme.sh --issue --dns dns_aws --ocsp-must-staple --keylength 4096 -d ${DomainName} -d "*.${DomainName}"
./acme.sh --issue --dns dns_aws --keylength 4096 -d ${DomainName} -d "*.${DomainName}"

CERTKEYFILE=$HOME/.acme.sh/${DomainName}/${DomainName}.key
CERTCERFILE=$HOME/.acme.sh/${DomainName}/${DomainName}.cer
Expand Down Expand Up @@ -322,7 +322,7 @@ Resources:
cd acme.sh-$VERSION
./acme.sh --install
./acme.sh --set-default-ca --server letsencrypt
./acme.sh --issue --dns dns_aws --ocsp-must-staple --keylength 4096 -d ${DomainName} -d "*.${DomainName}"
./acme.sh --issue --dns dns_aws --keylength 4096 -d ${DomainName} -d "*.${DomainName}"

CERTKEYFILE=$HOME/.acme.sh/${DomainName}/${DomainName}.key
CERTCERFILE=$HOME/.acme.sh/${DomainName}/${DomainName}.cer
Expand Down