propellor spin
This commit is contained in:
parent
891a8341e1
commit
334e1f98ba
|
@ -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 * * * *")
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue