Add querying of ssh-related config values
authorHrvoje Ribicic <riba@google.com>
Wed, 18 Nov 2015 14:53:53 +0000 (14:53 +0000)
committerHrvoje Ribicic <riba@google.com>
Fri, 20 Nov 2015 10:14:07 +0000 (11:14 +0100)
commitdb6051b118fcca9181fd91ae497c9be3b97ca5e3
tree11cdbff0b7723028bad2f2f4fde9104884defc3c
parente4bd432d69d33cfe70c8c08130ec2d25d9f1673f
Add querying of ssh-related config values

To allow various command-line operations like renew-crypto and node
adds to know how to generate SSH keys, some config values need to be
queried outside of LUs. This patch adds the ssh_key_type and
ssh_key_bits to the config values that can be queried.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
src/Ganeti/Query/Server.hs