summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific/IABak.hs
AgeCommit message (Collapse)Author
2015-12-05UncheckedProperty for cmdProperty et alJoey Hess
* Properties that run an arbitrary command, such as cmdProperty and scriptProperty are converted to use UncheckedProperty, since they cannot tell on their own if the command truely made a change or not. (API Change) Transition guide: - When GHC complains about an UncheckedProperty, add: `assume` MadeChange - Since these properties used to always return MadeChange, that change is always safe to make. - Or, if you know that the command should modifiy a file, use: `changesFile` filename * A few properties have had their Result improved, for example Apt.buldDep and Apt.autoRemove now check if a change was made or not.
2015-10-16improve ssh user key propertiesJoey Hess
* Ssh.keyImported is replaced with Ssh.userKeys. (API change) The new property only gets the private key from the privdata; the public key is provided as a parameter, and so is available as Info that other properties can use. * Ssh.keyImported' is renamed to Ssh.userKeyAt, and also changed to only import the private key from the privdata. (API change) * While Ssh.keyImported and Ssh.keyImported' avoided updating existing keys, the new Ssh.userKeys and Ssh.userKeyAt properties will always update out of date key files. * Ssh.pubKey renamed to Ssh.hostPubKey. (API change) This makes eg, setting up ssh for spin controllers work better.
2015-10-10propellor spinJoey Hess
2015-09-29propellor spinJoey Hess
2015-09-14clean up privdata excess/lacking newline issueJoey Hess
* PrivData converted to newtype (API change). * Stopped stripping trailing newlines when setting PrivData; this was previously done to avoid mistakes when pasting eg passwords with an unwanted newline. Instead, PrivData consumers should use either privDataLines or privDataVal, to extract respectively lines or a value (without internal newlines) from PrivData.
2015-08-12propellor spinJoey Hess
2015-08-02re-add mistakenly removed retention line to the graphite schema config fileDaniel Brooks
2015-05-22propellor spinJoey Hess
2015-05-22propellor spinJoey Hess
2015-05-22mergeJoey Hess
2015-05-22propellor spinJoey Hess
2015-04-22propellor spinJoey Hess
2015-04-22API change: Added User and Group newtypes, and Properties that used to use ↵Joey Hess
the type UserName = String were changed to use them. Note that UserName is kept and PrivData still uses it in its sum type. This is to avoid breaking PrivData serialization.
2015-04-21propellor spinJoey Hess
2015-04-21propellor spinJoey Hess
2015-04-21propellor spinJoey Hess
2015-04-21propellor spinJoey Hess
2015-04-21propellor spinJoey Hess
2015-04-12propellor spinJoey Hess
2015-04-07propellor spinJoey Hess
2015-04-07propellor spinJoey Hess
2015-04-07propellor spinJoey Hess
2015-04-07propellor spinJoey Hess
2015-04-07split out a moduleJoey Hess