add ubuntu 14.04 to kitchen tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix cipher and MAC ordering

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: make crypto configuration conditional on the OS

add a default configuration that should work with all systems and default integration tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: implemented kex detection for ubuntu 12.04 and 14.04

also restructured this part into a ruby structure, since it's much more readable compared to doing something similar in puppet

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: implemented mac detection for ubuntu 12.04 and 14.04

also fixed a bug where the filename must be equal to the function name

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: implemented cipher detection for ubuntu 12.04 and 14.04

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix incorrect conditional (true <==> false)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix incorrect weak kex algo

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix linter issues

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
enforce access permissions to /etc/ssh

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: add cipher configuration for redhat and centos

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added specs for cipher functions

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix incorrect weak_kex propagation

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
downcase the OS during detection for ciphers

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix getting variables for weak configuration locally

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: add mac configuration for redhat and centos

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
feature: add kex configuration for redhat and centos

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix incorrect syntax

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix issues with puppet not understanding nil; use empty string for undef analog

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #16 from TelekomLabs/conditional-crypto

great stuff :-)