summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/OS.hs
diff options
context:
space:
mode:
authorJoey Hess2016-02-26 11:02:41 -0400
committerJoey Hess2016-02-26 11:02:41 -0400
commit1f69a4f7191a035329e254cf8f792929cd165009 (patch)
tree33cf55fbebd3c7b494c09cdeda3db545217f78e2 /src/Propellor/Property/OS.hs
parentb56f33bf5f3870081cf42fc67c752e1918a01b50 (diff)
parent1501509f5dfb5c93fd572f472756c96905d41ce4 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/OS.hs')
-rw-r--r--src/Propellor/Property/OS.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/OS.hs b/src/Propellor/Property/OS.hs
index 5678b818..5f1adddb 100644
--- a/src/Propellor/Property/OS.hs
+++ b/src/Propellor/Property/OS.hs
@@ -221,7 +221,7 @@ preserveRootSshAuthorized :: Property NoInfo
preserveRootSshAuthorized = check (fileExist oldloc) $
property (newloc ++ " copied from old OS") $ do
ks <- liftIO $ lines <$> readFile oldloc
- ensureProperties (map (Ssh.authorizedKey (User "root")) ks)
+ ensureProperties (map (setupRevertableProperty . Ssh.authorizedKey (User "root")) ks)
where
newloc = "/root/.ssh/authorized_keys"
oldloc = oldOSDir ++ newloc