propellor

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

commit d1bc9fd05e9ebbe2fbef049b20c63aa409b0a968
parent 686c991959878f827955732d8581ff2a89e95d9f
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 28 Oct 2019 22:23:43 -0400

propellor spin

Diffstat:
config.hs | 16++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/config.hs b/config.hs @@ -62,13 +62,10 @@ main = defaultMain hosts -- The hosts propellor knows about. hosts :: [Host] -hosts = rsPublicHosts ++ dsPublicHosts ++ [ grus ] +hosts = publicHosts ++ [ grus ] -rsPublicHosts :: [Host] -rsPublicHosts = [ lyra, virgo, ara ] ++ m31 - -dsPublicHosts :: [Host] -dsPublicHosts = [ vela ] +publicHosts :: [Host] +publicHosts = [ lyra, virgo, ara, vela ] ++ m31 -- keys. @@ -278,7 +275,7 @@ lyra = host "lyra.ricketyspace.net" $props & File.hasContent "/etc/dovecot/dovecot.conf" rsDovecotConf `onChange` Service.restarted "dovecot" -- bind - & Dns.primary rsPublicHosts "ricketyspace.net" + & Dns.primary publicHosts "ricketyspace.net" (Dns.mkSOA "lyra.ricketyspace.net" 20180129) [ (RootDomain, NS $ RelDomain "lyra") @@ -288,10 +285,10 @@ lyra = host "lyra.ricketyspace.net" $props , (RelDomain "_dmarc", TXT "v=DMARC1; p=none; rua=mailto:root@ricketyspace.net") , (RelDomain "mail._domainkey", TXT "v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6ClUrJTSt/UISOTEoZy36SfCjuyuajJVGEzYrhuysn2CA3MNt6y3dsHrjalA04Bix02KySMVEHcbScsd54MHhvk364pOkapuAEFIAmvY9SiZGRWsKMK5tgq/aSgH6xFg6M1CupV4QHWFgk193juiEdnB8uwXKTxOdKP/P/xbU3h98MFvXmNzT8sEr5VMZHiTdzqcxCLLfhx27iwjFJh4td6y+0n5YO/M2zf3n9ikXIof/dw4lA5Xo2icI3G88LMl9Tk4vcY0UVXXXulKmrnrn96Nyow0zU31kB/NUb1HbOxaVLz7KJThS+U9NV/66vZ5blwg7aExJXkPfVEtLTca+wIDAQAB") ] - & Dns.primary dsPublicHosts "dingy.space" + & Dns.primary publicHosts "dingy.space" (Dns.mkSOA "lyra.ricketyspace.net" 20191028) [ - (RootDomain, NS $ RelDomain "lyra") + (RootDomain, NS $ AbsDomain "lyra.ricketyspace.net") , (RootDomain, NS $ AbsDomain "ns6.gandi.net") , (RootDomain, MX 0 $ AbsDomain "lyra.ricketyspace.net") , (RootDomain, TXT "v=spf1 mx -all") @@ -342,7 +339,6 @@ vela :: Host vela = host "dingy.space" $props & ipv6 "2604:a880:400:d1::77f:8002" - --- nginx ricketyspaceNetNginx :: [String] ricketyspaceNetNginx = [