summaryrefslogtreecommitdiff
path: root/src/Propellor/EnsureProperty.hs
diff options
context:
space:
mode:
authorJoey Hess2018-02-11 14:35:58 -0400
committerJoey Hess2018-02-11 14:35:58 -0400
commit053e6d7495c3b44051074472713206ed0d3ce816 (patch)
treef361f9d62a3365c29651357c7c020a0929f81502 /src/Propellor/EnsureProperty.hs
parent1ea90f1b69e071b3e533f9b33acb2415c6e916ab (diff)
add Propellor.Property.Atomic
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.
Diffstat (limited to 'src/Propellor/EnsureProperty.hs')
-rw-r--r--src/Propellor/EnsureProperty.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/EnsureProperty.hs b/src/Propellor/EnsureProperty.hs
index ad74bfa8..5a07107c 100644
--- a/src/Propellor/EnsureProperty.hs
+++ b/src/Propellor/EnsureProperty.hs
@@ -8,6 +8,7 @@ module Propellor.EnsureProperty
( ensureProperty
, property'
, OuterMetaTypesWitness(..)
+ , Cannot_ensureProperty_WithInfo
) where
import Propellor.Types