我使用PuPHPet爲我目前正在處理的項目的虛擬機創建清單。Vagrant無法設置NFS共享的權限
一切都很好,直到最後(在「注意:完成目錄在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創建的任何文件。
可以做些什麼來解決這個問題?
你能不能請你出示你的流浪文件。 –
我已經選擇創建自己的Vagrant和Puppet設置,需要一點學習,但我認爲它已經得到了回報。它現在至少可以工作。我也沒有這個配置文件,但它只是一個從PuPHPet直接沒有被編輯。 – Seer
我自己使用PuPHPet,並且還有一些小問題需要通過手動編輯文件來糾正。 PuPHPet目前正處於積極的發展階段,因此我認爲這是預期的行爲。但總的來說,這是一個非常棒的工具 –