Skip to content

Commit

Permalink
Update gnocchi to 4ebe8a6b83a5c3a55f7ea9f61991917054c6b013
Browse files Browse the repository at this point in the history
4ebe8a6b83a5c3a55f7ea9f61991917054c6b013 Fix spec tests for RSpec 3.x and Puppet 4.x
618a4429b60e0d23ba828d1273aa64300ddfa4f1 Merge "Bump rspec-puppet to 2.1.0"
4199d395fd2f43ec82b7f5c5177fffebc922e64b Bump rspec-puppet to 2.1.0
b7b1706bcbe9a4d296d8ce821ac09a708b1380d7 MySQL: change default MySQL collate to utf8_general_ci
c43f87ae69e5b1f484c7a7119bf43173d510c584 Pin puppetlabs-concat to 1.2.1 in fixtures

Change-Id: Ibc3a8b5ccdc7cca761980b169c30d40683db5037
  • Loading branch information
xbezdick committed May 11, 2015
1 parent 298efd8 commit df18eba
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Puppetfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mod 'gluster',
:git => 'https://github.com/purpleidea/puppet-gluster.git'

mod 'gnocchi',
:commit => '135849d3f11592f6e6b1d4d86ac161a265ad3d28',
:commit => '4ebe8a6b83a5c3a55f7ea9f61991917054c6b013',
:git => 'https://github.com/stackforge/puppet-gnocchi.git'

mod 'haproxy',
Expand Down
4 changes: 3 additions & 1 deletion gnocchi/.fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
fixtures:
repositories:
'inifile': 'git://github.com/puppetlabs/puppetlabs-inifile'
'concat': 'git://github.com/puppetlabs/puppetlabs-concat.git'
'concat':
'repo': 'git://github.com/puppetlabs/puppetlabs-concat.git'
'ref': '1.2.1'
'keystone': 'git://github.com/stackforge/puppet-keystone.git'
'mysql': 'git://github.com/puppetlabs/puppetlabs-mysql.git'
'openstacklib': 'git://github.com/stackforge/puppet-openstacklib.git'
Expand Down
2 changes: 1 addition & 1 deletion gnocchi/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

group :development, :test do
gem 'puppetlabs_spec_helper', :require => false
gem 'rspec-puppet', '~> 2.0.0', :require => false
gem 'rspec-puppet', '~> 2.1.0', :require => false

gem 'metadata-json-lint'
gem 'puppet-lint-param-docs'
Expand Down
4 changes: 2 additions & 2 deletions gnocchi/manifests/db/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#
# [*collate*]
# (optional) Charset collate of gnocchi database
# Defaults 'utf8_unicode_ci'.
# Defaults 'utf8_general_ci'.
#
class gnocchi::db::mysql(
$password,
Expand All @@ -56,7 +56,7 @@
$host = '127.0.0.1',
$allowed_hosts = undef,
$charset = 'utf8',
$collate = 'utf8_unicode_ci',
$collate = 'utf8_general_ci',
) {

validate_string($password)
Expand Down
2 changes: 1 addition & 1 deletion gnocchi/spec/classes/gnocchi_db_mysql_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
:password => 's3cr3t',
:user => 'gnocchi',
:charset => 'utf8',
:collate => 'utf8_unicode_ci',
:collate => 'utf8_general_ci',
:host => '127.0.0.1',
}
end
Expand Down
2 changes: 1 addition & 1 deletion gnocchi/spec/classes/gnocchi_keystone_auth_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

it { is_expected.to contain_keystone_user_role('gnocchi@foobar').with(
:ensure => 'present',
:roles => 'admin'
:roles => ['admin']
)}

it { is_expected.to contain_keystone_service('gnocchi').with(
Expand Down

0 comments on commit df18eba

Please sign in to comment.