summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
AgeCommit message (Collapse)Author
2016-03-07minor style improvementsJoey Hess
2016-03-07minor style and layout improvementsJoey Hess
2016-03-07coding styleJoey Hess
2016-03-07minor style and layout improvementsJoey Hess
where blocks involve lest nesting than let in, and are more idiomatic in propellor properties
2016-03-07use catchIOJoey Hess
2016-03-07minor style improvementsJoey Hess
Made some code a little faster..
2016-03-07adjust haddock headersJoey Hess
for some reason I asked the author to put the copyright in there, but Propellor doesn't do per-file copyrights; it's all BSD. Also, make the maintainer show up in haddock.
2016-03-07avoid default fallthrough for SystemJoey Hess
This is so, when a user adds a new OS, ghc tells them everywhere they need to look to add it. Also, avoid throwing error from pure function..
2016-03-07make Cron.runPropellor pass System to bootstrapPropellorCommandJoey Hess
Rather than having the property fail when the Host has no OS defined, I made bootstrapPropellorCommand not install deps in this situation. The cron job will (probably) still work, unless a system upgrade causes deps to be removed.
2016-03-07clean upJoey Hess
2016-03-07Merge remote-tracking branch 'remotes/misandrist/FreeBSD' into wipJoey Hess
2016-03-07Firewall: add NatDestination to RulesFélix Sipma
(cherry picked from commit df40046fd65bc07eced41adb73c7e227d2b54cd1)
2016-03-07Ssh: change type of listenPort from Int to Port (API change)Félix Sipma
(cherry picked from commit 0207c5ab585f41877c1b9f9674a25941cffd2ac7)
2016-03-07add fromPort functionFélix Sipma
(cherry picked from commit c3a23f89092d1ef8367c37ab8993ea7031124f4b)
2016-03-07FreeBSD Support including:Evan Cofsky
- Propellor bootstrapping - Basic pkg - Basic ZFS datasets and properties - Simple Poudriere configuration (regular and ZFS) - Poudriere jail creation FIXME: - Cron.hs: runPropellor needs the System, but hasn't yet gotten it. Reorganizing: - Remove FreeBSD.Process - Move ZFS up to Property - Add Info for Pkg.update/Pkg.upgrade - Move FreeBSD.md to doc so it'll show up automatically. - Merge the FreeBSD config with the other sample config. - Use Info to check Pkg updated/upgraded and Poudriere configured. - Warnings clean-up, move ZFS types to Propellor.Types. - Maintainer and license statements.
2016-03-07improve filtering of interface filesJoey Hess
2016-03-07Network: escape interfaceDFile namesFélix Sipma
(cherry picked from commit 125135ea5d42d623346a385faf7ed404f8878891)
2016-03-06eek, nasty debug left inJoey Hess
2016-03-06Locale.available: Run locale-gen, instead of dpkg-reconfigure locales, which ↵Joey Hess
modified the locale.gen file and sometimes caused the property to need to make changes every time.
2016-03-05add libmagicJoey Hess
2016-03-05propellor spinJoey Hess
2016-03-04Firewall: simplify Chain data typeFélix Sipma
(cherry picked from commit 313a94cd87cd0f977310a6eada559dd383f6e9f0)
2016-03-04Firewall: update Chain constructorsFélix Sipma
(cherry picked from commit 1a485202eeab60d9d677576278480a4109db72fb)
2016-03-04Firewall: export TCPFlagFélix Sipma
(cherry picked from commit 4705d6be44d1ce6ff5eb0c7b8bc3a904b6e8d220)
2016-03-02Firewall: add TCPSyn to RulesFélix Sipma
(cherry picked from commit 864bff7743bd3a77f1bfdb37bdeeea49e31e1f52)
2016-03-02Firewall: add TCPFlagFélix Sipma
(cherry picked from commit f16e0e4f632032c70adcb9ba9f108e87a6ae4321)
2016-03-02Firewall: add FrequencyFélix Sipma
(cherry picked from commit 26fd68a9cda543e74492dc71680d10eaa881f351)
2016-03-02Firewall: add ICMPTypeMatchFélix Sipma
(cherry picked from commit 2214aca8f3ca92b9739b2884cb59274edad9170e)
2016-03-02Firewall: separate Table and TargetFélix Sipma
(cherry picked from commit c97f1308739aa7877aac2f3c949c4aadf2266775)
2016-03-01Apt: hlint fixesFélix Sipma
(cherry picked from commit 3682285c696ff24169f2bdaad6fbbea6a561b560)
2016-03-01Apt: fix typoFélix Sipma
(cherry picked from commit 0e076fbfaa4d57f8d665436243d20bb9e28cbebc)
2016-02-29run dpkg --configure with non-interactive envJoey Hess
2016-02-29forgot to build; fixJoey Hess
2016-02-29apt upgrade improvementsJoey Hess
* Apt.upgrade: Run dpkg --configure -a first, to recover from interrupted upgrades. * Apt: Add safeupgrade.
2016-02-26Removed Ssh.unauthorizedKey and made Ssh.authorizedKey revertable. (API change)Joey Hess
2016-02-26Ssh.authorizedKey: Fix bug preventing it from working when the ↵Joey Hess
authorized_keys file does not yet exist.
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-25add FromTarget classFélix Sipma
(cherry picked from commit 226bf3e8230037ad2de38760c962033ab6c64d9f)
2016-02-25Firewall: export fromIPWithMaskFélix Sipma
(cherry picked from commit 57f7d81f1124fa5c56a593b9d5de6448155a938e)
2016-02-25Firewall: add Table (api change)Félix Sipma
(cherry picked from commit 202f9c282ee34897461dc56a79e607244c94cd99)
2016-02-25Firewall: add CustomTargetFélix Sipma
(cherry picked from commit ecff879cfeacfbff00649f4a3b9dd19eaefe134f)
2016-02-25Firewall: minor hlint fixesFélix Sipma
(cherry picked from commit d4653a2c4683ff3eeb4decbb3c61bb9e9cef2c64)
2016-02-25Firewall: add Source/Destination RulesFélix Sipma
(cherry picked from commit 34ee25d51b502af8da81c7b0701ac02cf1f43c1e)
2016-02-25Firewall: add InIFace/OutIFace RulesFélix Sipma
(cherry picked from commit 717e693b2ad0bf39865ef28952f37670e70d8582)
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.
2016-02-19Obnam: Only let one backup job run at a time when a host has multiple ↵Joey Hess
different backup properties, to avoid concurrent jobs fighting over scarce resources (particularly memory). Other jobs block on a lock file.
2016-02-08Allow using combineProperties and propertyList with lists of RevertableProperty.Joey Hess
2016-02-07wordingJoey Hess
2016-02-07property is revertableJoey Hess
2016-02-07rethought how letsencrypt cert change is handledJoey Hess
Simply use onChange to let any other property by run after letsencrypt gets/renews the cert. Much simpler and allows for revertable properties too!