Commit Graph

45 Commits

Author SHA1 Message Date
Ghanshyam Mann 48c2e02d00 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: I028dee11bce572e0ceaa8b2f1dab22a1abe00779
2024-02-17 20:49:30 -08:00
Lance Albertson 8151bc7d69 Chef 17 support
- Require Chef >= 16.0
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-common/+/813952
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
Change-Id: I237243dd038cd1a27a9710131fb4ed016f6ee20c
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 09:31:08 -07:00
Lance Albertson b1e81544e9 Chef 16 updates
Update rabbitmq dependency which pulls in fixes for Chef 16.

Depends-On: https://review.opendev.org/740342
Change-Id: Ia1f172fea148aafe910e5185c0427d0ed7815475
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-22 21:06:36 -07:00
Lance Albertson c85c7d9e45 Updates for Train
Changed:
- Update release to train

Removed:
- Unused .rubocop.yml

Depends-On: https://review.opendev.org/731851
Change-Id: I73e62794e32bbec2549b4bc34b860591ffd6bd0a
2020-05-29 17:14:35 -07:00
Lance Albertson 08dbb7297d Update to rabbitmq ~> 5.8 cookbook
- Set sensitive=true for all rabbitmq resources being used to improve security
- Remove any default actions

Change-Id: Idf0c386f24df5dd2907fa0db59daf770e9c13f2d
2020-03-30 14:24:20 -07:00
Lance Albertson aeb030b124 Stein fixes
- Cookstyle fixes
- Remove rubocop_todo.yml as it's no longer needed
- Update documentation
- Update delivery configuration to exclude integration cookbooks

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Change-Id: I470c9240b5ab88971f2f8291b4ec371d6648ff66
2020-03-19 10:59:34 -07:00
Lance Albertson 07f6c83a00 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

Change-Id: I21ccc2b022c9123e6449dd8d8639e0405b848711
2019-12-06 11:49:32 +00:00
Jens Harbott 818851f790 Soften the rabbitmq version pin
With version 5.7.4 the rabbitmq cookbook should be working for us again.
However, we also learned that with the upcoming 6.x version of the
cookbook only versions >= 3.7.x of rabbitmq will be supported, which
isn't available as distro version at least for Ubuntu LTS releases yet.
So we change this pin into a soft match, allowing for updates within the
5.x stable branch, but blocking 6.x.

Change-Id: Id647f10fd5d4b69b441c4f8de8c325ec0032d9ea
2019-03-21 10:29:26 +00:00
Jens Harbott 300bb041f2 Pin rabbitmq cookbook to avoid broken version
Version 5.7.1 seems to break things when running with the distro version
as in our setup [0]. Pin to 5.7.0 until there is a fix.

[0] https://github.com/rabbitmq/chef-cookbook/issues/508

Change-Id: I10059588716dea49a5a0ad996db20323d458bd43
2019-03-12 13:57:49 +00:00
ZhijunWei 59285c3da4 Change openstack-dev to openstack-discuss
Change-Id: I0beb4a40a29ad844153620c72ae620bd8f6f482b
2018-12-04 23:21:07 -05:00
Samuel Cassiba 5a07ed0d6d starting rocky development patch
Depends-On: I75d827d383f701da8650cd0e9d1f2501e22cf6a2
Change-Id: I6fc0f0f2c1814e5e617acbde1cc76fc43f8aaebb
2018-08-03 06:29:44 -07:00
Samuel Cassiba 6ee7501c83 starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution
* drop unnecessary test, as TLS is the default install

Change-Id: I58b140b6548eb7f8e3317ce566a7082623c9fc4f
2018-03-06 09:50:37 -08:00
Samuel Cassiba d41044ce64 ops-messaging refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket access
- updated for the most recent upstream rabbitmq cookbook

Implements blueprint modern-chef

Change-Id: If971a472c1fd9149a891200548a267655620fce2
Depends-On: I143e0ed0a2bdd76269fc0c402052696426d96d81
2017-11-28 17:00:50 +00:00
Jan Klare 7318a42ca1
starting pike development patch
Change-Id: I76c914f68612c0e76dcee8e0557ff62f769533db
2017-08-18 10:07:11 +02:00
Samuel Cassiba 59580431cb Reordered metadata.rb for readability, satisfy foodcritic/rubocop
Change-Id: I0dd19692ae9ca1c403762fa19e4c45e60cc76fcd
2017-08-17 18:04:58 -04:00
Jan Klare 5d67609c1c starting ocata development patch
Change-Id: Ib072d366ae1684efe216ea57511aea1866840543
2017-02-23 17:07:04 +01:00
Jan Klare 96ecc7c4f8 update cookbook dependencies for next release
Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Change-Id: Ic7a5e1c9191a9083125583c274c08b9335728c39
2016-12-05 16:06:54 +01:00
Samuel Cassiba 82739b2c2d Style and lint fixes to support newer ChefDK
Change-Id: If444be3354ed0f9ec961cc2fe726e53645dba87a
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-03 10:18:50 -07:00
Jan Klare 93507bd15c initial commit for the newton development cycle
Change-Id: I03778774a931e6f22b576322fb3fef398a50740e
2016-05-31 10:44:07 +02:00
Jan Klare 1e0a81aecd adaptions to work with refactored cookbooks
* adapted rabbitmq-server recipe to fit new endpoint logic
* removed unneeded server recipe
* fixed typo in rabbitmq-server recipe (port -> ssl_port) attribute
* adapted specs to properly check for ssl configuration

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Implements: blueprint cookbook-refactoring
Change-Id: I80ed8a7892b59f7fd582505445a31b0df8d68752
2016-02-08 10:42:52 +01:00
Mark Vanderwiel efc4821c65 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

Change-Id: Ieb8663d63c8dff92064969b92dce71d7d51376d6
2015-08-30 08:02:21 -05:00
Mark Vanderwiel 8aaf95cdcd Pick up ssl ciphers fix in rabbitmq cookbook
from pull request: https://github.com/jjasghar/rabbitmq/pull/280

Change-Id: Ie803255049b44ceaa7e4715db2a5e4cc70a78c31
Related-Bug: #1465846
2015-07-20 08:55:07 -05:00
Mark Vanderwiel ce02b068eb Use latest version of rabbitmq cookbook
Change-Id: I3ff70f636aa79d863d5915520cc086c14c0f6780
Partial-Bug: #1465846
2015-06-16 15:43:27 -05:00
Mark Vanderwiel cf939baa6c 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: I455efbb3f2c97a21dc16d4a9d7909afeaae18565
2015-05-29 12:06:02 -05:00
Mark Vanderwiel 62baa0dd60 Update to pull in 3.x versions of the rabbitmq cookbook
Several fixes and minor enhancements have gone into the rabbitmq
cookbook.  This change allows all 3.12 < 4.0 minors to be picked up.

Change-Id: Ica9f4f5165d6c566bd0bddbf35e66fb5412cf987
2015-04-13 15:38:49 -05:00
Mark Vanderwiel 929ba46121 Initial kilo updates
Change-Id: Ifca672583439b401b342753592895075f1429993
Partial-Bug: #1426424
2015-02-27 14:20:48 -06:00
Mark Vanderwiel 0b423a56d4 Switch back to pessimistic version constraint
Change-Id: I8b3e40cb39eb23931eecfbdd47f34640d3647924
Partial-Bug: #1425192
2015-02-24 19:26:54 +00:00
Mark Vanderwiel 05c924ce3b Control rabbitmq version within a range
* For stable juno branch, need to stablize which rabbitmq is used.

Change-Id: I7b6bb597019ca14e812c4e4b8c07ea8c06737cb6
2015-02-12 16:57:49 -06:00
Mark Vanderwiel d8d0322d5f Missed bumping Common version
Change-Id: Idbe24ccece58d9a12c66a425fa7a0ca4e1ad4353
Related-Bug: #1412919
2015-02-09 11:52:08 -06:00
Mark Vanderwiel ca88fab55d Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: Ifb0019ec4d1c6427b23f41f59fa3e5cf835fa105
Partial-Bug: #1342735
2014-10-14 10:18:44 -05:00
Mark Vanderwiel b8de0c99ae Fix metadata constriant for Common
A patch went in that needed attributes in Common and the ops-messaging
metadata was change to ~> 10.0.1 which worked until Common
was recently bumped to 10.1.  The metadata for Common should have had
a minor version bump, not a patch bump for the new attributes.

Change-Id: I6429d8f770b79ab099c9af5110fe49c88e74bfa0
Closes-Bug: #1373483
2014-09-24 10:47:36 -05:00
wenchma c9559630c6 Fix the conflict configuration on rabbitmq port
In current logic, rabbitmq port will be set to ssl-listening port,
this will make rabbitmq fail to start.
This submit will configure rabbitmq port for both ssl and non-ssl cases.

Closes-Bug: #1353884

Change-Id: I37dc9b656c553554b9bc636fe35c69744debe92a
2014-08-26 09:34:58 +08:00
Mark Vanderwiel ae3c6a862f Setting up repo for master Juno branch
* Update metadata versions
* Updates for icehouse specific attributes
* Removing Strainer file
* Updating Gems
  * chef (11.12.0)
  * chefspec (4.0.0)
  * rspec (3.0.0)
* Cleanup specs for 4.x

Change-Id: Ibb18b6a2a523c123ffd96f14cc81d958a308b313
Partial-Bug: 1349865
2014-07-29 15:37:25 -05:00
Chen Zhiwei 981a447a85 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: I09bbf98c275b3a8cff2c7ef75a93a7f111ae8f57
2014-03-31 20:50:33 -04:00
Mark Vanderwiel 1101d6c750 Icehouse branch version updates
Change-Id: Id9011868728d2e412086439f4f75650b0944a1f5
2014-03-27 11:38:37 -05:00
Matt Ray d90dd16ab5 Single .rubocop.yml file for all Ruby files, attributes cleanup.
Also changed email & company name.

Addresses: blueprint rubocop-for-ops-messaging
Change-Id: I1bb991184f813bc574e1c6a4f5de3030b82c0b49
2014-01-17 15:13:17 -06:00
Matt Ray 55ce644ee7 Filling out initial rubocop support for metadata.rb and the Gemfile.
Removing tailor, cleaning up metadata and Gemfile and adding TESTING.md

Addresses: blueprint rubocop-for-ops-messaging
Change-Id: I4734194aa52973dbaeb299e5970802a38b326dc5
2014-01-14 14:38:13 -06:00
jiehua jin ecff952bd5 make AMQP support when develop_mode=false
When develop_mode=false, the password of mq user "guest"
in the databag user_passwords is required. But the current
code doesn't support. I made it work, and add the test cases.

Closes-Bug: #1257554
Change-Id: I0d01bd73eaec9cc90304e67484fec15fad061504
2013-12-24 08:46:12 +00:00
Ionuț Arțăriși d21a7107a5 upgrade to Havana
also upgrade gems:
- berkshelf, ~> 2.0.10
- chefspec, ~> 3.0.2
- foodcritic, ~> 3.0.3

Change-Id: I501d329d0da7d540cbd7ec229f031700d9ced1ac
2013-12-12 09:34:38 +01:00
Matt Ray 3ff43e644f Ensure the node[openstack][mq] attributes push to the services that use rabbitmq
The node[openstack][*][rabbit] attributes for all the services using rabbitmq
(block-storage, compute, image, metering, network) should default to the same
values as node[openstack][mq]. Bumping the major version accordingly.

Change-Id: Id20a48a3ef2506622239e8e6f15ce1f76060b828
2013-11-18 18:04:31 -06:00
paulczar d57a3c64e0 update to use openstack-common 0.4.0
Change-Id: I2bf08ba0fe085852e9171c674c9a4eed15c48496
2013-07-28 14:01:57 -05:00
John Dewey 1c0e58dc33 Updating with patterns used in ops-database
We had two reviews which added an ops-messaging cookbook.  Updating
this cookbook with patterns we estabished from the database cookbook.
Craig already did most of the work, however, updated the tests to
use the chefspec find_provider, added clustering support, and attempted
to follow the service_type attribute patterns used in database cookbook.
Since these cookbooks are not complete, added a larger commit than
would have.

Change-Id: I0edfc996df413c6e41a31d53f964d7f5fc9e0aeb
2013-06-27 17:00:06 -07:00
Craig Tracey 8540f839e5 Initial commit of openstack-ops-messaging cookbook
This initial commit provides support for an openstack-ops-messaging
cookbook. In this initial release, we provide the capability to install
and configure RabbitMQ. This cookbook is modeled after the
openstack-ops-database cookbook in the way in which it can be utilized.

Included are tests for all recipes and this release supports Ubuntu
only.

Change-Id: I4d799fa46e67e0f2eca2ac8b205f51c07e0df01e
2013-06-18 19:36:08 -04:00
Matt Ray 7312a60222 secure password and setting the default host and port 2013-05-08 21:42:33 -05:00
Matt Ray 93551e4e98 first pass at minimum Grizzly RabbitMQ settings 2013-05-07 22:51:52 -05:00