propellor

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

commit 42ec1085652bb256928717866c1179df09f28117
parent bf95fcde591cfcb02356868267583f046dba9d91
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 17 Dec 2017 19:09:52 +0000

propellor spin

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

diff --git a/config.hs b/config.hs @@ -126,6 +126,7 @@ cygnus = host "cygnus.ricketyspace.net" $ props & buildEmacs & installEmacs & wgetLinks + & cygnusPgDump -- root config. & User.hasSomePassword (User "root") & Ssh.authorizedKey (User "root") sCanonicalSshPubKey @@ -174,6 +175,9 @@ entisolBackupPath = "/home/s/.mnt/entisol/box/cygnus/latest/" entisolAnnexPath :: [Char] entisolAnnexPath = "/home/s/.mnt/entisol/annex" +pgDumpsDir :: [Char] +pgDumpsDir = "/home/s/.mnt/entisol/box/cygnus/pgdumps" + ---- crux. cruxFilter :: [Char] cruxFilter = "/home/s/v/git/rsd/dotfiles/rsync-backup/filter-crux" @@ -297,6 +301,13 @@ wgetLinks = Cron.job "wgetLinks" where cmd = "./cache-webs" +cygnusPgDump :: Property DebianLike +cygnusPgDump = Cron.job "cygnusPgDump" + (Cron.Times "10 14 * * *") + (User "s") "/home/s/.bin/" cmd + where + cmd = "./pgdump" ++ pgDumpsDir + ---- etc cygnusHosts :: [File.Line] cygnusHosts = [