From: Lisa Marie Maginnis Date: Sun, 28 Feb 2016 19:16:39 +0000 (-0500) Subject: added letsencrypt X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5ff2163487d8fc2b59c69aedf85cbc2e783fe93f;p=fai-configs.git added letsencrypt --- diff --git a/class/50-host-classes b/class/50-host-classes index 322e263..bcf591d 100755 --- a/class/50-host-classes +++ b/class/50-host-classes @@ -81,10 +81,10 @@ case $HOSTNAME in echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW" ;; gmg*libreplanet.org) - echo "FAIBASE VM PSQL GMG SYSADMIN LIBREPLANET" + echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT LIBREPLANET" ;; gmg*) - echo "FAIBASE VM PSQL GMG SYSADMIN" + echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT" ;; *) echo "FAIBASE" diff --git a/class/LETSENCRYPT.var b/class/LETSENCRYPT.var new file mode 100644 index 0000000..298d032 --- /dev/null +++ b/class/LETSENCRYPT.var @@ -0,0 +1 @@ +LETSENCRYPT_PATH=/srv/ diff --git a/package_config/LETSENCRYPT b/package_config/LETSENCRYPT new file mode 100644 index 0000000..b32993b --- /dev/null +++ b/package_config/LETSENCRYPT @@ -0,0 +1,2 @@ +PACKAGES aptitude LETSENCRYPT +git-core diff --git a/scripts/LETSENCRYPT/00_fetch.sh b/scripts/LETSENCRYPT/00_fetch.sh new file mode 100755 index 0000000..92cd520 --- /dev/null +++ b/scripts/LETSENCRYPT/00_fetch.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +if [ ! -d $LETSENCRYPT_PATH/letsencrypt ]; then + cd $target/$LETSENCRYPT_PATH + git clone https://github.com/letsencrypt/letsencrypt +fi