From 2fe0b28982c403ea49c71854da11354067527394 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 7 Dec 2014 15:21:55 -0400 Subject: more uses for hostContext --- src/Propellor/Property/Ssh.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/Ssh.hs b/src/Propellor/Property/Ssh.hs index 88a757bd..fcae6498 100644 --- a/src/Propellor/Property/Ssh.hs +++ b/src/Propellor/Property/Ssh.hs @@ -80,7 +80,7 @@ randomHostKeys = flagFile prop "/etc/ssh/.unique_host_keys" [ "DPKG_MAINTSCRIPT_NAME=postinst DPKG_MAINTSCRIPT_PACKAGE=openssh-server /var/lib/dpkg/info/openssh-server.postinst configure" ] -- | Sets all types of ssh host keys from the privdata. -hostKeys :: Context -> Property +hostKeys :: IsContext c => c -> Property hostKeys ctx = propertyList "known ssh host keys" [ hostKey SshDsa ctx , hostKey SshRsa ctx -- cgit v1.3-2-g0d8e