Comments (8)
This may have something to do with the php module we're using:
https://github.com/puphpet/vagrant-puppet-lamp/blob/master/modules/php/manifests/params.pp#L43
from puphpet.
Thanks for the hint. The package and service params are however defined in nginx.pp.twig and overwrite the default values:
https://github.com/puphpet/puphpet/blob/master/src/Puphpet/View/Vagrant/Modules/PHP/nginx.pp.twig#L3
Maybe the workflow of Puppet is different to the one I have in mind. Have to debug it further more.
from puphpet.
I just stumpled upon this problem (apache running, although nginx was chosen) while trying to get my website to show up in the vm.
The problem here is, that you install the php5 meta package in nginx.pp.twig on line 3, which depends on
- libapache2-mod-php5 or
- libapache2-mod-php5filter or
- php5-cgi or
- php5-fpm
If none of the dependencies are installed, it will automatically install the first one (libapache2-mod-php5), which is what is happening here.
Removing php5-fpm from php::module and making sure the php5-fpm package is installed before the php5 package did work, though I didn't manage to do it with only editing the Modules/PHP/nginx.pp because of some dependency cycles.
Someone with more puppet knowledge can surely figure out how to best do this :)
from puphpet.
(!) Be aware, that if PHP 5.4 or 5.5 is selected, the php5-fpm package must be installed AFTER the apt::ppa['ppa:ondrej/php5'] was added and BEFORE the php5 package will be installed.
UPDATE: Maybe have a look at https://github.com/saz/puppet-php it looks quiet good as far as I can see.
from puphpet.
Thank you @elkangaroo , your hints pointed me to the solution. The only thing I had to change is to assign php5-fpm to the php resource and not php5. There was a problem in the composer class of vagrant-puppet-lamp but I added a fix for it there.
Will test this furthermore after the next deployment.
from puphpet.
I've gone through all possible install configs for nginx: php 5.5/5.4/5.3, mysql/postgresql/none, apache is no longer being installed.
from puphpet.
i have got hte exact opposite problem, i installed my box and up it, to realise that although i took apache as web server nginx is running AND is the main server mapped to my vhost. i'm not sure on what info should i look at to understand why.
from puphpet.
@gorhgorh Please create a new issue for this and dump your puphpet.json there.
from puphpet.
Related Issues (20)
- Failed to start The PHP 5.6 FastCGI Process Manager
- Windows 10 provision error
- Error: While executing gem ... invalid option: --no-rdoc HOT 5
- Error: Evaluation Error: Error while evaluating a Resource Statement
- Can't start vagrant box: "gpg: keyserver receive failed: keyserver error" HOT 1
- Apache redirects to https HOT 2
- Centos7 partial failure HOT 1
- elasticsearch version is wrong
- Mariadb install failed HOT 1
- elasticsearch 2.4.6 not installed
- rsync auto not work
- synced_folder: few projects
- Failed to create the host-only adapter HOT 3
- r
- PGAdmin 4 - not able to connect through SSH Tunneling HOT 1
- Do not have permissions to write to a file HOT 1
- PHP not working in fresh bento/ubuntu-16.04 box HOT 5
- Finite number of databases allowed
- puphpet.com is offline HOT 16
- Install Puphpet site en development computer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puphpet.