Skip to content

Commit

Permalink
Merge pull request puppetlabs#794 from DavidS/fm-4563-share-tmpdir
Browse files Browse the repository at this point in the history
(FM-4563) fix tmpdir to be shared across examples
  • Loading branch information
tphoney committed Jan 19, 2016
2 parents ecff1f3 + 95841d3 commit bc1c44a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/acceptance/mysql_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

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',
Expand Down

0 comments on commit bc1c44a

Please sign in to comment.