summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2015-04-07 12:14:01 -0400
committerJoey Hess2015-04-07 12:14:01 -0400
commit798a94f75df0816c77fdae19b0b38bf0ec0f52d8 (patch)
tree79f7e590bb3cd8b941dbf8de1d62c1ff15ca6c20 /config-joey.hs
parentf93d3a93a7401c185878001629fccf6dd2fa6962 (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 8d8eae4b..dede7c6a 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -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 -> ensureProperty $ File.containsLine
+ "/etc/graphite/local_settings.py" ("SECRET_KEY = '"++ token ++"'")
--' __|II| ,.
---- __|II|II|__ ( \_,/\