diff options
Diffstat (limited to 'Propellor/Property/Docker.hs')
| -rw-r--r-- | Propellor/Property/Docker.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Propellor/Property/Docker.hs b/Propellor/Property/Docker.hs index 450f397b..cacff5ce 100644 --- a/Propellor/Property/Docker.hs +++ b/Propellor/Property/Docker.hs @@ -211,8 +211,11 @@ runProp field val = Containerized [param] (Property param (return NoChange)) param = field++"="++val -- | Lift a Property to run inside the container. -inside :: Property -> Containerized Property -inside p = Containerized [] p +inside1 :: Property -> Containerized Property +inside1 = Containerized [] + +inside :: [Property] -> Containerized Property +inside = Containerized [] . combineProperties -- | Set custom dns server for container. dns :: String -> Containerized Property |
