summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/HostingProvider
diff options
context:
space:
mode:
authorJoey Hess2018-08-19 13:24:52 -0400
committerJoey Hess2018-08-19 13:24:52 -0400
commit5f5d99824a2b24d11ccbf4969f934c94e58a9a90 (patch)
tree985e3b5195084debf100c3b690a31d5c6da46010 /src/Propellor/Property/HostingProvider
parent5f530af0223913a9a5ff50a806ee5b4f8e527983 (diff)
Split mailname property out of Hostname.sane
Since bad mailname guesses can lead to ugly surprises. (API change) Kept it in the Hostname module for easy discoverability, and similar to Hostname.searchDomain it sets a value based on the hostname so makes sense to keep it in that module. Didn't implement the mailname equivilant of Hostname.setTo, because it's trivial to write the mailname file with a custom value if desired. This commit was sponsored by John Pellman on Patreon.
Diffstat (limited to 'src/Propellor/Property/HostingProvider')
-rw-r--r--src/Propellor/Property/HostingProvider/CloudAtCost.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/HostingProvider/CloudAtCost.hs b/src/Propellor/Property/HostingProvider/CloudAtCost.hs
index 48c19572..839aa14e 100644
--- a/src/Propellor/Property/HostingProvider/CloudAtCost.hs
+++ b/src/Propellor/Property/HostingProvider/CloudAtCost.hs
@@ -13,6 +13,7 @@ import qualified Propellor.Property.User as User
decruft :: Property DebianLike
decruft = propertyList "cloudatcost cleanup" $ props
& Hostname.sane
+ & Hostname.mailname
& grubbugfix
& nukecruft
where