From fc8d3fe541ab019ac545695fc829af9558c8b1ed Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Apr 2014 14:40:57 -0400 Subject: propellor spin --- Propellor/Property/SiteSpecific/JoeySites.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Propellor/Property') diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs index 7ef6e945..f409b09b 100644 --- a/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/Propellor/Property/SiteSpecific/JoeySites.hs @@ -188,3 +188,14 @@ annexRsyncServer = combineProperties "rsync server for git-annex autobuilders" [ File.dirExists d , File.ownerGroup d "joey" "joey" ] + +twitRss :: Property +twitRss = combineProperties "twitter rss" + [ Git.cloned "joey" "git://git.kitenet.net/twitrss.git" dir Nothing + , check (doesFileExist $ dir "twitRss") $ userScriptProperty "joey" + [ "cd " ++ dir + , "ghc --make twitRss" + ] + ] + where + dir = "/srv/web/tmp.kitenet.net/twitrss" -- cgit v1.2.3