added letsencrypt
authorLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 19:16:39 +0000 (14:16 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 19:16:39 +0000 (14:16 -0500)
class/50-host-classes
class/LETSENCRYPT.var [new file with mode: 0644]
package_config/LETSENCRYPT [new file with mode: 0644]
scripts/LETSENCRYPT/00_fetch.sh [new file with mode: 0755]

index 322e263..bcf591d 100755 (executable)
@@ -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 (file)
index 0000000..298d032
--- /dev/null
@@ -0,0 +1 @@
+LETSENCRYPT_PATH=/srv/
diff --git a/package_config/LETSENCRYPT b/package_config/LETSENCRYPT
new file mode 100644 (file)
index 0000000..b32993b
--- /dev/null
@@ -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 (executable)
index 0000000..92cd520
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+if [ ! -d $LETSENCRYPT_PATH/letsencrypt ]; then
+    cd $target/$LETSENCRYPT_PATH
+    git clone https://github.com/letsencrypt/letsencrypt
+fi