Add ability to disable Apache in puppet-horizon
Bug #1190282 reported by
Mathieu Gagné
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-horizon |
Fix Released
|
Wishlist
|
Mathieu Gagné |
Bug Description
puppet-horizon should not impose the use of Apache in horizon::init.
The user should be free to disable the auto-configuration of Apache and installs/configures a WSGI server of its choice: with puppet or not.
This bug is created to open a discussion on the implementation details and try to answer questions:
* Should we split the Apache configuration to its own class?
* Should we add a new parameter to horizon::init where the user can select which WSGI server to install?
* Or should it be a boolean?
* Furthermore, the user should be able to configure the application path.
affects: | puppet-openstack → puppet-horizon |
Changed in puppet-horizon: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in puppet-horizon: | |
milestone: | none → 4.0.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm definitely for keeping Horizon and Apache separate.
The following comments are my "in a perfect world" opinion. :)
I've been a fan of the cinder::volume and cinder: :volume: :driver style of manifests. cinder::volume contains no reference to what driver you'll be using. Instead you have to explicitly declare a cinder: :volume: :driver class. I think the same should be done to Horizon.
If horizon::init contains any reference to a web server, then it must always be kept up to date with all supported web servers. As an example, look at all of the rpc information in the nova manifest.
To comment on the last point, all web server-specific settings, including application path, could go in horizon: :http:: apache.
Also, I don't think that horizon: :http:: apache should include "class { 'apache': }" -- horizon: :http:: apache should assume that the user has explicitly declared this class elsewhere. The reason for this is if the server that horizon is installed on is also being used for other web services (such as Nagios).