Update attributes to be rubocop compliant

- Add rubocop.yml in attributes/
- Add attributes rubocop test to Strainerfile
- Update attributes to comply with rubocop

Change-Id: Id0ef1ac5387f8b2b0bdf2034c9318344053551bd
Addresses: blueprint rubocop-for-metering
Merge "Update attributes to be rubocop compliant"
Update recipes to be rubocop compliant

- Add rubocop.yml in recipes/
- Add recipes rubocop test to Strainerfile
- Update recipes to comply with rubocop

Change-Id: I7129c11c769688812e412a49cf37d4935d984985
Addresses: blueprint rubocop-for-metering
Update specs to be rubocop compliant

- Add rubocop.yml in specs/
- Add spec rubocop test to Strainerfile
- Update specs to comply with rubocop

Change-Id: I7f2de5cd4bd9307485ec7db134f31f5415c84131
Addresses: blueprint rubocop-for-metering
Remove Berksfile.lock from dev branches

blueprint remove-berksfile-lock-from-dev-branches

Change-Id: I4267994ade81fe45dae52c1476d555e19f91705c
Remove ambiguity in stubbed methods in spec_helper

- Adjust the stubs in spec/spec_helper.rb to specify the appropriate
  number of expected variables.

Partial-Bug: #1271535
Change-Id: I34542d8544cf7cefa5caebf4c323879c567a4f20
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.

Change-Id: I30e37b4ff6369c19978973a8890ef2122692db44
Implements: blueprint clean-up-attr-for-mq-and-db
Merge "Remove ambiguity in stubbed methods in spec_helper"
Rubocop cleanup - removing individual directory .rubocop.yml files

- Remove directory/.rubocop.yml files
- Adjust Strainerfile to use the single .rubocop.yml
- Adjust .rubocop.yml ot reference all directories

Change-Id: I4323a1d1b626001c0b0dc05bec473b16c637f485
Addresses: blueprint rubocop-for-metering
Upgrade/Update rubocop

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: I62cb43675f56469cefaa480e5043514741bedb04
Implements: blueprint lint-and-unit-testing-for-havana
add default 'service_tenant_name' attribute

Change-Id: Ia49cbdf3ad7f9bfd90177a611b0945f4820a3513
change tests to use SLES11SP3 instead of openSUSE 12.3

Change-Id: Ifc6d12da53812ffa33fa35cbb7112e8b356945a3
Enable ceilometer on RHEL

There were no attribute definitions for installing the ceilometer
packages and services on RHEL. This patch adds them.

Change-Id: Iccfa609f418cb160a317abf20b83180b4556e50e
Closes-Bug: #1277725
Merge "change tests to use SLES11SP3 instead of openSUSE 12.3"
add default 'service_user' attribute

Change-Id: I9fa452b441342883a163c26bdf3e322858228b2f
Merge "Enable ceilometer on RHEL"
Merge "add default 'service_user' attribute"
Fix metering service endpoint path spec

After installing ceilometer with the metering cookbook, invoking the
ceilometer CLI fails because the API base URL used is
http://127.0.0.1:8777/v1/v2 which means that the base endpoint path of
/v1 is incorrect and it should be simply /.

The openstack-common cookbook was updated to set the right path but we
need to update the test cases, and point to the new version of the
common cookbook.

Change-Id: I203a5a6346a3765bb249149a209122ec3d33601d
Partial-Bug: #1277742
Merge "Fix metering service endpoint path spec"
Adding ChefSpec::Coverage to spec_helper.rb

Change-Id: I1adc0f186f2b8ae33fbc5e4b5a2e5f7ed60ed2e5
Addresses: blueprint lint-and-unit-testing-for-havana