summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma2018-02-23 16:33:00 +0100
committerFélix Sipma2018-02-23 16:33:00 +0100
commitfad7824a13580f505549cc746589c94542bec9cb (patch)
treebc2e706c70e6ee9ce00bb090c866fc4c407a89d7
parent6749014553b13ad148cde450baefb241a98ed771 (diff)
rename Dhparams to Openssl
-rw-r--r--propellor.cabal2
-rw-r--r--src/Propellor/Property/Openssl.hs (renamed from src/Propellor/Property/Dhparams.hs)10
2 files changed, 6 insertions, 6 deletions
diff --git a/propellor.cabal b/propellor.cabal
index b2ecb3d8..b22abcba 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -103,7 +103,6 @@ Library
Propellor.Property.Cron
Propellor.Property.DebianMirror
Propellor.Property.Debootstrap
- Propellor.Property.Dhparams
Propellor.Property.DiskImage
Propellor.Property.DiskImage.PartSpec
Propellor.Property.Dns
@@ -141,6 +140,7 @@ Library
Propellor.Property.Nginx
Propellor.Property.Obnam
Propellor.Property.OpenId
+ Propellor.Property.Openssl
Propellor.Property.OS
Propellor.Property.Pacman
Propellor.Property.Parted
diff --git a/src/Propellor/Property/Dhparams.hs b/src/Propellor/Property/Openssl.hs
index 2c30cb87..eb373e49 100644
--- a/src/Propellor/Property/Dhparams.hs
+++ b/src/Propellor/Property/Openssl.hs
@@ -1,6 +1,6 @@
-- | Maintainer: Félix Sipma <felix+propellor@gueux.org>
-module Propellor.Property.Dhparams where
+module Propellor.Property.Openssl where
import Propellor.Base
import qualified Propellor.Property.Apt as Apt
@@ -9,11 +9,11 @@ import Utility.FileMode
import Utility.SafeCommand
-length' :: Int
-length' = 2048
+dhparamsLength :: Int
+dhparamsLength = 2048
-file :: FilePath
-file = "/etc/ssl/private/dhparams.pem"
+dhparams :: FilePath
+dhparams = "/etc/ssl/private/dhparams.pem"
safeDhparams :: Property DebianLike
safeDhparams = propertyList "safe dhparams" $ props