-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stabilize openstack liberty modules.
Update ceilometer to 23102fbff3e8b7e45e20d0d82dd6cedb6bd54bb1 23102fbff3e8b7e45e20d0d82dd6cedb6bd54bb1 Support of PyMySQL driver for MySQL backend Change-Id: If59577a18df9c34ff3f170a9beb3f671b1562bd1 Update trove to 651b00eeeee5da46bc08201055c7cac445802181 651b00eeeee5da46bc08201055c7cac445802181 Remove trove ubuntu package hack Change-Id: Ice6ce0065b6561747e800282be45b2a09c0f07be
- Loading branch information
Showing
18 changed files
with
114 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ class { '::keystone::db::mysql': | |
class { '::keystone': | ||
verbose => true, | ||
debug => true, | ||
database_connection => 'mysql://keystone:[email protected]/keystone', | ||
database_connection => 'mysql+pymysql://keystone:[email protected]/keystone', | ||
admin_token => 'admin_token', | ||
enabled => true, | ||
} | ||
|
@@ -66,7 +66,7 @@ class { '::ceilometer::db::mysql': | |
password => 'a_big_secret', | ||
} | ||
class { '::ceilometer::db': | ||
database_connection => 'mysql://ceilometer:[email protected]/ceilometer?charset=utf8', | ||
database_connection => 'mysql+pymysql://ceilometer:[email protected]/ceilometer?charset=utf8', | ||
} | ||
class { '::ceilometer::keystone::auth': | ||
password => 'a_big_secret', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ class { '::ceilometer::db::mysql': | |
password => 'a_big_secret', | ||
} | ||
class { '::ceilometer::db': | ||
database_connection => 'mysql://ceilometer:[email protected]/ceilometer?charset=utf8', | ||
database_connection => 'mysql+pymysql://ceilometer:[email protected]/ceilometer?charset=utf8', | ||
} | ||
class { '::ceilometer::keystone::auth': | ||
password => 'a_big_secret', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,7 @@ def should_to_s( newvalue ) | |
defaultto('<SERVICE DEFAULT>') | ||
end | ||
|
||
autorequire(:package) do | ||
'trove-api' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,7 @@ def should_to_s( newvalue ) | |
defaultto('<SERVICE DEFAULT>') | ||
end | ||
|
||
autorequire(:package) do | ||
'trove-api' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require 'puppet/type/trove_conductor_config' | ||
|
||
describe 'Puppet::Type.type(:trove_conductor_config)' do | ||
before :each do | ||
@trove_conductor_config = Puppet::Type.type(:trove_conductor_config).new(:name => 'DEFAULT/foo', :value => 'bar') | ||
end | ||
|
||
it 'should autorequire the package that installs the file' do | ||
catalog = Puppet::Resource::Catalog.new | ||
package = Puppet::Type.type(:package).new(:name => 'trove-conductor') | ||
catalog.add_resource package, @trove_conductor_config | ||
dependency = @trove_conductor_config.autorequire | ||
expect(dependency.size).to eq(1) | ||
expect(dependency[0].target).to eq(@trove_conductor_config) | ||
expect(dependency[0].source).to eq(package) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require 'puppet/type/trove_guestagent_config' | ||
|
||
describe 'Puppet::Type.type(:trove_guestagent_config)' do | ||
before :each do | ||
@trove_guestagent_config = Puppet::Type.type(:trove_guestagent_config).new(:name => 'DEFAULT/foo', :value => 'bar') | ||
end | ||
|
||
it 'should autorequire the package that installs the file' do | ||
catalog = Puppet::Resource::Catalog.new | ||
package = Puppet::Type.type(:package).new(:name => 'trove-guestagent') | ||
catalog.add_resource package, @trove_guestagent_config | ||
dependency = @trove_guestagent_config.autorequire | ||
expect(dependency.size).to eq(1) | ||
expect(dependency[0].target).to eq(@trove_guestagent_config) | ||
expect(dependency[0].source).to eq(package) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters