propellor spin
This commit is contained in:
parent
30440e352d
commit
442dbe2311
|
@ -221,6 +221,7 @@ standardSystem hn suite arch = host hn
|
||||||
& os (System (Debian suite) arch)
|
& os (System (Debian suite) arch)
|
||||||
& Apt.stdSourcesList suite
|
& Apt.stdSourcesList suite
|
||||||
`onChange` Apt.upgrade
|
`onChange` Apt.upgrade
|
||||||
|
& Apt.cacheCleaned
|
||||||
& Apt.installed ["etckeeper"]
|
& Apt.installed ["etckeeper"]
|
||||||
& Apt.installed ["ssh"]
|
& Apt.installed ["ssh"]
|
||||||
& GitHome.installedFor "root"
|
& GitHome.installedFor "root"
|
||||||
|
@ -245,6 +246,7 @@ standardContainer name suite arch = Docker.container name (dockerImage system)
|
||||||
& os (System (Debian suite) arch)
|
& os (System (Debian suite) arch)
|
||||||
& Apt.stdSourcesList suite
|
& Apt.stdSourcesList suite
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
|
& Apt.cacheCleaned
|
||||||
where
|
where
|
||||||
system = System (Debian suite) arch
|
system = System (Debian suite) arch
|
||||||
|
|
||||||
|
|
|
@ -254,3 +254,9 @@ trustsKey k = RevertableProperty trust untrust
|
||||||
hPutStr h (pubkey k)
|
hPutStr h (pubkey k)
|
||||||
hClose h
|
hClose h
|
||||||
nukeFile $ f ++ "~" -- gpg dropping
|
nukeFile $ f ++ "~" -- gpg dropping
|
||||||
|
|
||||||
|
-- | Cleans apt's cache of downloaded packages to avoid using up disk
|
||||||
|
-- space.
|
||||||
|
cacheCleaned :: Property
|
||||||
|
cacheCleaned = cmdProperty "apt-get" ["clean"]
|
||||||
|
`describe` "apt cache cleaned"
|
||||||
|
|
Loading…
Reference in New Issue