hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

Vlad Ubuntu 14.04 #61

Closed philipnorton42 closed 9 years ago

philipnorton42 commented 10 years ago

Philip thanks for your response!

I'm getting the Ubuntu 14.04 virtualbox image from Ubuntu.com

https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box

About this point you mention in the email... In terms of integrating it back into Vlad I think the best approach might be to merge the code you have into a new branch of Vlad. I'm sure a setting would allow the users to select between which version of ubuntu they want. We could then use conditionals to detect between things that only effect the new version of Ubuntu so that the whole thing would run off of a single code base. If that makes sense?

I think we can use a php and apache version in the settings yaml, and play around in the roles files.

#!yaml

# PHP Settings
# PHP Version, can be one of "5.3" or "5.4" or "5.5"
# Vlad will error when a version that isn't understood is used
  php_version: "5.5"
# Apache Settings
# Apache version, can be one of "2.2" or "2.4"
# Vlad will error when a version that isn't understood is used
  apache_version: "2.4"

In order to make it more compatible and "distributionless", What do you think?

Best regards!


philipnorton42 commented 10 years ago

Hi guys, great work. As a heads-up, I've just started using Vlad and have just found that PECL has a bug that disrupts builds in Ubuntu Trusty. I'm new to ansible: is it possible to automatically apply a patch? Thanks,


Original Comment By: Mariano Barcia

philipnorton42 commented 10 years ago

Sounds great to me! I'll be working on that also, i'm wondering which will be the first step and I think we should just changue the package manager from APT to YUM based on the {{ ansible_distribution }} @dbohea right? I'll take a look and make a research about that!

BTW I'm making the pull request in this very instant! ;)


Original Comment By: Abraham Broca

philipnorton42 commented 10 years ago

@brocakun Just shout if you need any help getting pull requests working.

@philipnorton42 I was discussing Centos support in Vlad with @iAugur just the other day. He'll be pleased you've mentioned this :)


Original Comment By: Dan Bohea

philipnorton42 commented 10 years ago

Sounds like you have everything working, and that would be the place I would get the ubuntu image from :)

My primary goal before a full 1.0 release has been to make the application more reliable and adaptable, which I think we are working towards. My future plans also include the ability to adapt to both ubuntu and Centos distributions without having to change anything. So the idea of having a Vlad being more comparable and distributionless is on track with my thinking as well!

To create a pull request I think you go to your repository and click on the 'Create pull request' link in the upper left hand side. @dbohea might be able to give you more help on that one :)


Original Comment By: Philip Norton

philipnorton42 commented 10 years ago

As far I can see there is no need to set the apache variable the only thing that has changed from 2.2 to 2.4 it the NameVirtualHost directive on their upgrade page: http://httpd.apache.org/docs/2.4/upgrading.html

"The NameVirtualHost directive no longer has any effect, other than to emit a warning. Any address/port combination appearing in multiple virtual hosts is implicitly treated as a name-based virtual host."

I've created a branch called issue_61 and tested it, which is the process to generate a pull request?

➜ vlad git:(issue_61) ✗ ansible-playbook -i vlad/host.ini -t test vlad/playbooks/site.yml

PLAY [all] ****

GATHERING FACTS *** ok: [192.168.100.100]

TASK: [Test | PHP is installed] *** changed: [192.168.100.100]

TASK: [Test | Composer is installed] ****** changed: [192.168.100.100]

TASK: [Test | Drush is installed] ***** changed: [192.168.100.100]

TASK: [Test | Apache is installed] **** changed: [192.168.100.100]

TASK: [Test | Vanish is installed] **** changed: [192.168.100.100]

TASK: [Test | MySQL is installed] ***** changed: [192.168.100.100]

TASK: [Test | RVM is installed] *** changed: [192.168.100.100]

TASK: [Test | Ruby is installed] ****** changed: [192.168.100.100]

TASK: [Test | MySQL is installed] ***** skipping: [192.168.100.100]

TASK: [Test | test adminer is present] **** changed: [192.168.100.100]

TASK: [Test | test xhprof is present] ***** changed: [192.168.100.100]

TASK: [Test | test PimpMyLog is present] ****** changed: [192.168.100.100]

PLAY RECAP **** 192.168.100.100 : ok=12 changed=11 unreachable=0 failed=0

Best regards!


Original Comment By: Abraham Broca

philipnorton42 commented 9 years ago

Closing this as Ubuntu 14 now part of Vlad. Any bugs associated with it should be opened as new issues.