change the distribution osfamily from Redhat into RedHat

This commit is contained in:
Steve Traylen 2012-11-06 15:13:31 +01:00 committed by Martin Hellmich
parent efb7a6ee90
commit b9b122e65a
6 changed files with 7 additions and 7 deletions

View file

@ -35,7 +35,7 @@ describe 'mysql::config' do
:pidfile => '/var/db/mysql/mysql.pid',
:root_group => 'wheel',
},
'Redhat' => {
'RedHat' => {
:datadir => '/var/lib/mysql',
:service_name => 'mysqld',
:config_file => '/etc/my.cnf',
@ -208,7 +208,7 @@ describe 'mysql::config' do
describe 'setting etc_root_password should fail on redhat' do
let :facts do
{:osfamily => 'Redhat'}
{:osfamily => 'RedHat'}
end
let :params do

View file

@ -24,7 +24,7 @@ describe 'mysql' do
describe 'on a redhat based os' do
let :facts do
{:osfamily => 'Redhat'}
{:osfamily => 'RedHat'}
end
it { should contain_package('mysql_client').with(
:name => 'mysql',

View file

@ -24,7 +24,7 @@ describe 'mysql::java' do
describe 'on a redhat based os' do
let :facts do
{:osfamily => 'Redhat'}
{:osfamily => 'RedHat'}
end
it { should contain_package('mysql-connector-java').with(
:name => 'mysql-connector-java',

View file

@ -24,7 +24,7 @@ describe 'mysql::python' do
describe 'on a redhat based os' do
let :facts do
{:osfamily => 'Redhat'}
{:osfamily => 'RedHat'}
end
it { should contain_package('python-mysqldb').with(
:name => 'MySQL-python',

View file

@ -28,7 +28,7 @@ describe 'mysql::ruby' do
describe 'on a redhat based os' do
let :facts do
{:osfamily => 'Redhat'}
{:osfamily => 'RedHat'}
end
it { should contain_package('ruby_mysql').with(
:name => 'ruby-mysql',

View file

@ -35,7 +35,7 @@ describe 'mysql::server' do
:service_name => 'mysql-server',
:package_name => 'databases/mysql55-server'
},
'Redhat' => {
'RedHat' => {
:service_name => 'mysqld',
:package_name => 'mysql-server'
}