summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-20 14:06:55 -0400
committerJoey Hess2014-11-20 14:15:26 -0400
commitb8b746a7f1bdbf179136959a85138fde60c43588 (patch)
tree48e9b5c95a7f0ec1ef0f899513e65de96124c31a /config-joey.hs
parentcc8bbcf95b9b0cdcd2db17ee6049263498caa79b (diff)
starting work on a Chroot module
factored out info up-propigation code rom Docker
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 c5309ad0..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." ]