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>
remove watching files/ for linter

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added rake command unit to run lint+spec on travis

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
make lint + spec the default for running rake

and remove that travis script configuration

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix incorrect gemfile specification in travis.yml

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
reduce travis test load

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
ignore vendor paths for linting

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
temporarily remove guard from gemfile for travis testing

travis 1.8.7 testing cannot work with guard due to dependency on celluloid which requires ruby 1.9.2. it is still worth running the tests for 1.8.7 since some systems (eg ubuntu 12.04) carry old rubies by default and are supported by hardening

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

* don't use ssh-style fixtures, use http-style instead
* kick out kitchen as it doesn't run on ruby 1.8

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
make puppet version adaptable for travis

all those different puppet configurations don't have any affect if gemfile.lock is added to the repo. temporarily remove it to allow travis to test all versions.

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

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
make travis runs fast_finish

don't wait for things that are allowed to fail

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