我正在尝试使用 GAE 设置 vagrant。我已经让虚拟机启动并运行良好,但使用 puppet 时失败。这是我的命令输出:
Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Running provisioner: puppet...
Running Puppet with default.pp...
stdin: is not a tty
←[0;33mwarning: Could not retrieve fact fqdn←[0m
←[0;36mnotice: /Stage[main]/Grunt/Exec[aptitude-update-1]/returns: executed succe ssfully←[0m
←[0;36mnotice: /Stage[main]/Grunt/Exec[add-apt-repository]/returns: executed suc
cessfully←[0m
←[0;36mnotice: /Stage[main]/Grunt/Exec[aptitude-update-2]/returns: executed succ
essfully←[0m
←[0;36mnotice: /Stage[main]/Grunt/Exec[npm-grunt-cli]/returns: executed successf
ully←[0m
←[1;35merr: /Stage[main]/Grunt/Exec[npm-install]/returns: change from notrun to
0 failed: /usr/bin/npm install returned 255 instead of one of [0] at /tmp/vagran
t-puppet/modules-0/grunt/manifests/init.pp:47←[0m
←[0;36mnotice: /Stage[main]/Grunt/File[/usr/bin/grunt-compile]: Dependency Exec[
npm-install] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Grunt/File[/usr/bin/grunt-compile]: Skipping becaus
e of failed dependencies←[0m
(然后加载更多“由于依赖项失败而跳过”)然后:
←[0;36mnotice: Finished catalog run in 29.71 seconds←[0m
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' --
detailed-exitcodes /tmp/vagrant-puppet/manifests/default.pp || [ $? -eq 2 ]
这是我第一次尝试使用 Vagrant;任何想法从哪里开始?