propellor

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

commit 1e1066dd82c06be64cc931536a895fe6b61188f1
parent aff6edab56e1c961f5158ce0899fdbccdbd953ce
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue, 27 Aug 2019 21:40:09 -0400

propellor spin

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

diff --git a/config.hs b/config.hs @@ -180,7 +180,17 @@ virgo = host "virgo.ricketyspace.net" $props & Ssh.authorizedKey (User "s") sCanonicalSshPubKey -- git-daemon & rsGitDaemonDefaults `onChange` Service.restarted "git-daemon" - + -- opendkim + & File.dirExists "/etc/opendkim" + & File.containsLines "/etc/opendkim.conf" ricketyspaceNetOpenDkimConf + & File.containsLines "/etc/opendkim/KeyTable" ricketyspaceNetOpenDkimKeyTable + & File.containsLines "/etc/opendkim/SigningTable" ricketyspaceNetOpenDkimSigningTable + & File.containsLines "/etc/opendkim/TrustedHosts" ricketyspaceNetOpenDkimTrustedHosts + & File.dirExists "/etc/dkimkeys/ricketyspace.net" + & File.ownerGroup "/etc/dkimkeys/ricketyspace.net" (User "opendkim") (Group "opendkim") + & File.hasPrivContent "/etc/dkimkeys/ricketyspace.net/mail.private" (Context "ricketyspace.net") + & File.ownerGroup "/etc/dkimkeys/ricketyspace.net/mail.private" + (User "opendkim") (Group "opendkim") -- configure lyra