summaryrefslogtreecommitdiff
path: root/Host/clam.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Host/clam.hs')
-rw-r--r--Host/clam.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Host/clam.hs b/Host/clam.hs
index 53b349df..03448a82 100644
--- a/Host/clam.hs
+++ b/Host/clam.hs
@@ -2,13 +2,16 @@ import Property
import qualified Property.Apt as Apt
import qualified Property.Ssh as Ssh
import qualified Property.User as User
+import qualified Property.Hostname as Hostname
import qualified Property.GitHome as GitHome
import qualified Property.Reboot as Reboot
main = defaultMain
[ Apt.stdSourcesList Apt.Unstable `onChange` Apt.upgrade
, Apt.installed ["etckeeper"]
+ , Hostname.set "clam.kitenet.net"
, Apt.installed ["ssh"]
+ , Ssh.uniqueHostKeys
, Apt.installed ["git", "myrepos"]
, GitHome.installedFor "root"
, check (Ssh.hasAuthorizedKeys "root") $