summaryrefslogtreecommitdiff
path: root/src/Propellor
AgeCommit message (Collapse)Author
2014-12-21Revert ensureProperty warning message, too many false positives in places ↵Joey Hess
where Info is correctly propigated. Better approach needed.
2014-12-21propellor spinJoey 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-09improve haddock formating of filenamesJoey Hess
2014-12-09Fix Apache.siteEnabled to update the config file and reload apache when ↵Joey Hess
configuration has changed.
2014-12-09fix a case where fileProperty reported a change despite not making oneJoey Hess
The problem occurred because two lists of lines of the file can be different, while representing the same file content. For example: ["foo", "bar"] ["foo\nbar"]
2014-12-08refactorJoey Hess
2014-12-08another place to use toResultJoey Hess
2014-12-08finished accidentially committed bitJoey Hess
2014-12-08propellor spinJoey Hess
(cherry picked from commit 1d02d589c79781cc4b0bd82467edbdf64c40f34d)
2014-12-07Display a warning when ensureProperty is used on a property which has Info ↵Joey Hess
and is so prevented from propigating it. Would much rather a type-based fixed, but this is all I have for now.
2014-12-07docuemnt info propigtion problemJoey Hess
2014-12-07more uses for hostContextJoey Hess
2014-12-07cautionJoey 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-12-07simplify using makeChangeJoey Hess
2014-12-07typoJoey Hess
2014-12-06enable shadow passwordsJoey Hess
I have seen weird almost boot failures when they're disabled, including a segfault.
2014-12-06updateJoey Hess
2014-12-06keep and use Reboot.nowJoey Hess
2014-12-06Reboot.atEndJoey Hess
2014-12-06reboot at end of propellor run when clean os has been installedJoey Hess
2014-12-06endAction can be used to register an action to run once propellor has ↵Joey Hess
successfully run on a host.
2014-12-05spelling typoJoey Hess
2014-12-05forgot to add new Mount libJoey Hess
2014-12-05some commentsJoey Hess
2014-12-05fix install of debootstrap from sourceJoey Hess
2014-12-05hasSomePassword and hasPassword now check to make sure shadow passwords are ↵Joey Hess
enabled.
2014-12-05I have now successfully used propellor to convert a Fedora system into a ↵Joey Hess
bootable and fully working Debian system
2014-12-05rollback if renameing failsJoey Hess
This avoids leaving the system in a broken state where some directories have been renamed away any others not. Future work: If the rename list contains (foo, bar) and (newfoo,foo), reorder the list to gather those two actions together to minimize the amount of time that foo is missing. In case of power loss or something.
2014-12-04more improvements to takeoverJoey Hess
2014-12-04more work on OS takeoverJoey Hess
2014-12-03update name of libgnutls dev packageJoey Hess
2014-12-01Run apt-cache policy with LANG=C.Joey Hess
2014-11-27remove -i, seems not needed and may be causing problemJoey Hess
2014-11-27added more debuggingJoey Hess
2014-11-27propellor spinJoey Hess
2014-11-26avoid crash on no propellor.debug settingJoey Hess
2014-11-25propellor.debug can be set in the git config to enable more persistent ↵Joey Hess
debugging output.
2014-11-25Group: preferred styleFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-25cron.runPropellor now runs propellor, rather than using its Makefile. This ↵Joey Hess
is more robust. Particularly, the Makefile would try to build propellor if there were updates, but if this build failed because a bad commit was pushed, it would abort w/o pulling any new fixed commits. Anyway, it's better to move away from using the makefile when possible as it's just for bootstrapping, and also I would like to make "make" not default to running propellor as that can be confusing behavior. (I can't change that yet; needed for upgrades. Should be fine to change after several more releases, or maybe a year..)
2014-11-24renameJoey Hess
2014-11-24move property to ssh moduleJoey Hess
2014-11-24oopsJoey Hess
2014-11-24more work; builds nowJoey Hess
2014-11-23better property namesJoey Hess
2014-11-23one more merge testJoey Hess
--allow-empty added to commit, because the spins could all be empty
2014-11-23add --mergeJoey Hess
2014-11-23hasSomePassword and hasPassword now default to using the name of the host as ↵Joey Hess
the Context for the password. To specify a different context, use hasSomePassword' and hasPassword' (API change)