lib/serverspec/helper.rb in serverspec-0.0.1 vs lib/serverspec/helper.rb in serverspec-0.0.2

- old
+ new

@@ -2,7 +2,18 @@ module Helper def ssh_exec(host, cmd, opt={}) `ssh root@#{host} -o'StrictHostKeyChecking no' -o'UserKnownHostsFile /dev/null' #{cmd}` end end -end + module RedHatHelper + def commands + Serverspec::Commands::RedHat.new + end + end + + module DebianHelper + def commands + Serverspec::Commands::Debian.new + end + end +end