Commit Graph

78 Commits

Author SHA1 Message Date
Ghanshyam Mann d169cdecef Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: I8dc9f8845115a0b17d94a5910b9926d49039623a
2024-02-18 05:02:03 +00:00
Lance Albertson de8fb53dc0 CentOS 8 support
- Update package names
- Migrate to using apache2_mod_wsgi resource and require apache2 ~> 8.6
- Update ChefSpec

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/815147
Change-Id: Ie94c860bc056349262325d2e90c513b64dbb3107
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-22 17:12:12 -07:00
Lance Albertson ac44b062b6 Chef 17 support
- Remove bind from Berksfile
- Update copyright years
- Require Chef >= 16.0

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/814051
Change-Id: I5a75b2acdfdb35dd265e2f2fe9e4035fe3f51a29
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 12:59:51 -07:00
Lance Albertson 2c761a06b6 Updates for Train
Changed:
- Update release to train
- Update to apache2 ~> 8.1

Removed:
- Unused rubocop rules

Change-Id: I8aa404752480497b139f6a9eba961c926071f409
Depends-On: https://review.opendev.org/731859
2020-05-29 21:41:50 -07:00
Lance Albertson 1ac136c63a Install openstack-neutron-lbaas-ui package on RHEL instead of from pip
RHEL finally includes a proper RPM package for the horizon LBaaS plugin in
Stein. This removes the dependency on poise.

Change-Id: If3d2729c013125bd75441c50fc7de5d5cc9c3221
2020-03-30 12:08:06 -07:00
Lance Albertson 57b9ab6138 Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Cleanup line wraps
- Update delivery configuration to exclude integration cookbooks
- Fix ChefSpec output.
- Add missing ChefSpec tests
- Switch package installations to send packages as arrays instead of individual
  package resources. This generally speeds up chef runs.
- Cleanup array syntax using %w() instead of []
- Remove FWaaS recipe as it's been unmaintained upstream.

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706151
Change-Id: Ie3b65b701235bae65a1797d63d6a55dd6fc9958e
2020-03-23 10:59:37 -07:00
Lance Albertson 4e4bed1eed Update to apache2 ~> 8.0 cookbook
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
2020-01-30 09:30:28 -08:00
Lance Albertson d7f36ea0ac Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script
- Drop obsolete openstack-identity::default recipe

Change-Id: If98eef94a31bd0f082a869dc2278d21abcf47b59
2019-12-09 05:40:15 +00:00
Zuul d42a397111 Merge "Pin apache2 cookbook to 5.0.1" 2018-12-11 13:53:11 +00:00
Samuel Cassiba 7681f14a38 Pin apache2 cookbook to 5.0.1
This change eliminates a kitchen failure with apache2-5.2.1

Change-Id: I545857affd00d8b3c33e2820782c6440cac5e118
2018-12-10 21:14:56 -08:00
ZhijunWei 587880820a Change openstack-dev to openstack-discuss
Change-Id: Ic60f38ef2994f03d283292af491be9438ddd6a95
2018-12-04 23:21:02 -05:00
Samuel Cassiba 7c1cf9c575 starting rocky development patch
Change-Id: I8319b6d356c2233237e7308823e7899b09edf413
2018-08-03 06:40:14 -07:00
Samuel Cassiba 7158b2c63e starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution

Depends-On: https://review.openstack.org/549345
Change-Id: I8e129e0716b647422773949711acefc5c2df5b48
2018-03-06 12:24:02 -08:00
Samuel Cassiba 1b4d4f8259 dashboard refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket access
- added workaround for bug #1616265
- deprecated postgresql support
- moved package_overrides to common cookbook

Implements blueprint modern-chef

Change-Id: I1e0be7d59414897adf82ac21d2430df2525a61d9
2017-12-13 07:02:15 -08:00
Jan Klare 6e44af9d17
starting pike development patch
Change-Id: I261b555fa826e83c17ba61e734cbeb343035b667
2017-08-17 14:19:07 +02:00
Samuel Cassiba 5c5d37fe55 Style and lint fixes for the Ocata release
- Style and lint fixes to support newer chefdk
- Rewrote metadata.rb for readability
- Removed ancient Gemfile

Change-Id: I63e6680cec8b66e2ece2d2627c0b413f5d401317
2017-08-02 02:17:14 -04:00
Jan Klare a90290cb07 starting ocata development patch
Change-Id: I1bf3ea7daa127ebf4545e6c9ea809ef4351efc4b
2017-02-23 17:06:14 +01:00
Christoph Albers 3548100c1b Multiple dashboard fixes and refactoring
* added recipe neutron-lbaas-dashboard to install the dashboard plugin
  according to the current docs
* removed server.rb recipe and server_type attribute since the only
  available option is apache2
* adapted specs and README accordingly

Change-Id: I4f407598acccd2d21d4204b936122963ebd4f7c8
2017-02-17 16:05:30 +01:00
Jan Klare ab456b80be update cookbook dependencies for next release
* also a minor change in the specs to fit the identity v3 refactoring

Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Depends-On: Ic6b00a08ec29a9a7c04a72c743af5f756db45edf
Change-Id: I5a8802103373b59effd8db18502a83563c085414
2016-12-05 17:36:55 +01:00
Samuel Cassiba 3d1d8039cf Style and lint fixes to support newer ChefDK
Change-Id: Idc239c737c0c1324a8756f88e9874d3e4dce3d35
2016-07-06 12:06:11 -07:00
Jan Klare e515bf84e1 initial commit for the newton development cycle
Change-Id: I6029c66f54f9e0491d5f1b327665e598b0400233
2016-05-31 10:29:34 +02:00
Jan Klare 99ef0ca301 update the README after refactoring and align it with other cookbooks
* also removed the empty default recipe

Change-Id: I17784d1e6fd79b083243590cbedd532bdc36e895
2016-04-28 14:58:03 -05:00
Jan Klare 75e51698ad WIP first few fixes to work with refactored cookbooks
* removed fedora and suse support
* added os-identity dependency
* added versionbumb for refactored os-identity and common
* moved version up to 13.0.0 for mitaka release

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Change-Id: Ida408a025f1a3e6a632108a9a32877026e286116
2016-02-08 11:53:22 +01:00
JJ Asghar 0c8ae1d0b9 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

rubocop updates
remove db2 refs

Change-Id: I5ff8ca0939f13e583f8d4ff75ff91a4805e78381
2015-08-28 23:17:25 -05:00
Mark Vanderwiel 0fbe6fe7af Allow keystone under apache
In order for keystone to get working under apache, we need a
later level of the apache cookbook, 3.1, which contains many
fixes.  This does not effect dashboard functionality.

Also, fix up the dashboard cookbook to remove the default apache
listen address (*) and port (80), else these will leak thru.

Change-Id: I619b581f640bb64f3d44374d7c555eaf3f83a3e2
Implements: blueprint keystone-apache
2015-06-19 14:41:45 -05:00
Mark Vanderwiel 13cb93ff88 Cleanup minor rubocop offenses
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.

Change-Id: I17b4f23f6e7cb71e84c74996a98d04f3782be479
2015-05-28 17:05:31 -05:00
Mark Vanderwiel 40b59919d6 Use new bind endpoints for dashboard
Use the new http and https bind endpoints for dashboard that are
defined in the Common cookbook.  These will allow more control and
consistency with the other bind endpoints for openstack services.

Change-Id: I15c0c2c40a88e18ff9805d48c4da83890b7f4da7
Partial-Bug: #1430422
2015-04-03 10:18:46 -05:00
Mark Vanderwiel 1150cad969 Initial kilo updates
Change-Id: I098b8d186e9b0290dda5eb1975b5fb6193d9281a
Partial-Bug: #1426424
2015-02-27 13:48:59 -06:00
Mark Vanderwiel 782197b06a Switch back to pessimistic version constraint
Change-Id: Ia2d463ada57a19fb4626339cc1d0806ab53cc318
Partial-Bug: #1425192
2015-02-24 13:51:28 -06:00
Mark Vanderwiel f54509245b Missed bumping Common version
Change-Id: Id6937615db1d646a518e8ada51f6586bd103d05d
Related-Bug: #1412919
2015-02-09 12:55:12 -06:00
Jan Klare 8642691b07 Move to cookbook apache2 ~> 3.0
* added the needed stubs for including the new apache2 cookbooks
* added '.conf' for all sites-path since apache_site method looks for
  this now
* pinned apache2 to '~> 3.0'

Change-Id: I54fae7a162a1932c3851d8104c1c8e433016c1d0
2014-12-01 15:42:09 +01:00
Jens Rosenboom 97404520bc Split the dashboard and webserver recipes
In order to be able to use alternative webservers, split the parts
relating to setting up the dashboard itself and setting up the webserver
into two new recipes.

Also introduce a new configuration variable, defaulting to `apache2`,
which will be used in the `server` recipe to select the type of
webserver being installed.

Change-Id: I70dcb820239547b0059ad15d19d5e1689ddff3d3
blueprint: dashboard-split-horizon-apache
2014-11-18 20:55:48 +01:00
Mark Vanderwiel 8c1687e3cd Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix file modes
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: I777cf8cf5e832192ae0c24a4c726201391fb056d
Partial-Bug: #1342735
2014-10-14 09:50:00 -05:00
Jan Klare 5878de34d9 Updated berkshelf to 3.1.5
Updated berkshelf from 2.0.18 to 3.1.5 in Gemfile and added supermarket source to Berksfile and locked apache cookbook to '< 2.0.0'

Change-Id: I4426d4a2f4367994dc9e66f51ae288c617a6a16b
Implements: blueprint update-berkshelf
2014-08-19 09:26:17 +02:00
Mark Vanderwiel 8da94fbd37 Setting up repo for master Juno Branch
* Update metadata version
* Removing Strainer file
* Adding Gemfile.lock to .gitignore
* Updating Gems
  * chef (11.12.0)
  * chefspec (4.0.0)
  * rspec (3.0.0)

Change-Id: Ieb52192f260af5ade1cfd535bbf90e0bb9ed65eb
Partial-Bug: 1349865
2014-07-29 15:36:33 -05:00
Ionuț Arțăriși 7639ee6b1e use new python_packages attributes from -common
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them

Change-Id: I24ffe60161ccdb2e54d3f1362db02ea08843b920
Implements: blueprint move-python-db-client-attrs-to-common
2014-06-26 13:37:36 +02:00
Mark Vanderwiel 3e96aa4f17 Fix to allow login urls to be configurable
Add attrs for login_url, logout_url, login_redirect_url and webroot
Fix the root default for webroot on redhat
No behavior changes for ubuntu or suse, but they now have flexibility.

Change-Id: I5db29c6768444dd742c0625b05285761da85be76
Closes-Bug: #1321390
2014-05-21 16:51:37 -05:00
Kieren Hynd ea8bb0c971 Config attributes for OPENSTACK_KEYSTONE_BACKEND
Bumped version to 9.0.2 and added some more options to README.md

Closes-Bug: 1320274
Change-Id: I985ed5fc662cef82372bccb3cc7485e150cb9eb0
2014-05-16 17:38:36 +01:00
Chen Zhiwei ff1c6e207b Fix the depends cookbook version issue in metadata.rb
The depends condition should be ether of below:
depends 'cookbook-name', '>=x.y.z'
depends 'cookbook-name', '~>x.y'

Closes-bug: 1300524
Change-Id: I6fac601909a4c7bc9b253fd1ab49e24fb0929138
2014-03-31 20:44:19 -04:00
Mark Vanderwiel a5307a670b Icehouse branch version updates
Change-Id: Iaf270be054d420d7c3781d3a4d02a398e5b3dfc1
2014-03-27 12:48:28 -05:00
Chen Zhiwei ec479cb435 Fix DB2 ODBC driver installation issue
There is an LWRP in db2 cookbook to install ODBC driver,
so need to move this driver installation to db2 cookbook.

Change-Id: Ife2f4d7b12a32c0c12de9083ed091bb9339082e2
Closes-bug: 1294376
2014-03-21 02:18:17 -04:00
ericzhou f586ab102a Use the library method auth_uri_transform.
Use the library method auth_uri_transform to transform the auth_uri by
the configured identity_api_version.

Change-Id: Ibea34f1104dd369acf1c4527588e3e8dacc83834
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic
2014-03-14 23:12:28 +08:00
Matt Ray 48a010778f Filling out initial rubocop support.
https://blueprints.launchpad.net/openstack-chef/+spec/lint-and-unit-testing-for-havana
Removing tailor, cleaning up metadata and Gemfile and adding TESTING.md

Change-Id: Id65e12262e986b1f1a6069f6dc6f51188a3fba97
2014-01-08 17:06:06 -06:00
Chen Zhiwei 41d142d309 Upgrade to Havana release
Also upgrade gems:
- berkshelf, ~> 2.0.10
- chefspec, ~> 3.0.2
- foodcritic, ~> 3.0.3
And update the DEPRECATION keywords

Change-Id: Id37bcb0a751e60581864b196e2e72b8eb37dca6c
2013-12-15 17:21:48 -06:00
paulczar 1051d4a6f2 update to use openstack-common 0.4.0
Change-Id: I2812e650c45c4cd7c8233d686bb183ac921b51a0
2013-07-28 14:02:18 -05:00
John Dewey 49a4009971 Removed db recipe
The db recipe have been removed.  It is up to the operator to
setup the database, users, and grants before deploying openstack.
It has been moved to the `openstack-db` recipe in the
`openstack-ops-database` wrapper cookbook.

Change-Id: Ia1aaa3d50449f825a526a236a3a0e7c36380d0de
2013-06-28 11:54:05 -07:00
Ionuț Arțăriși 8d702f8dab bump openstack-common dependency to 0.3.x
Change-Id: Id3025760fa14a1494db4040e71a0b4b1ceaebcf9
2013-06-21 16:52:15 +02:00
John Dewey 90ce481dcf Using ~> versioning
Since we should be performing semver across our cookbooks, we should
lock to the patch version.  It means "equal to or greater than in the
last digit", so e.g. "~> 2.3" means "equal to 2.3 or greater than 2.3,
but less than 3.0", while "~> 2.3.0" would mean "equal to 2.3.0 or greater
than 2.3.0, but less than 2.4.0".
  http://stackoverflow.com/questions/5170547/what-does-tilde-greater-than-mean-in-ruby-gem-dependencies

Change-Id: Ifa0c45fa86860cc087ccc82b2a13f51f65ba1ea4
2013-05-27 21:32:20 -07:00
John Dewey ae8fe92c77 Switch to Semantic Versioning
Configure the dashboard coobook with the new versioning scheme we
discusssed on the ML. It will start out at 7.0.0(7th OpenStack
release).

Change-Id: I217d16645f7a86c184ced1e383b37eb101376c47
Fixes: Bug 1184212
2013-05-25 14:00:14 -07:00
Ionuț Arțăriși 4589e983fa SUSE support
Change-Id: I263832abd1a3ba3175cdfa8493fee293c0daabe0
2013-05-17 14:10:34 +02:00