diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-29 23:45:48 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-29 23:45:48 -0400 |
| commit | 0ab0216d0b400fae78a6a6916ef9f82ed31dc0fa (patch) | |
| tree | fd006abe430c43d6783482451b6b9626994be160 /Host/clam.hs | |
| parent | 0e1b587442fb78bcbf4886b53b85ab64b45215b0 (diff) | |
configure hostname etc
Diffstat (limited to 'Host/clam.hs')
| -rw-r--r-- | Host/clam.hs | 3 |
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") $ |
