From c0616ca8ce34ddb3d86131b89a38086110a604b3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 5 Jun 2014 17:30:25 -0400 Subject: update for stdSourcesList change --- config-simple.hs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config-simple.hs') 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" -- cgit v1.2.3