Copying each specified file over to the vagrant box.
Getting unique list of folders from the bundle list and copying their contents recursively. This way only runnable files are specified in the bundle_list variable, but any supporting files in their directories are copied over (allows us to split the CFEngine agent files from the control/bundle files as agent files can't be ran w/cf-agent).
Renamed x variable in the map statement