propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit 7698b93867bb18537638aeae10fbeacd6942a394
parent b36721790f3fb69793739c8d8cd14b31f0b620c9
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu,  1 Feb 2018 05:00:21 +0000

propellor spin

Diffstat:
config.hs | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/config.hs b/config.hs @@ -683,6 +683,8 @@ lyra = host "lyra.ricketyspace.net" $props & ricketyspaceNetCertKey & ricketyspaceNetGitCert & ricketyspaceNetGitCertKey + -- opendkim + & File.containsLines "/etc/opendkim.conf" ricketyspaceNetOpenDkimConf -- bind & Dns.primary hosts "ricketyspace.net" (Dns.mkSOA "lyra.ricketyspace.net" 20180129) @@ -862,6 +864,16 @@ ricketyspaceNetGitCertKey :: Property (HasInfo + UnixLike) ricketyspaceNetGitCertKey = File.hasPrivContent "/etc/ssl/private/git.rs.net.d.le.key" (Context "git.ricketyspace.net") +ricketyspaceNetOpenDkimConf :: [File.Line] +ricketyspaceNetOpenDkimConf = [ + "KeyTable /etc/opendkim/KeyTable" + , "SigningTable /etc/opendkim/SigningTable" + , "ExternalIgnoreList /etc/opendkim/TrustedHosts" + , "InternalHosts /etc/opendkim/TrustedHosts" + , "LogWhy yes" + , "Socket inet:12345@localhost" + ] + m31 :: [Host] -- Andromeda. Computers outside s' galaxy. m31 = [ host "ns6.gandi.net" $ props