summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-06-16 10:27:12 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-06-16 10:27:12 -0700
commitb55d04145e0ff2ebcb59515fa348ff1e9d22b4e2 (patch)
tree3cb9b358bc69d06ecb7ebd2b7302016089ac5407 /spec
parent22592b471319f219c3412d76b056f4ec53e3583a (diff)
Need to make the moduledir before scping the module to agents
Diffstat (limited to 'spec')
-rw-r--r--spec/acceptance/beaker_helper.rb1
-rw-r--r--spec/spec_helper_acceptance.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/acceptance/beaker_helper.rb b/spec/acceptance/beaker_helper.rb
index 2518a40..4ac5185 100644
--- a/spec/acceptance/beaker_helper.rb
+++ b/spec/acceptance/beaker_helper.rb
@@ -6,6 +6,7 @@ test_name "Installing Puppet and vcsrepo module" do
install_pe
else
install_puppet
+ on host, "mkdir -p #{host['distmoduledir']}"
end
end
end
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index d0d84d0..7ffedf0 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -7,6 +7,7 @@ unless ENV['RS_PROVISION'] == 'no'
install_pe
else
install_puppet
+ on host, "mkdir -p #{host['distmoduledir']}"
end
end
end