summaryrefslogtreecommitdiff
path: root/src/Propellor/Types.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-31 20:48:23 -0400
committerJoey Hess2014-05-31 20:48:23 -0400
commit58c8d74b4c4917f9f5e566709202ad432a7b2a6f (patch)
tree65da63c631e875a1bf074da920e145d07d011698 /src/Propellor/Types.hs
parente133536c3f7cc4dd816b8c5fe97e3131411a5ae9 (diff)
simplified record accessors
Diffstat (limited to 'src/Propellor/Types.hs')
-rw-r--r--src/Propellor/Types.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Types.hs b/src/Propellor/Types.hs
index e0d471ff..4ea97bce 100644
--- a/src/Propellor/Types.hs
+++ b/src/Propellor/Types.hs
@@ -36,9 +36,9 @@ import Propellor.Types.Dns
-- | Everything Propellor knows about a system: Its hostname,
-- properties and attributes.
data Host = Host
- { _hostName :: HostName
- , _hostProps :: [Property]
- , _hostAttr :: Attr
+ { hostName :: HostName
+ , hostProperties :: [Property]
+ , hostAttr :: Attr
}
-- | Propellor's monad provides read-only access to the host it's running