spec/puppet_spec_helper.rb in bebox-0.0.1 vs spec/puppet_spec_helper.rb in bebox-0.1.0
- old
+ new
@@ -4,10 +4,10 @@
if config.host != host
config.disable_sudo = true
config.ssh.close if config.ssh
config.host = host
options = Net::SSH::Config.for(config.host)
- options[:keys] = ["#{puppet.project_root}/config/keys/environments/vagrant/id_rsa"]
+ options[:keys] = ["#{provision.project_root}/config/keys/environments/vagrant/id_rsa"]
options[:forward_agent] = true
user = 'puppet'
config.ssh = Net::SSH.start(config.host, user, options)
end
end
\ No newline at end of file