mattheath / puppet-php

DEPRECATED see official Boxen fork:
https://github.com/boxen/puppet-php
MIT License
21 stars 53 forks source link

phpenv fails to install #31

Open sullimander opened 11 years ago

sullimander commented 11 years ago

I am trying to use this plugin with version 0.5.6 and boxen 2.3.2, but when it gets to the phpenv install step it fails with the following message.

Notice: /Stage[main]/Php/File[/opt/boxen/phpenv]/ensure: created
Notice: /Stage[main]/Php/File[/opt/boxen/phpenv/plugins]/ensure: created
Notice: /Stage[main]/Php/Exec[phpenv-setup-root-repo]/returns: Initialized empty Git repository in /opt/boxen/phpenv/.git/
Notice: /Stage[main]/Php/Exec[phpenv-setup-root-repo]/returns: fatal: remote origin already exists.
Error: git init . && git remote add origin https://github.com/phpenv/phpenv.git && git fetch -q origin && git reset --hard 9688906ae527e4068d96d5d8e0579973ecfdb5de returned 128 instead of one of [0]
Error: /Stage[main]/Php/Exec[phpenv-setup-root-repo]/returns: change from notrun to 0 failed: git init . && git remote add origin https://github.com/phpenv/phpenv.git && git fetch -q origin && git reset --hard 9688906ae527e4068d96d5d8e0579973ecfdb5de returned 128 instead of one of [0]
mattheath commented 11 years ago

@skisulli apologies for the delay, this isn't a bug i've seen before but I can see how it would happen. Will try to push up a fix in the next couple of days!

sullimander commented 11 years ago

Thanks, I look forward to being able to use phpenv!