summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-29 16:48:20 -0400
committerJoey Hess2014-04-29 16:48:20 -0400
commit4467982c2b135233b0eb8bf5ae217d6220310ef5 (patch)
treee1c584ff7b683f38f426bcb780fd3795d1891647 /config-joey.hs
parent92fddf449a53a176b93ba19d460a544dac4f2e8b (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 254e810a..698bb3c3 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -19,6 +19,7 @@ import qualified Propellor.Property.Docker as Docker
import qualified Propellor.Property.Git as Git
import qualified Propellor.Property.Apache as Apache
import qualified Propellor.Property.Postfix as Postfix
+import qualified Propellor.Property.Service as Service
import qualified Propellor.Property.SiteSpecific.GitHome as GitHome
import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
import qualified Propellor.Property.SiteSpecific.JoeySites as JoeySites
@@ -73,6 +74,11 @@ hosts = -- (o) `
& Docker.garbageCollected `period` Daily
& Apt.installed ["git-annex", "mtr", "screen"]
+
+ -- Nothing is using https on clam, so listen on that port
+ -- for ssh, for traveling on bad networks.
+ & "/etc/ssh/sshd_config" `File.containsLine` "Port 443"
+ `onChange` Service.restarted "ssh"
-- Orca is the main git-annex build box.
, standardSystem "orca.kitenet.net" Unstable "amd64"