(FM-4563) fix tmpdir to be shared across examples
This commit is contained in:
parent
d89062faff
commit
95841d3a8c
1 changed files with 5 additions and 3 deletions
|
@ -2,12 +2,14 @@ require 'spec_helper_acceptance'
|
|||
|
||||
describe 'mysql class' do
|
||||
describe 'advanced config' do
|
||||
let(:tmpdir) { default.tmpdir('mysql') }
|
||||
before(:all) do
|
||||
@tmpdir = default.tmpdir('mysql')
|
||||
end
|
||||
let(:pp) do
|
||||
<<-EOS
|
||||
class { 'mysql::server':
|
||||
config_file => '#{tmpdir}/my.cnf',
|
||||
includedir => '#{tmpdir}/include',
|
||||
config_file => '#{@tmpdir}/my.cnf',
|
||||
includedir => '#{@tmpdir}/include',
|
||||
manage_config_file => 'true',
|
||||
override_options => { 'mysqld' => { 'key_buffer_size' => '32M' }},
|
||||
package_ensure => 'present',
|
||||
|
|
Loading…
Reference in a new issue