diff options
| author | Joey Hess <joey@kitenet.net> | 2014-07-17 21:35:43 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-07-17 21:35:43 -0400 |
| commit | e242c68de7762b3e13548bdd6547873aba511baa (patch) | |
| tree | ad657f6de6a06ff2bafc36873e7ead8b0daff728 /src | |
| parent | ec6a89c5fecfb272556ca65cd823cb3069ebcf3d (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 713b2aab..eaed66b1 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -400,7 +400,7 @@ kiteMailServer = propertyList "kitenet.net mail server" , Apt.installed ["maildrop"] , "/etc/aliases" `File.hasPrivContentExposed` ctx `onChange` cmdProperty "newaliases" ["newaliases"] - , "/etc/ssl/certs/joeyca.pem" `File.hasPrivContentExposed` ctx + , hasJoeyCAChain , "/etc/ssl/certs/postfix.pem" `File.hasPrivContentExposed` ctx , "/etc/ssl/private/postfix.pem" `File.hasPrivContent` ctx , "/etc/postfix/mydomain" `File.containsLines` @@ -468,3 +468,7 @@ kiteMailServer = propertyList "kitenet.net mail server" ] where ctx = Context "kitenet.net" + +hasJoeyCAChain :: Property +hasJoeyCAChain = "/etc/ssl/certs/joeyca.pem" `File.hasPrivContentExposed` + Context "joeyca.pem" |
