| Age | Commit message (Collapse) | Author |
|
|
|
Turns out that with ghc 8.2.2, the instructions given on the page don't
work. And the cppless variant that I had compiles, but into effectively
mappend = mappend so it loops.
The only way I can see to make it work without cpp is to use
mappend = (Sem.<>)
which is ugly and a land mine waiting to explode if someone changes it
to a nicer mappend = (<>) with a newer version of ghc which will compile
it and work ok, while breaking it with 8.2.2. Sigh.
I posted to haskell-cafe about this.
|
|
|
|
|
|
Tested build with ghc 8.4 now.
|
|
Fix build with ghc 8.4, which broke due to the Semigroup Monoid change.
See https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid
Dropped support for building propellor with ghc 7 (as in debian
oldstable), to avoid needing to depend on the semigroups transitional
package, but also because it's just too old to be worth supporting.
If we indeed drop ghc 7 support entirely, some code to support "jessie"
can be removed; concurrent-output can be de-embedded, and the Singletons
code can be simplified.
This commit was sponsored by Jack Hill on Patreon.
|
|
ghc started warning about the IsProp (Property i) constraint;
removing it the code builds.
This may break building with older ghc.
|
|
|
|
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some commands in IPTables are order dependent. In particular, I have seen this
with the --to-dest and the --to-source arguments for DNAT and SNAT respectively.
Below is an example rule which demonstrates the issue.
$ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \
--to-dest 10.3.0.6:4000 -t nat -j DNAT
iptables v1.6.0: unknown option "--to-dest"
$ iptables -A PREROUTING -p tcp -i eth0 --dport 4000 \
-j DNAT --to-dest 10.3.0.6:4000 -t nat
Signed-off-by: Russell Sim <russell.sim@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
which seems to not work anymore.
Thanks, Russell Sim.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
|
|
|
|
|
|
|
|
Added Propellor.Property.Atomic, which can make a non-atomic property
that operates on a directory into an atomic property.
Also has a generic version that could be used for things other than
directories that can be updated atomically.
(Inspired by Vaibhav Sagar's talk on Functional Devops in a
Dysfunctional World at LCA 2018.)
This commit was sponsored by Fernando Jimenez on Patreon.
|
|
This commit was sponsored by Nick Daly on Patreon.
|
|
|
|
|
|
|
|
|
|
|
|
This commit was sponsored by Brock Spratlen on Patreon.
|
|
Don't affect rescue mode.
|
|
This commit was sponsored by Ewen McNeill on Patreon.
|
|
|
|
|
|
|