- Added basic cellv2 recipe, as it is required from Ocata on
- Style and lint fixes to support newer chefdk
- Rewrote metadata.rb for readability
- Removed ancient Gemfile
Change-Id: I97b453fc419bfbf01679dadf39a256b1f0f99859
- deprecated Gemfile
- updated Rakefile to use 'chef exec' instead of 'bundle exec'
- updated TESTING.md
- replaced Runner in specs with SoloRunner for new chefspec version
- initialized file_cache_path to make git_sync spec for docker work
Change-Id: I845c712f2d0d216d9d4a9d32c28ac4b03e96109a
Updated berkshelf from 2.0.18 to 3.1.5 in Gemfile and added supermarket
source to Berksfile. Also removed sysctl from berksfile since it was
already removed from metadata in 7.0.2 and is not needed anymore.
Change-Id: I8bc2164f742df808f4f6b0f13b6bc566fafdbde3
Implements: blueprint update-berkshelf
This change gives us new capabilities, such as matching notifies and
subscribes of resources.
Implements: blueprint chefspec-3-4
Change-Id: I4842259e06f7213e9d7d20b719561e18b0c9767e
The fauxhai fix for the cpu stanza has merged and is available in
fauxhai version 2.1.0 so reverting the workaround patch and ensuring
fauxhai 2.1.0 is used.
- Remove the node.set for ['cpu']['total'] in the spec tests
- Adjust the Gemfile to use fauxhai 2.1.0
- Adjust the Gemfile.lock
Change-Id: I75e1837871b9ad6d02c40ab8a9d5b127a685b66f
Addresses: blueprint fauxhai-cleanup
Now that almost all of the rubocop blueprints have been completed, make
one final pass through all of the cookbooks ensuring they're all in
sync with each other.
- Upgrade rubocop to 0.18.1
- Fix violations caused by 0.18.1 upgrade
- Move Excludes for non-existent folders to Includes so they
automatically cover future additions
Change-Id: I00254b346718c1c70e8ad6f8b97e4dbf3f56396f
Implements: blueprint lint-and-unit-testing-for-havana
We now have a helper method `#address_for` to return the
IP of a given interface. Switched out the ohai use
in favor of `#address_for`. Also, updated berkshelf
to 2.x which handles dep resolution correctly. I run
into problems getting berkshelf to lock to the new 0.3.0
openstack-common w/o updating berkshelf.
Change-Id: Iaf39cee98589d8d1c4b90e610b94e5440ac51fd8
Also add dependency on json <= 1.7.7, required by Chef 11.
Resolves problem: Bundler could not find compatible versions for gem
"json" (required for chef and berkshelf).
Partial fix for bug #1183540
Change-Id: Ibabe5d0afc7dcfc9871197b889b11f84e18be250
Identity attributes are no longer at the top level of
the node. Need to properly access the new attributes.
Tests needed to be adjusted so that they would pass.
Change-Id: I0a697c217364a26ae97cf31d37a32e97f11c2e85
Add a tailor style guide check to be incorporated with the standard
run_tests. These checks are the defaults with the exception of the 80
character line limit. As this is being added to the standard set of
tests being executed during CI, this will add an extra step - locally
this was costing me ~20sec per run.
Change-Id: Ie78bc7c969e0c8d3563d76829b25c19b66341292