summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-11-20 19:21:22 -0400
committerJoey Hess <joey@kitenet.net>2014-11-20 19:21:22 -0400
commit1eaeddc2ebc5af5351b2de3d8a4d1788a77039da (patch)
tree2a7d89097f2392788b1461083f0aa1c617950d90 /config-joey.hs
parent02b8b2dec7c767ba3b7154e424b9c11e6a8d544f (diff)
parentba862ae8877c21eb63f7fba08ba5fc934a4c391c (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/config-joey.hs b/config-joey.hs
index d6f174dc..a11e1d8c 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -24,7 +24,7 @@ import qualified Propellor.Property.Postfix as Postfix
import qualified Propellor.Property.Grub as Grub
import qualified Propellor.Property.Obnam as Obnam
import qualified Propellor.Property.Gpg as Gpg
-import qualified Propellor.Property.Debootstrap as Debootstrap
+import qualified Propellor.Property.Chroot as Chroot
import qualified Propellor.Property.HostingProvider.DigitalOcean as DigitalOcean
import qualified Propellor.Property.HostingProvider.CloudAtCost as CloudAtCost
import qualified Propellor.Property.HostingProvider.Linode as Linode
@@ -80,8 +80,12 @@ clam = standardSystem "clam.kitenet.net" Unstable "amd64"
! Ssh.listenPort 80
! Ssh.listenPort 443
- ! Debootstrap.built "/tmp/chroot" (System (Debian Unstable) "amd64") []
+ & Chroot.provisioned testChroot
+testChroot :: Chroot.Chroot
+testChroot = Chroot.chroot "/tmp/chroot" (System (Debian Unstable) "amd64")
+ & File.hasContent "/foo" ["hello"]
+
orca :: Host
orca = standardSystem "orca.kitenet.net" Unstable "amd64"
[ "Main git-annex build box." ]