Further SLES fixes to tests.
This commit is contained in:
parent
2d1a9f981a
commit
c3a3e3ae13
3 changed files with 23 additions and 5 deletions
|
@ -12,7 +12,7 @@ when 'RedHat'
|
||||||
ruby_package = 'ruby-mysql'
|
ruby_package = 'ruby-mysql'
|
||||||
when 'Suse'
|
when 'Suse'
|
||||||
java_package = 'mysql-connector-java'
|
java_package = 'mysql-connector-java'
|
||||||
perl_package = 'perl-DBD-MySQL'
|
perl_package = 'perl-DBD-mysql'
|
||||||
php_package = 'apache2-mod_php53'
|
php_package = 'apache2-mod_php53'
|
||||||
python_package = 'python-mysql'
|
python_package = 'python-mysql'
|
||||||
case operatingsystem
|
case operatingsystem
|
||||||
|
|
|
@ -8,10 +8,18 @@ describe 'mysql class' do
|
||||||
service_provider = 'undef'
|
service_provider = 'undef'
|
||||||
mycnf = '/etc/my.cnf'
|
mycnf = '/etc/my.cnf'
|
||||||
when 'Suse'
|
when 'Suse'
|
||||||
|
case fact('operatingsystem')
|
||||||
|
when 'OpenSuSE'
|
||||||
package_name = 'mysql-community-server'
|
package_name = 'mysql-community-server'
|
||||||
service_name = 'mysql'
|
service_name = 'mysql'
|
||||||
service_provider = 'undef'
|
service_provider = 'undef'
|
||||||
mycnf = '/etc/my.cnf'
|
mycnf = '/etc/my.cnf'
|
||||||
|
when 'SLES'
|
||||||
|
package_name = 'mysql'
|
||||||
|
service_name = 'mysql'
|
||||||
|
service_provider = 'undef'
|
||||||
|
mycnf = '/etc/my.cnf'
|
||||||
|
end
|
||||||
when 'Debian'
|
when 'Debian'
|
||||||
package_name = 'mysql-server'
|
package_name = 'mysql-server'
|
||||||
service_name = 'mysql'
|
service_name = 'mysql'
|
||||||
|
|
10
spec/acceptance/nodesets/sles-11-x64.yml
Normal file
10
spec/acceptance/nodesets/sles-11-x64.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
HOSTS:
|
||||||
|
sles-11-x64.local:
|
||||||
|
roles:
|
||||||
|
- master
|
||||||
|
platform: sles-11-x64
|
||||||
|
box : sles-11sp1-x64-vbox4210-nocm
|
||||||
|
box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
|
||||||
|
hypervisor : vagrant
|
||||||
|
CONFIG:
|
||||||
|
type: foss
|
Loading…
Reference in a new issue