diff --git a/spec/acceptance/mysql_bindings_spec.rb b/spec/acceptance/mysql_bindings_spec.rb index e93b039..b0f7110 100644 --- a/spec/acceptance/mysql_bindings_spec.rb +++ b/spec/acceptance/mysql_bindings_spec.rb @@ -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 diff --git a/spec/acceptance/mysql_server_spec.rb b/spec/acceptance/mysql_server_spec.rb index ad1ea32..a221258 100644 --- a/spec/acceptance/mysql_server_spec.rb +++ b/spec/acceptance/mysql_server_spec.rb @@ -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' diff --git a/spec/acceptance/nodesets/sles-11-x64.yml b/spec/acceptance/nodesets/sles-11-x64.yml new file mode 100644 index 0000000..41abe21 --- /dev/null +++ b/spec/acceptance/nodesets/sles-11-x64.yml @@ -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