Installs the Openstack dashboard (codename: horizon) from packages.
Chef 0.10.0 or higher required (for Chef environment use).
- CentOS >= 6.3
- Ubuntu >= 12.04
The following cookbooks are dependencies:
- apache2
- database
- mysql
- osops-utils
None
- includes recipe
server
- includes recipes
apache2,apache2:mod_wsgi,apache2:mod_rewrite,apache2:mod_ssl - installs and configures the openstack dashboard package, sets up the horizon database schema/user, and installs an appropriate apache config/site file
- if
["horizon"]["theme"] = "Rackspace", will also install the Rackspace stylesheet, and grab the necessary branded jpegs - uses chef search to discover details of where the database (default mysql) and keystone api are installed so we don't need to explicitly set them in our attributes file for this cookbook
-
horizon["db"]["name"]- name of horizon database -
horizon["db"]["username"]- username for horizon database access -
horizon["db"]["password"]- password for horizon database access -
horizon["use_ssl"]- toggle for using ssl with dashboard (default true) -
horizon["ssl"]["cert"]- name to use when creating the ssl certificate -
horizon["ssl"]["key"]- name to use when creating the ssl key -
horizon["services"]["dash"]["scheme"]- defaults to http -
horizon["services"]["dash"]["network"]-osops_networksnetwork name which service operates on -
horizon["services"]["dash"]["port"]- port to bind service to -
horizon["services"]["dash"]["path"]- URI to use -
horizon["services"]["dash_ssl"]["scheme"]- defaults to https -
horizon["services"]["dash_ssl"]["network"]-osops_networksnetwork name which service operates on -
horizon["services"]["dash_ssl"]["port"]- port to bind service to -
horizon["services"]["dash_ssl"]["path"]- URI to use -
horizon["swift"]["enabled"]- enable if swift endpoint is available -
horizon["theme"]- which theme to use for the dashboard. Supports "default" or "Rackspace" -
horizon["platform"]- Hash of platform specific package/service names and options
default_stylesheets.html.erb- default stylesheetdash-site.erb- the apache config file for the dashboard vhostlocal_settings.py.erb- config file for the dashboard applicationports.conf.erb- Apache ports.conf filers_stylesheets.html.erb- Rackspace stylesheet
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:: Matt Thompson (matt.thompson@rackspace.co.uk)
Copyright 2012, Rackspace US, Inc.
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.