summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--propellor.cabal1
-rw-r--r--src/Propellor/Property/HostingProvider/CloudAtCost.hs34
3 files changed, 3 insertions, 35 deletions
diff --git a/debian/changelog b/debian/changelog
index 8faca945..225b71b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ propellor (5.5.0) UNRELEASED; urgency=medium
* letsencrypt': Pass --expand to support expanding the list of domains
* Split mailname property out of Hostname.sane, since bad mailname
guesses can lead to ugly surprises. (API change)
+ * Removed HostingProvider.CloudatCost module as it lacks a maintainer.
+ (If anyone would like to maintain it, send a patch adding it back.)
+ (API change)
* Added Systemd.escapePath helper function useful when creating mount
units.
* Added Sudo.sudoersDFile property.
diff --git a/propellor.cabal b/propellor.cabal
index 904a8f64..0454fc92 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -144,7 +144,6 @@ Library
Propellor.Property.ZFS
Propellor.Property.ZFS.Process
Propellor.Property.ZFS.Properties
- Propellor.Property.HostingProvider.CloudAtCost
Propellor.Property.HostingProvider.DigitalOcean
Propellor.Property.HostingProvider.Exoscale
Propellor.Property.HostingProvider.Linode
diff --git a/src/Propellor/Property/HostingProvider/CloudAtCost.hs b/src/Propellor/Property/HostingProvider/CloudAtCost.hs
deleted file mode 100644
index 839aa14e..00000000
--- a/src/Propellor/Property/HostingProvider/CloudAtCost.hs
+++ /dev/null
@@ -1,34 +0,0 @@
--- | Maintainer: currently unmaintained; your name here!
-
-module Propellor.Property.HostingProvider.CloudAtCost
- {-# WARNING "This module does not have a maintainer. It might not work right anymore. If you use it, please consider becoming its maintainer." #-}
- where
-
-import Propellor.Base
-import qualified Propellor.Property.Hostname as Hostname
-import qualified Propellor.Property.File as File
-import qualified Propellor.Property.User as User
-
--- Clean up a system as installed by cloudatcost.com
-decruft :: Property DebianLike
-decruft = propertyList "cloudatcost cleanup" $ props
- & Hostname.sane
- & Hostname.mailname
- & grubbugfix
- & nukecruft
- where
- grubbugfix :: Property DebianLike
- grubbugfix = tightenTargets $
- "/etc/default/grub" `File.containsLine` "GRUB_DISABLE_LINUX_UUID=true"
- `describe` "worked around grub/lvm boot bug #743126"
- `onChange` (cmdProperty "update-grub" [] `assume` MadeChange)
- `onChange` (cmdProperty "update-initramfs" ["-u"] `assume` MadeChange)
- nukecruft :: Property Linux
- nukecruft = tightenTargets $
- combineProperties "nuked cloudatcost cruft" $ props
- & File.notPresent "/etc/rc.local"
- & File.notPresent "/etc/init.d/S97-setup.sh"
- & File.notPresent "/zang-debian.sh"
- & File.notPresent "/bin/npasswd"
- & User.nuked (User "user") User.YesReallyDeleteHome
-