propellor-0.2.0: property-based host configuration management in haskell

Safe HaskellNone

Propellor.Property.Apt

Synopsis

Documentation

stdSourcesList :: DebianSuite -> PropertySource

Makes sources.list have a standard content using the mirror CDN, - with a particular DebianSuite. - - Since the CDN is sometimes unreliable, also adds backup lines using - kernel.org.

isInstalled' :: [Package] -> IO [Bool]Source

Note that the order of the returned list will not always correspond to the order of the input list. The number of items may even vary. If apt does not know about a package at all, it will not be included in the result list.

unattendedUpgrades :: RevertablePropertySource

Enables unattended upgrades. Revert to disable.

reConfigure :: Package -> [(String, String, String)] -> PropertySource

Preseeds debconf values and reconfigures the package so it takes effect.