diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs index 7ef6e94..f409b09 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" diff --git a/config-joey.hs b/config-joey.hs index e5ccac3..5951455 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -104,6 +104,7 @@ hosts = -- (o) ` "tmp.kitenet.net" "26fd6e38-1226-11e2-a75f-ff007033bdba" [] + & JoeySites.twitRss & Apt.installed ["ntop"]