Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

First time builds failing #8

Closed
boztek opened this Issue · 3 comments

2 participants

@boztek

Clean machine + default boxen type project.
Latest puppet-php

class { 'php::global':
  version => '5.3.21',
}

This fails with:

Error: Cannot create /opt/boxen/phpenv/versions/5.3.20/modules; parent directory /opt/boxen/phpenv/versions/5.3.20 does not exist
Error: /Stage[main]/Php::5-3-20/Php::Version[5.3.20]/File[/opt/boxen/phpenv/versions/5.3.20/modules]/ensure: change from absent to directory failed: Cannot create /opt/boxen/phpenv/versions/5.3.20/modules; parent directory /opt/boxen/phpenv/versions/5.3.20 does not exist

Retrying with a difference version number then succeeds.

This is a pattern - some times it will complete first time with no errors but /versions will be empty but again switching to a different version (any version) works on the second attempt.

Strange one.

@mattheath
Owner

Apologies for this, the module folder definition within each version didn't have a reliance on the php version being installed first. It's fixed in f8bbb4f, and the latest version 0.3.5. @boztek could you let me know it that fixes it?

@boztek

I think so but now I'm getting different errors related to PEAR.

Error: /Stage[main]/Php::5-3-18/Php::Version[5.3.18]/Exec[pear-5.3.18-cache_dir]: Could not evaluate: Could not find command '/opt/boxen/phpenv/versions/5.3.18/bin/pear'
Error: /Stage[main]/Php::5-3-18/Php::Version[5.3.18]/Exec[pear-5.3.18-download_dir]: Could not evaluate: Could not find command '/opt/boxen/phpenv/versions/5.3.18/bin/pear'
.
.
.
Warning: /Stage[main]/Php::Global/File[/opt/boxen/phpenv/version]: Skipping because of failed dependencies

I opened a new issue at #11.

@boztek

I think we can close this issue now.

@mattheath mattheath closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.