propellor spin

This commit is contained in:
Joey Hess 2014-07-17 21:35:43 -04:00
parent ec6a89c5fe
commit e242c68de7
Failed to extract signature
2 changed files with 631 additions and 522 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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"