Commit Graph

17 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 8343638fc1 CentOS 8 support
- ChefSpec updates

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/815147
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-compute/+/815173
Change-Id: I17fc8fafd977c8412f8e9519642ccbcd427c2949
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-24 12:03:51 -07:00
Lance Albertson 5178e1c937 Cookstyle 6.19.5 fixes
Depends-On: https://review.opendev.org/756168
Change-Id: Idfa343580b1dce6860d522ca62b63b818353aab8
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-05 17:29:04 -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 8b478fbe41 Improve ChefSpec test speed by enabling caching
This updates all references of let(:chef_run) to cached(:chef_run) to
speed up tests. By doing this, we have to create a new cached(:chef_run)
block whenever we need to adjust node attributes for testing.

Speed was improved from 5 minutes 36 seconds to 48.07 seconds

Change-Id: I4e88431d863450b6f41d6711612bfb12d4024683
2020-01-06 14:59:12 -08:00
Samuel Cassiba 40e115b66b Removed unused tests for deprecated RDBMS flavor
Implements: blueprint modern-chef

Change-Id: I6314c58d53c1d9a536191f62bde9cd820ddbfdad
2018-01-30 06:48:10 -08:00
Samuel Cassiba b547aaa80c Deprecated python-heatclient
- deleted client.rb
- deprecated python-heatclient references

Implements blueprint newton-xenial

Change-Id: I54d8190f77b7731dfb518871f080f62718cedc47
2016-12-14 20:06:29 -08: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
Jan Klare c0e89882e5 move from bundler to chefdk
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- replaces Runner by SoloRunner in specs

Change-Id: Idb2180fb0cfd48b2c2c22e531b1f1320a0ab247b
2015-04-29 10:42:03 +02:00
Mark Vanderwiel 620621da97 Increase spec coverage
Change-Id: I2e3fc378c3fccc9b5ab68cba33cc2a8944d89ffd
Implements: blueprint orchestration-chefspec-coverage
2014-07-09 14:29:33 -05:00
Matt Thompson 3f57f8811c Run heat-manage as correct user/group
We need to explicitly run heat-manage with heat user/group.
Running as root may cause files in /var/log/heat/* to be owned by
root, and this will cause heat services from being able to start (due
to being unable to write to files in that directory).
This is a non-issue when you install from packages as the package
post-install typically does a heat-manage with the correct user, and
this ensures logs are created w/ correct ownership.

Change-Id: I6aede4f2b768cb191527ec27b0c8132c0582ebf2
2014-05-09 15:17:27 +01: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
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
hanzhf 78d582630c Add db2 python packages for heat database support
Change-Id: I62d7c4e1b5e9d3119e523521f000c82cd2569045
2014-02-10 16:50:20 +08:00
Christopher H. Laco 27bdc745f2 Update specs to be rubocop compliant
It appears orchestration was missing in the rubocop blueprints. Bringing it
up to par with the other cookbooks.

- Update rubocop config to include spec/**
- Update specs to comply with rubocop
- Delete unused default spec file

Change-Id: Ie96c16fc82a4ca2c04e20fc7db2b036937f0ba04
2014-02-04 17:07:06 -05:00
Matt Thompson 10a3aa27fd 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.

Also remove Berksfile.lock so that updated version of common cookbook is
used.

Change-Id: I6d6b3849671d56d337aced0f8288b6a201f80ac0
Implements: blueprint clean-up-attr-for-mq-and-db
2014-01-28 22:36:26 +00: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