Commit Graph

41 Commits

Author SHA1 Message Date
Ghanshyam Mann 7696ada9d2 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: Ifae4bf9ef4e6b4c89571f9fc3c45ef3f5349fb4d
2024-02-17 20:49:42 -08:00
Lance Albertson 2f13299f3e 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: Ie4c83015a5ea141ea398be77cccf8eacc283d470
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 12:50:26 -07:00
Lance Albertson a23298670b Updates for Train
Changed:
- Update release to train

Removed:
- Unused rubocop rules

Change-Id: I9e8f6ed90089a98b9cdb05bd1d468a57ec0bd30e
Depends-On: https://review.opendev.org/731859
Depends-On: https://review.opendev.org/731865
2020-05-29 18:03:52 -07:00
Lance Albertson 0d15f40999 Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Cleanup line wraps
- Enable sensitive resources for the template[/etc/heat/heat.conf] to
  resources improve security.
- 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 []

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706151
Depends-On: https://review.opendev.org/706157
Depends-On: https://review.opendev.org/708059
Depends-On: https://review.opendev.org/713285

Change-Id: Ifb3a9de9eecc370e46f43a73ed77008a7b21594b
2020-03-19 11:31:45 -07:00
Lance Albertson 0b218495a9 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: If47b6b8c525c92a9421468e371c22f210b7f5e80
2019-12-06 11:29:44 -08:00
ZhijunWei c880cd18b2 Change openstack-dev to openstack-discuss
Change-Id: Ic8d3729829b85212514d45776164b05fb82b2669
2018-12-04 23:21:08 -05:00
Samuel Cassiba 5d36a509ba starting rocky development patch
Change-Id: Ifcb2cb9d3c3653cb7e41845af42e25ff7fa70772
2018-08-03 06:41:57 -07:00
Samuel Cassiba 9751d5545b 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: Iddb51ac401737a7a453560f03ff8dc468b1b67a1
2018-03-06 12:29:29 -08:00
Samuel Cassiba 2bcd59a687 orchestration refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- added interface for internal endpoint
- moved dpkg options to common cookbook

Implements blueprint modern-chef

Change-Id: I361aed3d84a6e7225d7d803f1855ce37da568eac
2017-12-10 12:32:19 -08:00
Jan Klare 1a46445152
starting pike development patch
Change-Id: I5bc48f1e9585ef3729d9df0d34c88095d28eb724
2017-08-18 10:09:41 +02:00
Samuel Cassiba df79bb4fe9 Reordered metadata.rb for readability, satisfy foodcritic/rubocop
Change-Id: Ib1a753696982f2e3cce133bd6bd56c4c8fa25bc5
2017-08-17 18:00:09 -04:00
Jan Klare 9531704451 starting ocata development patch
Change-Id: Ibbbfc1008f9e7688466431ab1168740c97f162ee
2017-02-23 17:07:12 +01:00
Christoph Albers f2c3db560e use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- updated readme

Change-Id: If5c3758c786b2d11cec6d64dc57530367acd2976
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
2016-09-30 11:59:53 +02:00
Samuel Cassiba 1e41bc7811 Style and lint fixes to support newer ChefDK
Change-Id: Iccd706e2b804065c343c317f63783592e091c415
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
Depends-On: I34e4c7b29ff7c36c91245d90fb0b6897847cd22f
2016-07-06 13:23:13 -07:00
Jan Klare fdd52191f9 initial commit for the newton development cycle
Change-Id: I28103109ef011b918d15160bd968c69f23e93551
2016-05-31 10:46:07 +02:00
Jan Klare f950ab4b40 update the README after refactoring and align it with other cookbooks
* also removed the empty default recipe

Change-Id: Iff2c536d595f90f932129ab8a2faad17ae41415b
2016-04-26 15:41:26 -05:00
Jens Rosenboom 5d70ac53fa Refactor using new style
* use new logic for heat.conf template
* move all attributes that are used in heat.conf to
  attributes/heat_conf.rb
* remove all attributes that are just setting default values
* add new default attributes so that the authorisation setup will be
  functional again
* refactored endpoint and bind_service logic to fit the new common
  cookbook
* adapt specs accordingly
* removed qpid as a messaging option (can be included in a wrapper)
* removed fedora as supported platform
* removed deprecated Gemfile
* removed logic for setting up a dedicated domain for Heat, should be
  done in a wrapper
* update README.md accordingly (still incomplete)

Implements: blueprint cookbook-refactoring
Change-Id: I16a29e28068d106f0edcbe04cb529aabbbed1ac5
2016-03-08 12:27:39 +01:00
JJ Asghar 49c1a11b8b Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

remove db2 refs

Change-Id: I7744f2b20a0e7d77344f50b791024ecbc4eb2435
2015-08-28 23:10:01 -05:00
Mark Vanderwiel b5fac0e02b Replace deprecated get_secret
Use get_password 'token' instead.

Change-Id: I8a6a22751cfd3f262d44adaa7eb33ae0bcf9cffd
Partial-Bug: #1467662
2015-06-22 15:53:14 -05:00
Mark Vanderwiel 62f41a402f Allow rabbit mq kombu ssl configuration
Add the rest of the kombu ssl configuration options.

Change-Id: I71e50e405d6447229bce23e1b1db67fdfad316a8
Partial-Bug: 1464706
2015-06-16 10:53:03 -05:00
wenchma 5259486ff4 Add rabbitmq max_retries and retry_interval in heat conf
Oslo.message using rabbit_max_retries and rabbit_retry_interval to
define reconnect rabbitmq server times and interval when can not
connect to rabbitmq server.

Change-Id: I261d3f31aa89f845d88ee4cbd1acb56c9131ba47
Closes-bug: #1439968
2015-06-12 15:35:44 +08:00
Mark Vanderwiel e5627ca58b 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: I75515d7b1faadb6de6377081fc7d5281a4c64c7d
2015-05-29 12:11:46 -05:00
Mark Vanderwiel 8ca986118d Initial kilo updates
Change-Id: I59dd90688058f9933e75b4bc302b9b71e5a64c6f
Partial-Bug: #1426424
2015-02-27 14:17:12 -06:00
Mark Vanderwiel 04c09fbf12 Missed bumping Common version
Change-Id: I6e97f184b4c7cf1d56127096eb614d104f221a73
Related-Bug: #1412919
2015-02-09 11:53:05 -06:00
Mark Vanderwiel 241b22cca4 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: I97c0913cb984045ca2f7ba9d5379bf637fe25576
Partial-Bug: #1342735
2014-10-14 10:22:23 -05:00
Mark Vanderwiel 20db01de38 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: I6b96dba683c7b3fa20f2da1b14beb4fb18d79fca
Partial-Bug: 1349865
2014-07-29 15:40:30 -05:00
Ionuț Arțăriși 744c309388 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: Ia0d26ef915dc27b8654d1ed0dec63b2ecef05743
Implements: blueprint move-python-db-client-attrs-to-common
2014-07-02 16:17:39 +02:00
ericzhou 0b2ba2840c Allow region_name_for_services to be configured.
Only when the region_name_for_services can be configured to the heat
region name, heat can support multiple region scenarion when creating
the stack.

Change-Id: I386a81f4ee616bc46357aa9f2cc42b78c47108f1
Closes-Bug: #1330319
2014-06-19 23:40:41 +08:00
Matt Odden 898119e187 Add missing AMQP options to heat.conf
Add more AMQP and QPID configuration options
to the heat configuration file. This enables
users to use QPID federation support and also
use durable queues for rabbitmq or QPID.

Change-Id: I4b944a3cbf7830d47b1398eeb347946098ce2452
2014-06-13 00:55:37 +00:00
Mark Vanderwiel e1f24067a9 Fix to properly set [keystone_authtoken] signing_dir
Attribute already existed and directory resource was created, but the
value was not set the heat.conf.

Change-Id: I0b952f6542d69bdae712ad79976f9c7fb07c1c6c
Closes-Bug: #1323833
2014-05-27 15:45:57 -05:00
Mark Vanderwiel 2524e4a8c1 Fix to configure separate endpoint and bind addresses
Allow separate endpoint and bind addresses for orchestration.
Update tests.

Change-Id: I216e7973b8114e85928cd69db326e2b52784a7c3
Closes-Bug: #1317646
2014-05-08 15:45:19 -05:00
Mark Vanderwiel c8fa8e1e6b Heat services need keystoneclient not keystone
The common recipe has been pulling in the entire
python-keystone package, which is the entire Keystone
set of services. This hasn't been necessary since
some time after Grizzly, when the tokenauth middleware
was moved to the client.

Change-Id: Ifb133d570e2ad94df822aa512edeb37aabdf349b
Related-Bug: #1305318
2014-05-02 11:11:22 -05:00
Mark Vanderwiel 4fbf210d74 Fix endpoint ref in heat.conf
Change: I9ea0e1e61c23026bf24926b264e289ff80314ac2 missed a few lines
in the heat.conf file.
Added spec test for these.

Change-Id: I50e697692dd835e6f985afae74868307a90f8e37
Closes-Bug: #1313814
2014-04-30 14:46:06 -05:00
Mark Vanderwiel 63914207bf Revert bug fix 1279577
https://review.openstack.org/73108
The original change does not work for the case where the api-cfn recipe
is included from within another recipe.
This revert does not cause any harm, it justs registers
api-cfn with identity unnecessarily.
The real solution is probably a refactoring of the common identity recipe.
Created blueprint identity-registration-cleanup for this future work.

Change-Id: I43646182a7465cdddd55b1f840764ba1b147451e
Closes-Bug: #1309123
2014-04-24 13:04:44 -05:00
Mark Vanderwiel ea9b5d3632 Add notification attributes
Add attrs related for notification
Add tests

Change-Id: I559d4d610cd63a78e783fb57922012cf97ec6ad6
Closes-Bug: #1306703
2014-04-17 13:58:34 -05:00
Mark Vanderwiel 3839660292 Remove policy json file
Remove the policy.json template, as they contain no templated variables.
This would allow use of the policy.json files provided via the package,
and decrease the need to sync them with upstream

Change-Id: I2e4e3b5ed25b1449678e33dbd4ea45fcb6cac946
Implements: blueprint remove-policy-templates
2014-04-17 11:18:56 -05:00
Mark Vanderwiel de2284eeaf Icehouse branch version updates
Change-Id: I9502929cfc9c9a61117939cf39e874a608463951
2014-03-27 11:17:40 -05:00
Chen Zhiwei 6b9df49443 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: I309bac0e5fdf0abb110210069e731ff260679a3c
Closes-bug: 1294376
2014-03-21 03:21:03 -04:00
Mark Vanderwiel eab9f60603 Add client recipe for orchestration
Add an explicit recipe for installing client
only packages.
Tests are also included.
Bumped minor version for this new feature.

Change-Id: Ia2e4d15fbe63e1a02fb0078b1976b46b48a7e13a
Addresses: blueprint add-client-recipes
2014-02-12 15:08:57 -06:00
Matt Ray 068ed603ed Initial Rubocop cleanup.
Change-Id: I6f7c659e4f9ea9fa959a9917e4cf9d5e7acb16af
Addresses: blueprint rubocop-for-orchestration
2014-01-15 23:16:42 -06:00
hanzhf 0b81a7b037 Add cookbook support for Openstack Orchestration
This new cookbook supports the installation and configuraiton for heat services.
More pedantic patches will follow to make Rubocop happy.

Implements: blueprint heat-support

Change-Id: I8b734b7124c49190a68acc4d0da28a31da03ac57
2014-01-15 15:25:21 +08:00