This commit is contained in:
Joey Hess 2015-04-07 12:11:34 -04:00
parent 4afbee11ac
commit f93d3a93a7
1 changed files with 2 additions and 2 deletions

View File

@ -371,8 +371,8 @@ iabak = host "iabak.archiveteam.org"
repo = "https://github.com/ArchiveTeam/IA.BAK/"
graphiteCSRF = withPrivData (Password "csrf-token") (Context "iabak.archiveteam.org") $
\gettoken -> property "graphite-web CSRF token" $
gettoken $ \token ->
makeChange $ File.containsLine "/etc/graphite/local_settings.py" "SECRET_KEY = '"++ token ++"'"
gettoken $ \token -> makeChange $ File.containsLine $
"/etc/graphite/local_settings.py" "SECRET_KEY = '"++ token ++"'"
--' __|II| ,.
---- __|II|II|__ ( \_,/\