summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
AgeCommit message (Collapse)Author
2016-03-24portedJoey Hess
2016-03-24add tightenTargets, ported Network properties (DebinLike only)Joey Hess
2016-03-24convert ensurePropertyJoey Hess
Moved to its own module to keep everything related in one place.
2016-03-24converted to metatypesJoey Hess
A few parts using ensureProperty need more work to compile
2016-03-24converted to metatypesJoey Hess
2016-03-18propellor spinJoey Hess
2016-03-18Tor.named: Fix bug that sometimes caused the property to fail the first ↵Joey Hess
time, though retrying succeeded. May have only been a problem on debian stable, the /var/lib/tor/keys/ was not created by installing the package.
2016-03-08fix to build with ghc 7.6.3Joey Hess
2016-03-07add unsupportedOSJoey Hess
2016-03-07avoid non-exhaustive pattern matchJoey Hess
2016-03-07splitWs appears identical to wordsJoey Hess
2016-03-07typoeJoey Hess
2016-03-07Return Left for FreeBSD on Debootstrap.Evan Cofsky
2016-03-07Fails on respin when it shouldn't recreate a Poudriere jail.Evan Cofsky
We were using checkResult instead of check, and we weren't parsing the output of `jail -l -q` properly. Now it handles respins perfectly.
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.