{"action":"created","issue":{"url":"https://api.github.com/repos/acquia/blt/issues/568","repository_url":"https://api.github.com/repos/acquia/blt","labels_url":"https://api.github.com/repos/acquia/blt/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/acquia/blt/issues/568/comments","events_url":"https://api.github.com/repos/acquia/blt/issues/568/events","html_url":"https://github.com/acquia/blt/issues/568","id":183387211,"number":568,"title":"Drupal VM integration broken in latest stable release of DrupalVM","user":{"login":"aweingarten","id":6517820,"avatar_url":"https://avatars.githubusercontent.com/u/6517820?v=3","gravatar_id":"","url":"https://api.github.com/users/aweingarten","html_url":"https://github.com/aweingarten","followers_url":"https://api.github.com/users/aweingarten/followers","following_url":"https://api.github.com/users/aweingarten/following{/other_user}","gists_url":"https://api.github.com/users/aweingarten/gists{/gist_id}","starred_url":"https://api.github.com/users/aweingarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aweingarten/subscriptions","organizations_url":"https://api.github.com/users/aweingarten/orgs","repos_url":"https://api.github.com/users/aweingarten/repos","events_url":"https://api.github.com/users/aweingarten/events{/privacy}","received_events_url":"https://api.github.com/users/aweingarten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-17T11:07:03Z","updated_at":"2016-10-18T01:56:31Z","closed_at":"2016-10-17T23:42:51Z","body":"After initializing a fresh blt project: \r\n```\r\ncomposer create-project acquia/blt-project mtacc --no-interaction\r\n```\r\n\r\n\r\nWhen I ssh into the VM I get:\r\n\r\n```\r\nvagrant@mysite:/var/www/mysite$ php --version\r\nPHP 7.0.12-1+deb.sury.org~trusty+1 (cli) ( NTS )\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.12-1+deb.sury.org~trusty+1, Copyright (c) 1999-2016, by Zend Technologies\r\n```\r\n\r\n\r\nHere is the config.yml\r\n\r\n```\r\n# Update the hostname to the local development environment hostname\r\nvagrant_hostname: mysite.localhost\r\nvagrant_machine_name: mysite\r\n\r\n# Use Ubuntu 14.04 LTS so PHP 5.6 can be installed.\r\nvagrant_box: geerlingguy/ubuntu1404\r\n\r\n# Set drupal_site_name to the project's human-readable name.\r\ndrupal_site_name: \"mysite\"\r\n\r\n# Provide the path to the project root to Vagrant.\r\nvagrant_synced_folders:\r\n  # Set the local_path for the first synced folder to `.`.\r\n  - local_path: .\r\n    # Set the destination to the Acquia Cloud subscription machine name.\r\n    destination: /var/www/mysite\r\n    type: nfs\r\n\r\nbuild_composer_project: false\r\n# Toggling this to `true` would invoke `composer install` with the\r\n# projects own `composer.json` successfully.\r\nbuild_composer: false\r\ndrupal_composer_path: false\r\ndrupal_composer_install_dir: \"/var/www/mysite\"\r\ndrupal_core_path: \"{{ drupal_composer_install_dir }}/docroot\"\r\n\r\ndrupal_db_user: drupal\r\ndrupal_db_password: drupal\r\ndrupal_db_database: drupal\r\n\r\n# Set this to 'false' if you don't need to install drupal (using the drupal_*\r\n# settings below), but instead copy down a database (e.g. using drush sql-sync).\r\ninstall_site: false\r\n\r\n# Drupal VM automatically creates a drush alias file in your ~/.drush folder if\r\n# this variable is 'true'.\r\nconfigure_drush_aliases: false\r\n\r\n# This is required for front-end building tools.\r\nnodejs_version: \"0.12\"\r\nnodejs_npm_global_packages:\r\n  - name: bower\r\n  - name: gulp-cli\r\nnodejs_install_npm_user: \"{{ drupalvm_user }}\"\r\nnpm_config_prefix: \"/home/{{ drupalvm_user }}/.npm-global\"\r\ninstalled_extras:\r\n  - nodejs\r\n\r\n# Use PHP 5.6 and change package names to work with 5.6.\r\nphp_version: \"5.6\"\r\nphp_packages:\r\n  - php5\r\n  - php5-apcu\r\n  - php5-mcrypt\r\n  - php5-cli\r\n  - php5-common\r\n  - php5-curl\r\n  - php5-dev\r\n  - php5-fpm\r\n  - php5-gd\r\n  - php5-sqlite\r\n  - php-pear\r\n  - libpcre3-dev\r\nphp_conf_paths:\r\n  - /etc/php5/fpm\r\n  - /etc/php5/apache2\r\n  - /etc/php5/cli\r\nphp_extension_conf_paths:\r\n  - /etc/php5/fpm/conf.d\r\n  - /etc/php5/apache2/conf.d\r\n  - /etc/php5/cli/conf.d\r\nphp_fpm_daemon: php5-fpm\r\nphp_fpm_conf_path: \"/etc/php5/fpm\"\r\nphp_fpm_pool_conf_path: \"/etc/php5/fpm/pool.d/www.conf\"\r\nphp_mysql_package: php5-mysql\r\nphp_redis_package: php5-redis\r\nphp_memcached_package: php5-memcached\r\n\r\n# Use PHP 5.6-compatible version of XHProf.\r\nxhprof_download_url: https://github.com/phacility/xhprof/archive/master.tar.gz\r\nxhprof_download_folder_name: xhprof-master\r\n\r\nextra_packages:\r\n  # This is required for PhantomJS Installer.\r\n  - php-bz2\r\n  - subversion\r\n  - php-bcmath\r\n\r\npost_provision_scripts:\r\n  - \"../../../acquia/blt/scripts/drupal-vm/post-provision.sh\"\r\n\r\ncomposer_global_packages: []\r\n\r\nssh_home: \"/var/www/mysite\"\r\n\r\n```\r\n\r\nNoteworthy I did have to manually add the following before I could do a vagrant up to prevent global composer errors.\r\n```\r\ncomposer_global_packages: []\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/acquia/blt/issues/comments/254385275","html_url":"https://github.com/acquia/blt/issues/568#issuecomment-254385275","issue_url":"https://api.github.com/repos/acquia/blt/issues/568","id":254385275,"user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T01:56:31Z","updated_at":"2016-10-18T01:56:31Z","body":"Also note that config.yml should have `php5.6*` packages instead of `php5*` now."}}
{"actor":{"display_login":"geerlingguy"}}