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'
|
||||
when 'Suse'
|
||||
java_package = 'mysql-connector-java'
|
||||
perl_package = 'perl-DBD-MySQL'
|
||||
perl_package = 'perl-DBD-mysql'
|
||||
php_package = 'apache2-mod_php53'
|
||||
python_package = 'python-mysql'
|
||||
case operatingsystem
|
||||
|
|
|
@ -8,10 +8,18 @@ describe 'mysql class' do
|
|||
service_provider = 'undef'
|
||||
mycnf = '/etc/my.cnf'
|
||||
when 'Suse'
|
||||
package_name = 'mysql-community-server'
|
||||
service_name = 'mysql'
|
||||
service_provider = 'undef'
|
||||
mycnf = '/etc/my.cnf'
|
||||
case fact('operatingsystem')
|
||||
when 'OpenSuSE'
|
||||
package_name = 'mysql-community-server'
|
||||
service_name = 'mysql'
|
||||
service_provider = 'undef'
|
||||
mycnf = '/etc/my.cnf'
|
||||
when 'SLES'
|
||||
package_name = 'mysql'
|
||||
service_name = 'mysql'
|
||||
service_provider = 'undef'
|
||||
mycnf = '/etc/my.cnf'
|
||||
end
|
||||
when 'Debian'
|
||||
package_name = 'mysql-server'
|
||||
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