summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
authorCarlos Sosa <gnusosa@gnusosa.net>2018-07-15 20:12:59 -0700
committerCarlos Sosa <gnusosa@gnusosa.net>2018-07-15 20:12:59 -0700
commit155fa37d74c6b8ed9d1b802116c17378f45dbbcb (patch)
treeb91de760d93867c475cd72bc012a930c4ea48e69 /config-simple.hs
parent0ca9c501cf1864097035f386f3ffcae91f542558 (diff)
propellor spin
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs13
1 files changed, 9 insertions, 4 deletions
diff --git a/config-simple.hs b/config-simple.hs
index f8af2c11..89f72d1d 100644
--- a/config-simple.hs
+++ b/config-simple.hs
@@ -6,11 +6,13 @@ import qualified Propellor.Property.Apt as Apt
import qualified Propellor.Property.Cmd as Cmd
import qualified Propellor.Property.Cron as Cron
import qualified Propellor.Property.File as File
-import qualified Propellor.Property.Sudo as Sudo
-import qualified Propellor.Property.User as User
-import qualified Propellor.Property.Ssh as Ssh
import qualified Propellor.Property.Hostname as Hostname
import qualified Propellor.Property.Locale as Locale
+import qualified Propellor.Property.Ssh as Ssh
+import qualified Propellor.Property.Sudo as Sudo
+import qualified Propellor.Property.User as User
+import qualified Propellor.Property.Systemd as Systemd
+
import Control.Applicative
import Propellor.Utilities
@@ -56,7 +58,10 @@ marmot :: Host
marmot = host "marmot.rodere.systems" $ props
& standardSystem (Stable "stretch") X86_64 ["Welcome to Marmot"]
& User.accountFor (User "git")
- & Apt.installed ["cgit", "nginx", "fcgiwrap", "gitolite3"]
+ & Apt.installed ["cgit", "nginx", "fcgiwrap", "gitolite3", "python-certbot-nginx"]
+ & Systemd.enabled "git-daemon"
+ & Systemd.started "git-daemon"
+
-- Woodmouse is a minimal workbench server
-- Stable