diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-27 19:59:20 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-27 19:59:20 -0400 |
| commit | 9d6dc29555b8499d8ae6c73c891b0b5dc19f83e5 (patch) | |
| tree | 875311342f65bcdc380b31a14be8def60533b670 /src/Propellor/Container.hs | |
| parent | 3383d008c7df57e6b5dd066fa1dfa80ac39cdd8e (diff) | |
improve haddocks and move code around to make them more clear
Diffstat (limited to 'src/Propellor/Container.hs')
| -rw-r--r-- | src/Propellor/Container.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Container.hs b/src/Propellor/Container.hs index 4cd46ae5..c4d6f864 100644 --- a/src/Propellor/Container.hs +++ b/src/Propellor/Container.hs @@ -3,8 +3,10 @@ module Propellor.Container where import Propellor.Types +import Propellor.Types.Core import Propellor.Types.MetaTypes import Propellor.Types.Info +import Propellor.Info import Propellor.PrivData import Propellor.PropAccum @@ -54,7 +56,7 @@ propagateContainer containername c prop = prop convert p = let n = property (getDesc p) (getSatisfy p) :: Property UnixLike n' = n - `addInfoProperty` mapInfo (forceHostContext containername) + `setInfoProperty` mapInfo (forceHostContext containername) (propagatableInfo (getInfo p)) `addChildren` map convert (getChildren p) in toChildProperty n' |
