summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
authorJoey Hess2014-06-05 17:30:25 -0400
committerJoey Hess2014-06-05 17:30:25 -0400
commitc0616ca8ce34ddb3d86131b89a38086110a604b3 (patch)
tree9849f16dc32dea1d1b29bd25dddc89ad5e0b85fb /config-simple.hs
parentc2dd54d167cafe471360fd1e470bd6e50e2ee36b (diff)
update for stdSourcesList change
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/config-simple.hs b/config-simple.hs
index 3fb59186..94562eeb 100644
--- a/config-simple.hs
+++ b/config-simple.hs
@@ -24,7 +24,8 @@ main = defaultMain hosts
hosts :: [Host]
hosts =
[ host "mybox.example.com"
- & Apt.stdSourcesList Unstable
+ & os (System (Debian Unstable) "amd64")
+ & Apt.stdSourcesList
& Apt.unattendedUpgrades
& Apt.installed ["etckeeper"]
& Apt.installed ["ssh"]
@@ -36,7 +37,9 @@ hosts =
& Cron.runPropellor "30 * * * *"
-- A generic webserver in a Docker container.
- , Docker.container "webserver" "joeyh/debian-unstable"
+ , Docker.container "webserver" "joeyh/debian-stable"
+ & os (System (Debian Stable) "amd64")
+ & Apt.stdSourcesList
& Docker.publish "80:80"
& Docker.volume "/var/www:/var/www"
& Apt.serviceInstalledRunning "apache2"