From 8f813dc87548a88bb28c326745b0399c74e344d8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Feb 2015 21:46:31 -0400 Subject: [PATCH] propellor spin --- config-joey.hs | 23 ++++++++++--------- .../Property/SiteSpecific/JoeySites.hs | 7 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config-joey.hs b/config-joey.hs index 6acba33..99deef4 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -173,13 +173,23 @@ kite = standardSystemUnhardened "kite.kitenet.net" Testing "amd64" & alias "mail.kitenet.net" & JoeySites.kiteMailServer + & JoeySites.kitenetHttps + & Apache.multiSSL + & JoeySites.legacyWebSites + + & alias "git.kitenet.net" + & alias "git.joeyh.name" + & JoeySites.gitServer hosts + + & JoeySites.downloads hosts + & JoeySites.gitAnnexDistributor + & JoeySites.tmp + & alias "ns4.kitenet.net" & myDnsSecondary & alias "ns4.branchable.com" & branchableSecondary - & JoeySites.legacyWebSites - & alias "bitlbee.kitenet.net" & Apt.serviceInstalledRunning "bitlbee" & "/etc/bitlbee/bitlbee.conf" `File.hasContent` @@ -204,15 +214,6 @@ kite = standardSystemUnhardened "kite.kitenet.net" Testing "amd64" & Docker.configured & Docker.garbageCollected `period` Daily ! Docker.docked oldusenetShellBox - - & alias "git.kitenet.net" - & alias "git.joeyh.name" - & JoeySites.gitServer hosts - - & JoeySites.downloads hosts - & JoeySites.gitAnnexDistributor - - & JoeySites.tmp diatom :: Host diatom = standardSystem "diatom.kitenet.net" (Stable "wheezy") "amd64" diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index edca2aa..3341a3d 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -221,14 +221,14 @@ annexWebSite origin hn uuid remotes = propertyList (hn ++" website using git-ann , " " , " Options FollowSymLinks" , " AllowOverride None" + , Apache.allowAll , " " , " " , " Options Indexes FollowSymLinks ExecCGI" , " AllowOverride None" , " AddHandler cgi-script .cgi" , " DirectoryIndex index.html index.cgi" - , " Order allow,deny" - , " allow from all" + , Apache.allowAll , " " ] @@ -256,8 +256,7 @@ apachecfg hn withssl middle , " " , " Options Indexes MultiViews" , " AllowOverride None" - , " Order allow,deny" - , " Allow from all" + , Apache.allowAll , " " , "" ]