summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-09Speed up propellor's build of itself, by asking cabal to only build the ↵Joey Hess
propellor-config binary and not all the libraries. This is a super speedup!
2016-03-08when run w/o parameters as root, update from git and buildJoey Hess
Got lost in recent changes and broke the cron job.
2016-03-08fix to build with ghc 7.6.3Joey Hess
2016-03-08fix reversion in bootstrap spin of system with no declared OSJoey Hess
The freebsd changes caused a bootstrap of a system with no declared OS to not work, where before it was assumed to be some debian-like system where apt can be used. Brought back this assumption.
2016-03-07add unsupportedOSJoey Hess
2016-03-07Merge branch 'master' into wipJoey Hess
2016-03-07avoid non-exhaustive pattern matchJoey Hess
2016-03-07splitWs appears identical to wordsJoey Hess
2016-03-07typoeJoey Hess
2016-03-07privdata/relocateJoey Hess
better than symlinks because this way no conflict can ever occur and, commit from hook
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-07Merge branch 'joeyconfig'Joey Hess
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-07move fromString export to PropellorJoey Hess
My policy for config.hs is it shouldn't need to load any modules other than propellor and the desired property modules.
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-07Merge branch 'joeyconfig'Joey Hess
2016-03-07improve filtering of interface filesJoey Hess
2016-03-07Network: escape interfaceDFile namesFélix Sipma
(cherry picked from commit 125135ea5d42d623346a385faf7ed404f8878891)
2016-03-06Merge branch 'joeyconfig'Joey Hess
2016-03-06build with older ghcJoey Hess
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-06refactorJoey Hess
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.)