summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Kerberos.hs
diff options
context:
space:
mode:
authorJoey Hess2015-09-29 11:00:21 -0400
committerJoey Hess2015-09-29 11:00:21 -0400
commitf494a7d03a0146ce53e27ac97c62c9f82343c4b1 (patch)
treec1a7810fbeedd0157b80eb78cdfdeda5b578d8ae /src/Propellor/Property/Kerberos.hs
parentfd91de2d0a0cede958745f6ffe27ac27d3da9951 (diff)
add Maintainer entries for contributed modules
These show up in the haddock documentation on the sidebar. The author emails are not hyperlinked, so hopefully this is not a spam source. Keeping track of Maintainers of modules is becoming necessary because I don't use all these modules and am not the best person to maintain them, beyond simple changes to keep them building. I'll loop in the Maintainer if there's a bug etc on their module.
Diffstat (limited to 'src/Propellor/Property/Kerberos.hs')
-rw-r--r--src/Propellor/Property/Kerberos.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Kerberos.hs b/src/Propellor/Property/Kerberos.hs
index 74388423..5d07f4dc 100644
--- a/src/Propellor/Property/Kerberos.hs
+++ b/src/Propellor/Property/Kerberos.hs
@@ -1,7 +1,7 @@
+-- | Maintainer: Jelmer Vernooij <jelmer@samba.org>
+
module Propellor.Property.Kerberos where
-import Data.String.Utils
-import Utility.FileSystemEncoding
import Utility.Process
import Propellor
@@ -30,7 +30,7 @@ kdcConfPath = "/etc/krb5kdc/kdc.conf"
keyTabPath :: Maybe FilePath -> FilePath
keyTabPath = maybe defaultKeyTab id
--- Create a principal from a primary, instance and realm
+-- | Create a principal from a primary, instance and realm
principal :: String -> Maybe String -> Maybe Realm -> Principal
principal p i r = p ++ maybe "" ("/"++) i ++ maybe "" ("@" ++) r