4e4bed1eed
This brings us up to date with the latest apache2 cookbook which included a major refactor in 6.0.0 removing all of the definitions and recipe with proper resources. Instead of using the apache2_default_site resource, directly use a template and then enable the config file using the apache2_site resource. This gives us the most flexibility. Additional fixes: - Remove or replace references to node['apache'] attributes - Install mod_wsgi as a package on RHEL since there is no built-in resource for it. - Don't set SELinux to permissive on RHEL (I tested this works properly with it set to enforcing). - Remove hack for restarting apache. - Convert web_app to template and subscribe to restarting apache. - Remove resources to restore SELinux contexts since this taken care of by Chef now automatically. - Include additional cookbooks in Berksfile required for CI Depends-On: https://review.opendev.org/702772 Depends-On: https://review.opendev.org/701824 Change-Id: Ib82595c27f03a7b456d5d5bfecc466f5ac199a5c |
||
---|---|---|
.delivery | ||
attributes | ||
files/default | ||
recipes | ||
spec | ||
templates/default | ||
.gitignore | ||
.gitreview | ||
.rubocop.yml | ||
.rubocop_todo.yml | ||
.zuul.yaml | ||
Berksfile | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.rst | ||
Rakefile | ||
TESTING.md | ||
metadata.rb |
README.rst
OpenStack Chef Cookbook - dashboard
Description
Installs the OpenStack Dashboard service Horizon as part of the OpenStack reference deployment Chef for OpenStack. The OpenStack chef-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. Horizon is currently installed from packages.
https://docs.openstack.org/horizon/latest/
Requirements
- Chef 14 or higher
- ChefDK 3.2.30 for testing (also includes Berkshelf for cookbook dependency resolution)
Platform
- ubuntu
- redhat
- centos
Cookbooks
The following cookbooks are dependencies:
- 'apache2', '~> 8.0'
- 'openstack-common', '>= 18.0.0'
- 'openstack-identity', '>= 18.0.0'
- 'poise-python'
Attributes
Please see the extensive inline documentation in
attributes/*.rb
for descriptions of all the settable
attributes for this cookbook.
Note that all attributes are in the default['openstack']
"namespace"
Recipes
openstack-dashboard::horizon
- Sets up the packages needed to run the Horizon dashboard and its dependencies. Includes openstack-dashboard::apache2-server recipe.
openstack-dashboard::apache2-server
- Installs the Apache webserver and sets up an
mod_wsgi
container to run the Horizon dashboard.
openstack-dashboard::neutron-fwaas-dashboard
- Installs the python neutron-fwaas-dashboard package. Includes openstack-dashboard::horizon recipe at the beginning.
openstack-dashboard::neutron-lbaas-dashboard
- Installs the python neutron-lbaas-dashboard package. Includes openstack-dashboard::horizon recipe at the beginning.
License and Author
Author | Justin Shepherd (justin.shepherd@rackspace.com) |
Author | Jason Cannavale (jason.cannavale@rackspace.com) |
Author | Ron Pedde (ron.pedde@rackspace.com) |
Author | Joseph Breu (joseph.breu@rackspace.com) |
Author | William Kelly (william.kelly@rackspace.com) |
Author | Darren Birkett (darren.birkett@rackspace.co.uk) |
Author | Evan Callicoat (evan.callicoat@rackspace.com) |
Author | Jay Pipes (jaypipes@att.com) |
Author | John Dewey (jdewey@att.com) |
Author | Matt Ray (matt@opscode.com) |
Author | Sean Gallagher (sean.gallagher@att.com) |
Author | Chen Zhiwei (zhiwchen@cn.ibm.com) |
Author | Jian Hua Geng (gengjh@cn.ibm.com) |
Author | Ionut Artarisi (iartarisi@suse.cz) |
Author | Eric Zhou (iartarisi@suse.cz) |
Author | Jens Rosenboom (j.rosenboom@x-ion.de) |
Author | Mark Vanderwiel (vanderwl@us.ibm.com) |
Author | Jan Klare (j.klare@cloudbau.de) |
Author | Christoph Albers (c.albers@x-ion.de) |
Author | Lance Albertson (lance@osuosl.org) |
Copyright | Copyright (c) 2012, Rackspace US, Inc. |
Copyright | Copyright (c) 2012-2013, AT&T Services, Inc. |
Copyright | Copyright (c) 2013, Opscode, Inc. |
Copyright | Copyright (c) 2013-2015, IBM, Corp. |
Copyright | Copyright (c) 2013-2014, SUSE Linux GmbH. |
Copyright | Copyright (c) 2014, x-ion GmbH. |
Copyright | Copyright (c) 2016-2019, Oregon State University |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.