Skip to content

Commit 22b8229

Browse files
author
Morgan Haskel
committed
Merge pull request #37 from hunner/proj_root
Forgot to move this line too
2 parents 32df59a + bfa48d7 commit 22b8229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
if hosts.first.is_pe? && !is_foss
1010
install_pe
1111
else
12-
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
1312
version = ENV['PUPPET_VERSION'] || '3.6.2'
1413
download_url = ENV['WIN_DOWNLOAD_URL'] || 'http://downloads.puppetlabs.com/windows/'
1514
hosts.each do |host|
@@ -27,6 +26,7 @@
2726
on default, "mkdir -p #{default['distmoduledir']}/powershell"
2827
result = on default, "echo #{default['distmoduledir']}/powershell"
2928
target = result.raw_output.chomp
29+
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3030
%w(lib metadata.json).each do |file|
3131
scp_to default, "#{proj_root}/#{file}", target
3232
end

0 commit comments

Comments
 (0)