propellor spin

This commit is contained in:
Christine Dodrill 2015-08-15 00:25:03 -07:00
parent 891a8341e1
commit 334e1f98ba
No known key found for this signature in database
GPG Key ID: E9037B677CE55004
1 changed files with 3 additions and 8 deletions

View File

@ -6,14 +6,9 @@ import Propellor.CmdLine
import Propellor.Property.Scheduled import Propellor.Property.Scheduled
import qualified Propellor.Property.File as File import qualified Propellor.Property.File as File
import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.Apt as Apt
import qualified Propellor.Property.Network as Network
--import qualified Propellor.Property.Ssh as Ssh
import qualified Propellor.Property.Cron as Cron import qualified Propellor.Property.Cron as Cron
--import qualified Propellor.Property.Sudo as Sudo
import qualified Propellor.Property.User as User import qualified Propellor.Property.User as User
--import qualified Propellor.Property.Hostname as Hostname import qualified Propellor.Property.Hostname as Hostname
--import qualified Propellor.Property.Tor as Tor
import qualified Propellor.Property.Docker as Docker
main :: IO () main :: IO ()
main = defaultMain hosts main = defaultMain hosts
@ -25,11 +20,11 @@ hosts =
[ host "hermit" [ host "hermit"
& os (System (Debian (Stable "jessie")) "amd64") & os (System (Debian (Stable "jessie")) "amd64")
& Apt.stdSourcesList & Apt.stdSourcesList
& Apt.installed ["ssh"] & Apt.installed ["ssh", "build-essential"]
& Cron.runPropellor (Cron.Times "30 * * * *") & Cron.runPropellor (Cron.Times "30 * * * *")
, host "empress" , host "empress"
& os (System (Debian (Stable "jessie")) "amd64") & os (System (Debian (Stable "jessie")) "amd64")
& Apt.stdSourcesList & Apt.stdSourcesList
& Apt.installed ["ssh"] & Apt.installed ["ssh", "build-essential"]
& Cron.runPropellor (Cron.Times "30 * * * *") & Cron.runPropellor (Cron.Times "30 * * * *")
] ]