summaryrefslogtreecommitdiff
path: root/src/Propellor
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-07refactorJoey Hess
2016-03-07indentsJoey Hess
2016-03-07unnecessary parensJoey Hess
2016-03-07fix checkBinaryCommandJoey Hess
The freebsd branch made it run ./propellor --check after verifying that command fails, which is clearly wrong.
2016-03-07fix indentJoey 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-06Force ssh, scp, and git commands to be run in the foreground.Joey Hess
Before, they could run in the background if another process was running, and so their output wouldn't immediately be visible. With this change, the concurrent-output layer is not used for these interactive commands.
2016-03-06propellor spinJoey Hess
2016-03-06propellor spinJoey Hess
2016-03-06propellor spinJoey Hess
2016-03-06Merge branch 'joeyconfig'Joey Hess
2016-03-06propellor spinJoey Hess
2016-03-06eek, nasty debug left inJoey Hess
2016-03-06stop using --continue SimpleRun for spinJoey Hess
When spinning a remote host, we do want to rebuild propellor on it, and this use of --continue that did a rebuild was different from all the other uses of --continue that avoided a rebuild. This fixes a build loop involving that special case. When --continue SimpleRun ran a rebuild, it re-execed propellor with --continue SimpleRun, and so would rebuild again, and re-exec again if the binary kept changing. Backwards compatability should be ok; old versions of propellor, when run with --serialized SimpleRun by the new version, do a buildFirst, followed by another (redundant) buildFirst, and then run. The one redundant buildFirst is not a problem in the upgrade scenario. (Unfortunately, I can't rename SimpleRun to something nicer despite only spin using it; backwards compatability does prevent that.)
2016-03-06refactor and propigate failure after re-running propellorJoey Hess
2016-03-06Merge branch 'joeyconfig'Joey Hess
2016-03-06move backJoey Hess
2016-03-06propellor spinJoey Hess
2016-03-06propellor spinJoey Hess
2016-03-06Merge branch 'joeyconfig'Joey 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-04Merge branch 'joeyconfig'Joey 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-04Merge branch 'joeyconfig'Joey Hess
2016-03-04Firewall: export TCPFlagFélix Sipma
(cherry picked from commit 4705d6be44d1ce6ff5eb0c7b8bc3a904b6e8d220)
2016-03-02Merge branch 'joeyconfig'Joey Hess
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)