Bug: wrong option kernel.modules_disabled = 0

In sysctl.conf the option kernel.modules_disabled may not be set
the value 0. If the kernel modules are enables the option may not
be present at all.
Merge pull request #24 from kurthuwig/fix/wrong-sysctl-option-kernel-modules

bugfix: fix option kernel.modules_disabled = 0
add thias/sysctl to dependencies

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
switch to sysctl resource

i.e. remove the template and move all of the configuration into the manifest using sysctl resource invocations

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
add fixtures with module dependencies for sepcs

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
add test specs for sysctl

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
add spec tests go guard

i was originally going for rspec here, but due to puppet's internal spec-helper i guess it is used differently. running rake spec manually solved my issues and i'd leave it at that unless sb. knows how to correctly configure guard for this job.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix lint and spec issues in sysctl

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
add full specs for sysctl

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
adjust guard to also watch on changes to puppet files

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
bugfix: fix findings from specs in sysctl

* arp restrictions were only applied to eth0 instead of all devices
* kernel.sysrq didn't get the correct value when enabled

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