Commit Graph

19 Commits

Author SHA1 Message Date
Ghanshyam Mann 44d13c8c64 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: Ida0639315944c8c7852ec37fb10f133e8ab9c455
2024-02-17 20:50:52 -08:00
Lance Albertson e76dcb39e1 Chef 17 support
- Require Chef >= 16.0
- Remove bind from Berksfile
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstackclient/+/813953
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-messaging/+/814035
Change-Id: I5d4f38f56e5a411b83b02d2fd9fff2e013947d71
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 11:57:40 -07:00
Ghanshyam Mann 114b459cad Moving IRC network reference to OFTC
Also pull bind cookbook from git to fix version pinning issues.

Change-Id: I9bd4f54d9d10e9f3aba98a297213304507b9967d
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-07-15 11:11:04 -07:00
Lance Albertson 368296c9e5 Updates for Train
Changed:
- Update release to train
- Update to apache2 ~> 8.1

Fixed:
- Cookstyle
- ChefSpec

Removed:
- Unused .rubocop.yml

Change-Id: I2dc8c767ac4f6bb0635ffa4a64d6e8e47fc29093
Depends-On: https://review.opendev.org/731850
Depends-On: https://review.opendev.org/731851
Depends-On: https://review.opendev.org/731855
Depends-On: https://review.opendev.org/731858
2020-06-09 09:58:00 -07:00
Lance Albertson c49dedfbcd Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Enable sensitive resources for template[/etc/keystone/keystone.conf]
  and execute[bootstrap_keystone] to improve security.
- Update delivery configuration to exclude integration cookbooks

[1] https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html#install-and-configure-components

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706140
Depends-On: https://review.opendev.org/706147
Depends-On: https://review.opendev.org/706158
Change-Id: I6c5005b23ee209650911146e373c4cf082cbee9e
2020-03-23 09:58:16 -07:00
Lance Albertson 453ab3bb95 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.

- 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.
- Remove unused references to log_debug in wsgi template
- Add missing WSGISocketPrefix to wsgi template
- Additional tests for keystone.conf and identity.conf
- Remove unused ldap section tests as we no longer have attributes for it
- Include additional cookbooks in Berksfile required for CI

Depends-On: https://review.opendev.org/702772

Change-Id: I717247217523e89251e4c0bead0c1a0d114ade2a
2020-01-30 09:28:25 -08:00
Jens Harbott 87d4d2ed40 Use python3 packages on Ubuntu
Python2.7 is going EOL soon, let us deploy python3 for Rocky from the
start, so we avoid having to switch later.

Also update Berksfile to allow dependency testing and require chef >= 14 now.

Change-Id: Id4c06c8fc136ae3cde97e751373049db989de21e
2019-11-26 10:46:40 +00:00
inspurericzhang 65e61a916d Replace git.openstack.org with opendev.org
Change-Id: Ib8f7bf2608b06178388b91fc7b90460896bce416
2019-11-19 17:47:15 +08:00
Samuel Cassiba 3410066ae1 starting rocky development patch
Depends-On: Ia24eef700ab6c7fe359a17070981dc93e0300a18
Depends-On: I75d827d383f701da8650cd0e9d1f2501e22cf6a2
Change-Id: Id835cbf8fc8cf2dc32a3ecdfffb17b01547fb0db
2018-08-03 06:40:56 -07:00
Samuel Cassiba a781e6c11f
starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution

Change-Id: Icddbddfae5ec075c9c113287135a02bad48144e7
2018-03-06 13:01:59 +01:00
Samuel Cassiba 8ba453b9f5 identity refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- moved apt package_overrides to common cookbook

Implements blueprint modern-chef

Change-Id: I9ab420186b2f93cfc7fcc7be7c406a3176a991e1
2017-12-10 20:04:21 -08:00
Christoph Albers 4dcd956337 use_cookbook-openstackclient/identity_v3
- Removed v2 support
- Workover Endpoint creation
  Identity Endpoints now will be bootstrapped
- Removed bootstrap_token
- Added domain_creation
- Edited openrc to work with itendity_v3
- changed "tenant"-naming to project
- Removed unused files and functions
  providers/register.rb
  spec/register_spec.rb
  resources/register.rb
  libraries/machters.rb
- rewrote specs
- updated readme
- added apache_site disable keystone since
  ubuntu auto-enables it
- bumbed ubuntu version to 16.04

Change-Id: I0f8955f05de9b33711c54b9a198f45018cceb8e1
2016-09-29 17:52:30 +02:00
Jens Rosenboom dbea65b625 Update dependency for apache2 cookbook
Version 3.2.0 of the apache2 cookbook was released, update our
dependency so that we are compatible with the other openstack
cookbooks and berkshelf resolution can succeed. Drop the reference to
the github version.

Change-Id: I55110726ee846f579849ea039a759ef1a0ad9bff
2016-03-29 16:50:43 +02:00
Jan Klare a3f18966ea refactoring final step
* added new logic into templates/default/keystone.conf.erb
* refactored attributes throughout all recipes that were connected to
  the attributes used for the keystone.conf.erb template to adapt the new
  template attribute syntax
* moved all attributes from attributes/default.rb that were used in
  keystone_conf.erb to attributes/keystone_conf.rb
* removed all attributes from default.rb and keystone.conf.erb which are set
  as default in attributes, openstack doc and used to render the template
* finished split between public, internal and admin endpoints
* refactored endpoint and bind_service logic to fit the new common cookbook
* adapted specs
* added endpoint and bind_service attributes (moved from common)
* removed keystone eventlet configuration (removed in mitaka)
* moved templated service catalog to its own section
* removed deprecated recipe for keystone server deployment without apache (also
  removed corresponding specs)
* moved recipe openrc (and template + specs) from common here, to remove inverse dependency in common
  cookbook
* adapted the specs (unit tests) to work again
* removed qpid as a messaging option (can be included in a wrapper)
* deleted default attributes from keystone.conf.rb originated in
  openstack-common
* removed suse as supported platform
* included current master of apache2 cookbook to utilize new listen logic
* removed rubocop exceptions in recipes and libraries and regenerated the
  .rubocop_todo.yaml conaining all remaining exceptions

Change-Id: I3262b2e6f792f37c32a446e6567790b82bdd4613
Implements: blueprint cookbook-refactoring
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
2016-02-08 10:17:20 +01:00
wenchma 729e481088 Sync stackforge/cookbook* to openstack/cookbook* for keystone cookbook
Change-Id: I6b64b6217716500333f02cd547169ca3279ad90f
Partial-Bug: #1465116
2015-06-15 13:23:05 +08:00
Paul Czarkowski e861e1e98b point berkshelf at supermarket.chef.io
Change-Id: Ib4f306e0eee58430dec925e760288371c34fab6d
2015-02-16 19:50:27 -06:00
Jan Klare dae3da9ebd Updated berkshelf to 3.1.5
Updated berkshelf from 2.0.18 to 3.1.5 in Gemfile and added supermarket source to Berksfile

Change-Id: Ic8e6a14fc91212b1b5d3cdbf88b19af38e425cc5
Implements: blueprint update-berkshelf
2014-08-18 09:56:51 +02:00
John Dewey 9665817131 Changed cookbook name to openstack-identity
Changed the cookbook to opentack-identity.  This involved changing
many attribute and lwrp references.  Also, corrected tests to use
the new cookbook name and attributes.

All tests are passing.

Change-Id: Idcc49431c9c9327066deaed520ceb82b86db3ea8
2013-05-15 16:54:17 -07:00
John Dewey 092eb5fa36 Initial add of chefspec tests 2013-05-07 21:50:32 -07:00