summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/OS.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-22 19:58:35 -0400
committerJoey Hess2014-11-22 19:58:35 -0400
commit9a8fcf80bb026c390ad56da9b70d153fd978d6cf (patch)
treef602233f22d906e7909be4b4aa0d75204bc11861 /src/Propellor/Types/OS.hs
parent95f78a058660701cd7eb182f4d1989da27718c2a (diff)
Hostname parameters not containing dots are looked up in the DNS to find the full hostname.
Diffstat (limited to 'src/Propellor/Types/OS.hs')
-rw-r--r--src/Propellor/Types/OS.hs15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Propellor/Types/OS.hs b/src/Propellor/Types/OS.hs
index 2529e7d8..72e3d764 100644
--- a/src/Propellor/Types/OS.hs
+++ b/src/Propellor/Types/OS.hs
@@ -1,6 +1,17 @@
-module Propellor.Types.OS where
+module Propellor.Types.OS (
+ HostName,
+ UserName,
+ GroupName,
+ System(..),
+ Distribution(..),
+ DebianSuite(..),
+ isStable,
+ Release,
+ Architecture,
+) where
+
+import Network.BSD (HostName)
-type HostName = String
type UserName = String
type GroupName = String