propellor

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

commit aff6edab56e1c961f5158ce0899fdbccdbd953ce
parent 283a98a4f7054ff7cfe050030290802e8c4e5549
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 26 Aug 2019 21:33:06 -0400

propellor spin

Diffstat:
config.hs | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/config.hs b/config.hs @@ -147,8 +147,6 @@ virgo = host "virgo.ricketyspace.net" $props & ricketyspaceNetLyraCertKey & Nginx.siteEnabled "ricketyspace.net" ricketyspaceNetNginx & Nginx.siteEnabled "git.ricketyspace.net" ricketyspaceNetGitNginx - -- git-daemon - & rsGitDaemonDefaults `onChange` Service.restarted "git-daemon" -- crons & stagitGenCron -- web @@ -171,11 +169,18 @@ virgo = host "virgo.ricketyspace.net" $props & User.hasGroup (User "g") (Group "pubs") & Ssh.authorizedKey (User "g") sCanonicalSshPubKey & Ssh.authorizedKey (User "g") sAraSshPubKey + --- c dir config + & File.dirExists "/home/g/c" + & File.ownerGroup "/home/g/c" (User "g") (Group "pubs") + & File.mode "/home/g/c" 0O0770 -- s config & User.accountFor (User "s") & User.hasPassword (User "s") & Sudo.enabledFor (User "s") & Ssh.authorizedKey (User "s") sCanonicalSshPubKey + -- git-daemon + & rsGitDaemonDefaults `onChange` Service.restarted "git-daemon" + -- configure lyra