Delete openstack-dashboard.conf before start httpd service

We need delete the openstack-dashboard.conf under /etc/httpd/conf.d
before start httpd service on fedora, redhat and centos.

Close-bug: #1270839
Change-Id: I67d71cb501b967a8de0ed41b9ff52b20585500b7
Remove Berksfile.lock from dev branches

blueprint remove-berksfile-lock-from-dev-branches

Change-Id: I5348453ad29d9b3885f5c09d27c79adcd411d184
creates openstack-dashboard site properly on centos/rhel

Fixes: bug #1271193
Implements: blueprint centos-rhel-for-dashboard

On centos/rhel we now support the sites-enabled/sites-available style
confs.  This patch moves to use this approach on centos/rhel. It also
fixes the above bug which was causing the site not to get loaded
properly because it did not have the .conf extension. Also remove the
rhel/centos specific tests for the openstack-dashboard site since
rhel/centos now behaves the same as ubuntu in this regard.

Note I am purposely ignoring fedora/others in this patch since the level
of support for those is still tbd.

Change-Id: I7c3339b7e3a5cd019b78dbb05425fef6fb344ebc
Merge "creates openstack-dashboard site properly on centos/rhel"
Clean up cookbook for bp/clean-up-attr-for-mq-and-db

This change removes the attributes we'll be moving to openstack-common
and changes reference of those attributes to reflect new (more
consistent) namespace.

Change-Id: I14221407ed56d424dfb424ff794d3a6766298c99
Implements: blueprint clean-up-attr-for-mq-and-db
Merge "Remove Berksfile.lock from dev branches"
Merge "Clean up cookbook for bp/clean-up-attr-for-mq-and-db"
refactor chefspec tests to be faster and more efficient

Change-Id: I1a5f22b719db453d55d7f080cf0e1b102e11bacf
Implements: blueprint refactor-spec-files
Rubocop cleanup - use single .rubocop.yml file

- Remove individual directory/.rubocop.yml file
- Adjust .rubocop.yml to include all other directories
- Adjust Strainerfile to use the single .rubocop.yml file

Change-Id: Id64fae024f8972e87919f837f31f487a43744d5f
Addresses: blueprint rubocop-for-dashboard
Merge "refactor chefspec tests to be faster and more efficient"
Upgrade/Update rubocop

Now that almost all of the rubocop blueprints have been completed, make
one final pass through all of the cookbooks ensuring they're all in
sync with each other.

- Upgrade rubocop to 0.18.1
- Fix violations caused by 0.18.1 upgrade
- Move Excludes for non-existent folders to Includes so they
  automatically cover future additions

Change-Id: I1e984e4dd496977d29f483199b3b091f1481dc47
Implements: blueprint lint-and-unit-testing-for-havana
openstack-dashboard moved to /srv/www in Havana on SUSE

Change-Id: I508217d45ceed0a3f35e7a2071241237e86a4630
make django path configurable (it's different on SUSE)

Change-Id: I33af2608f3587fd63f0b57ec06c81bafa8ffd3f1
don't hardcode the django path

Change-Id: I2b462cb117395171f36e610c804adf113dec8c3a
Merge "openstack-dashboard moved to /srv/www in Havana on SUSE"
Merge "make django path configurable (it's different on SUSE)"
Merge "don't hardcode the django path"
Fix dashboard login errors

Set WSGI process to run as horizon user

Set ownership on secret_key file so it can can be read by dashboard

Make ALLOWED_HOSTS configurable in local_settings.py for use in
production.

Added test for ALLOWED_HOSTS

Change-Id: Ide506511c3dcc075f181e47b2147af2d6107acf7
Closes-Bug: #1267691
change tests to use SLES platform instead of openSUSE

Change-Id: I4625fc433d6cce3f31891fc9b06a2dde1945efc0
Update how dashboard's secret key is handled

Currently, you can override the 'secret_key_path' attribute but this
does not get reflected in the dashboard configuration.  This change
does the following:

- updates local_settings.py to use the specified secret key
- adds a default attribute for 'secret_key_content' which when set
overrides the contents of the secret key (useful if you have multiple
web servers running dashboard and they all need the same secret key)

Change-Id: Ia82947280a64f6b1ec693ee273ac386a71be57ad
Closes-Bug: #1279863