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

Safe Haskell | None
Language | Haskell2010

Propellor.Property.HostingProvider.Linode

Synopsis

- serialGrub :: Property (HasInfo + DebianLike)
- chainPVGrub :: TimeoutSecs -> Property (HasInfo + DebianLike)
- locateEnabled :: Property DebianLike

# Documentation

serialGrub :: Property (HasInfo + DebianLike) Source #

Configures grub to use the serial console as set up by Linode. Useful when running a distribution supplied kernel. https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distribution-supplied-kernel-with-kvm

chainPVGrub :: TimeoutSecs -> Property (HasInfo + DebianLike) Source #

Linode's pv-grub-x86_64 (only used for its older XEN instances) does not support booting recent Debian kernels compressed with xz. This sets up pv-grub chaining to enable it.

locateEnabled :: Property DebianLike Source #

Linode disables mlocate's cron job's execute permissions, presumably to avoid disk IO. This ensures it's executable, if it's installed. It does the same for its replacement plocate, in cae Linode starts messing with that.