Oh, I found what caused this error. There was a mistake in one of my modules - file {'': … } with empty name. But I was able to find it only after I'd run 'puppet apply' locally via vagrant. Puppet apply showed the name of faulty module and the exact line number.
Error: Parameter path failed on File[]: File paths must be fully qualified, not '' at /tmp/vagrant-puppet/modules-0/gitolite/manifests/init.pp:35
And puppet agent
puppet agent --server puppet.site --verbose --no-daemonize --onetime --debug --trace didn't. I found only this:
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not convert from pson: Could not find relationship target "File[]"
in both puppet agent output and puppetmaster log.
So the question is - is it a bug? Or may be it is a normal behaviour?