summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2018-10-09 10:05:59 -0400
committerJoey Hess2018-10-09 10:05:59 -0400
commiteda94ac1e7f56c00f5beb86cc7caa7d4de45fdaa (patch)
treea5c982de9bb638e4abea05a33670207ea97d694f /src/Propellor/Property
parent900fec76cdbd24a3c3f4304198dd4afd9a87c8d3 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 4b3b06ad..cc7d19af 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -1317,3 +1317,9 @@ autoMountDrive label (USBHubPort port) malias = propertyList desc $ props
[ "stop " ++ mountpoint
, "start " ++ mountpoint
]
+
+rsyncNetBorgRepo :: String -> Borg.BorgRepo
+rsyncNetBorgRepo d = Borg.BorgRepoUsing
+ -- rsync.net has a newer borg here
+ [ Borg.UsesEnvVar ("BORG_REMOTE_PATH", "borg1")
+ ] ("2318@usw-s002.rsync.net:" ++ d)