summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/OS.hs
AgeCommit message (Collapse)Author
2017-07-26propellor spinJoey Hess
2017-02-04cleanInstallOnce supports DebianLike onlyZihao Wang
because of User.shadowConfig Signed-off-by: Zihao Wang <dev@wzhd.org>
2016-06-13add DebianKernel datatypeFélix Sipma
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c but without the changes to src/Propellor/Precompiled.hs)
2016-06-13convert Architecture to a sumtypeFélix Sipma
TODO: remove ANDROID (used in GitAnnexBuilder) TODO: add other architectures TODO: rename ARMHF TODO: rename ARMEL (cherry picked from commit 6f36f6cade4e1d8b15c714565e223562c6573099)
2016-03-28one moreJoey Hess
2016-03-28propellor spinJoey Hess
2016-03-26remove `os` propertyJoey Hess
The new properties let the type checker know what the target OS is.
2016-03-26more portingJoey Hess
2016-03-07add unsupportedOSJoey Hess
2016-02-26Removed Ssh.unauthorizedKey and made Ssh.authorizedKey revertable. (API change)Joey Hess
2016-02-25FooBuntu -> BuntishJoey Hess
Seems that Canonical have trademarked numerous words ending in "buntu", and would like to trademark anything ending in that to the extent their lawyers can make that happen.
2016-02-19trademark nonsenseJoey Hess
Removed references to *buntu from code and documentation because of an unfortunate trademark use policy. http://joeyh.name/blog/entry/trademark_nonsense/ That included changing a data constructor to "FooBuntu", an API change.
2015-10-23allow specifying filesystem mount optionsJoey Hess
2015-10-10propellor spinJoey Hess
2015-05-27Export CommandParam, boolSystem, safeSystem and shellEscape from ↵Joey Hess
Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library. Several imports of Utility.SafeCommand now redundant.
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-01-25remove toSimplePropJoey Hess
It didn't do what I thought it did with a RevertableProperty; it always returned Nothing because even if the input properties to <!> are NoInfo, it casts them to HasInfo. Even if it had worked, it lost type safety. Better to export the Property NoInfo that is used in a RevertableProperty, so it can be used directly.
2015-01-24GADT properties seem to work (untested)Joey Hess
* Property has been converted to a GADT, and will be Property NoInfo or Property HasInfo. This was done to make sure that ensureProperty is only used on properties that do not have Info. Transition guide: - Change all "Property" to "Property NoInfo" or "Property WithInfo" (The compiler can tell you if you got it wrong!) - To construct a RevertableProperty, it is useful to use the new (<!>) operator - Constructing a list of properties can be problimatic, since Property NoInto and Property WithInfo are different types and cannot appear in the same list. To deal with this, "props" has been added, and can built up a list of properties of different types, using the same (&) and (!) operators that are used to build up a host's properties.
2015-01-23OS.preserveNetwork finally writtenJoey Hess
2014-12-09improve haddock formating of filenamesJoey Hess
2014-12-07cautionJoey 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-06Reboot.atEndJoey Hess
2014-12-06reboot at end of propellor run when clean os has been installedJoey 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-11-24renameJoey Hess
2014-11-24move property to ssh moduleJoey Hess
2014-11-24more work; builds nowJoey Hess
2014-11-23better property namesJoey 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)
2014-11-23WIPJoey Hess