lib/serverspec/setup.rb in serverspec-0.5.5 vs lib/serverspec/setup.rb in serverspec-0.5.6

- old
+ new

@@ -122,11 +122,10 @@ c.host = host options = Net::SSH::Config.for(c.host) user = options[:user] || Etc.getlogin ### include vagrant conf ### c.ssh = Net::SSH.start(c.host, user, options) - c.os = backend.check_os end end") if @vagrant content.gsub!(/### include vagrant conf ###/," config = `vagrant ssh-config --host \#{host}` @@ -147,10 +146,9 @@ else content.gsub!(/### include vagrant conf ###/,'') end when 'Exec' content.gsub!(/### include backend conf ###/, "c.before :all do - c.os = backend.check_os end") when 'Puppet' content.gsub!(/### include requirements ###/, "require 'puppet'\nrequire 'serverspec/backend/puppet' ") end