我已经使用 PuPHPet 为我目前正在处理的项目的虚拟机创建清单。
一切都很好,直到最后(在“注意:完成的目录在 xxx.xx 秒内运行”之后)。然后它说:
Stderr from the command:
stdin: is not a tty
Warning: Could not retrieve fact fqdn
Error: Failed to set owner to '0': Operation not permitted - /var/www
Error: /Stage[main]//File[/var/www]/owner: change from vagrant to root failed: Failed to set owner to '0': Operation not permitted - /var/www
Error: Failed to set group to '33': Operation not permitted - /var/www
Error: /Stage[main]//File[/var/www]/group: change from vagrant to www-data failed: Failed to set group to '33': Operation not permitted - /var/www
Warning: /Stage[main]//Apache::Vhost[ARbCsyrS6ueR]/File[/var/www/12_PHP_david_wright_images/src/web]: Skipping because of failed dependencies
Warning: /Stage[main]/Apache/Apache::Vhost[default]/File[15-default.conf]: Skipping because of failed dependencies
Warning: /Stage[main]//Apache::Vhost[ARbCsyrS6ueR]/File[25-ARbCsyrS6ueR.conf]: Skipping because of failed dependencies
Warning: /Stage[main]//Apache::Vhost[ARbCsyrS6ueR]/File[25-ARbCsyrS6ueR.conf symlink]: Skipping because of failed dependencies
Warning: /Stage[main]/Apache/Apache::Vhost[default]/File[15-default.conf symlink]: Skipping because of failed dependencies
Warning: /Stage[main]/Apache::Service/Service[httpd]: Skipping because of failed dependencies
我曾尝试使用常规共享文件夹,但这带来了其他问题,而且据说共享文件夹的速度远不及 NFS。
我正在运行 Ubuntu 13.10 作为主机操作系统,来宾是 Ubuntu 12.04。配置是相当标准的,如有必要,我可以编辑它以包含 PuPHPet 创建的任何文件。
可以做些什么来解决这个问题?