summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/PrivData.hs
AgeCommit message (Collapse)Author
2015-01-15Add descriptions of how to set missing fields to --list-fields output. ↵Joey Hess
(Minor API changes)
2015-01-04cleanupJoey Hess
2015-01-04Ssh.hostKeys now also installs any available SshEd25519 keys.Joey Hess
2015-01-04resign zone if keys changeJoey Hess
2015-01-03add DnsSec privdata typesJoey Hess
2014-12-14broke up big function to describe PrivDataFieldJoey Hess
2014-12-14support for crypted passwords in privdataJoey Hess
* Added CryptPassword to PrivDataField, for password hashes as produced by crypt(3). * User.hasPassword and User.hasSomePassword will now use either a CryptPassword or a Password from privdata, depending on which is set.
2014-12-07more uses for hostContextJoey Hess
2014-12-07Fixed privdata introspection for User.hasPassword and User.hasSomePasswordJoey Hess
This is not a complete fix for the problem that Info doen't propigate from the called property when code does something like: do hostname <- asks hostName ensureProperty $ foo hostname Instead, I just eliminated the need to implement hasPassword that way, by making the PrivData Info use a HostContext which automatically gets the right hostname passed to it. All other uses of withPrivData don't have the problem. It's still possible for the user to run into the problem if they write something like the above, where foo is a property that uses privdata. However, all properties that take a Context now also accept a HostContext, so it's at least less likely the user needs to write that.
2014-07-06propellor spinJoey Hess