setup/git/010_TestSetup.rb in beaker-puppet-1.15.1 vs setup/git/010_TestSetup.rb in beaker-puppet-1.16.0
- old
+ new
@@ -20,11 +20,11 @@
# mount_folders:
# puppet:
# host_path: ~/puppet
# container_path: /build/puppet
#
- if agent[:mount_folders]
- mount = agent[:mount_folders][repository[:name]]
+ if host[:mount_folders]
+ mount = host[:mount_folders][repository[:name]]
repository[:path] = "file://#{mount[:container_path]}"
end
repo_dir = host.tmpdir(repository[:name])
on(host, "chmod 755 #{repo_dir}")