Need to make the moduledir before scping the module to agents
authorHunter Haugen <hunter@puppetlabs.com>
Mon, 16 Jun 2014 17:27:12 +0000 (10:27 -0700)
committerHunter Haugen <hunter@puppetlabs.com>
Mon, 16 Jun 2014 17:27:12 +0000 (10:27 -0700)
spec/acceptance/beaker_helper.rb
spec/spec_helper_acceptance.rb

index 2518a40..4ac5185 100644 (file)
@@ -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
index d0d84d0..7ffedf0 100644 (file)
@@ -7,6 +7,7 @@ unless ENV['RS_PROVISION'] == 'no'
       install_pe
     else
       install_puppet
+      on host, "mkdir -p #{host['distmoduledir']}"
     end
   end
 end