From 5ff2163487d8fc2b59c69aedf85cbc2e783fe93f Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Sun, 28 Feb 2016 14:16:39 -0500 Subject: [PATCH] added letsencrypt --- class/50-host-classes | 4 ++-- class/LETSENCRYPT.var | 1 + package_config/LETSENCRYPT | 2 ++ scripts/LETSENCRYPT/00_fetch.sh | 6 ++++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 class/LETSENCRYPT.var create mode 100644 package_config/LETSENCRYPT create mode 100755 scripts/LETSENCRYPT/00_fetch.sh 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 -- 2.25.1