propellor spin
This commit is contained in:
parent
a788c957d2
commit
330c00efa4
|
@ -91,6 +91,7 @@ hosts = -- (o) `
|
||||||
& Ssh.hostKeys (Context "kitenet.net")
|
& Ssh.hostKeys (Context "kitenet.net")
|
||||||
& Obnam.backup "/" "33 1 * * *"
|
& Obnam.backup "/" "33 1 * * *"
|
||||||
[ "--repository=sftp://joey@eubackup.kitenet.net/~/lib/backup/kite.obnam"
|
[ "--repository=sftp://joey@eubackup.kitenet.net/~/lib/backup/kite.obnam"
|
||||||
|
, "--client-name=kitenet.net"
|
||||||
, "--encrypt-with="
|
, "--encrypt-with="
|
||||||
, "--exclude=/var/cache"
|
, "--exclude=/var/cache"
|
||||||
, "--exclude=/var/tmp"
|
, "--exclude=/var/tmp"
|
||||||
|
@ -134,6 +135,8 @@ hosts = -- (o) `
|
||||||
"downloads.kitenet.net"
|
"downloads.kitenet.net"
|
||||||
"840760dc-08f0-11e2-8c61-576b7e66acfd"
|
"840760dc-08f0-11e2-8c61-576b7e66acfd"
|
||||||
[("turtle", "ssh://turtle.kitenet.net/~/lib/downloads/")]
|
[("turtle", "ssh://turtle.kitenet.net/~/lib/downloads/")]
|
||||||
|
`requires` Ssh.keyImported SshRsa "joey" (Context "downloads.kitenet.net")
|
||||||
|
`requires` Ssh.knownHost hosts "turtle.kitenet.net" "joey"
|
||||||
& JoeySites.gitAnnexDistributor
|
& JoeySites.gitAnnexDistributor
|
||||||
|
|
||||||
& alias "tmp.kitenet.net"
|
& alias "tmp.kitenet.net"
|
||||||
|
|
|
@ -142,7 +142,7 @@ gitServer hosts = propertyList "git.kitenet.net setup"
|
||||||
, Obnam.backup "/srv/git" "33 3 * * *"
|
, Obnam.backup "/srv/git" "33 3 * * *"
|
||||||
[ "--repository=sftp://2318@usw-s002.rsync.net/~/git.kitenet.net"
|
[ "--repository=sftp://2318@usw-s002.rsync.net/~/git.kitenet.net"
|
||||||
, "--encrypt-with=1B169BE1"
|
, "--encrypt-with=1B169BE1"
|
||||||
, "--client-name=wren"
|
, "--client-name=wren" -- historical
|
||||||
] Obnam.OnlyClient
|
] Obnam.OnlyClient
|
||||||
`requires` Gpg.keyImported "1B169BE1" "root"
|
`requires` Gpg.keyImported "1B169BE1" "root"
|
||||||
`requires` Ssh.keyImported SshRsa "root" (Context "git.kitenet.net")
|
`requires` Ssh.keyImported SshRsa "root" (Context "git.kitenet.net")
|
||||||
|
@ -206,8 +206,6 @@ annexWebSite hosts origin hn uuid remotes = propertyList (hn ++" website using g
|
||||||
dir = "/srv/web/" ++ hn
|
dir = "/srv/web/" ++ hn
|
||||||
postupdatehook = dir </> ".git/hooks/post-update"
|
postupdatehook = dir </> ".git/hooks/post-update"
|
||||||
setup = userScriptProperty "joey" setupscript
|
setup = userScriptProperty "joey" setupscript
|
||||||
`requires` Ssh.keyImported SshRsa "joey" (Context hn)
|
|
||||||
`requires` Ssh.knownHost hosts "turtle.kitenet.net" "joey"
|
|
||||||
setupscript =
|
setupscript =
|
||||||
[ "cd " ++ shellEscape dir
|
[ "cd " ++ shellEscape dir
|
||||||
, "git config annex.uuid " ++ shellEscape uuid
|
, "git config annex.uuid " ++ shellEscape uuid
|
||||||
|
|
Loading…
Reference in New Issue