summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2018-09-30 11:34:29 -0400
committerJoey Hess2018-09-30 11:34:29 -0400
commit427aee951ad41aae9d923d231d60a2a02d3822ca (patch)
treeb14dd49bf5aed17232621d8d4d02ffce91c3e464 /src/Propellor/Property
parentb853c8a82361af7ee1a35c1e0ab0d5e627d2b029 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 33707aef..4b3b06ad 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -951,6 +951,7 @@ homePower user hosts ctx sshkey = propertyList "home power" $ props
user (userGroup user)
`requires` File.dirExists (takeDirectory sshkeyfile)
`requires` Ssh.knownHost hosts "kitenet.net" user
+ & File.hasPrivContentExposed "/etc/darksky-forecast-url" anyContext
where
d = "/var/www/html/homepower"
sshkeyfile = d </> ".ssh/key"