We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecff1f3 + 95841d3 commit bc1c44aCopy full SHA for bc1c44a
spec/acceptance/mysql_server_spec.rb
@@ -2,12 +2,14 @@
2
3
describe 'mysql class' do
4
describe 'advanced config' do
5
- let(:tmpdir) { default.tmpdir('mysql') }
+ before(:all) do
6
+ @tmpdir = default.tmpdir('mysql')
7
+ end
8
let(:pp) do
9
<<-EOS
10
class { 'mysql::server':
- config_file => '#{tmpdir}/my.cnf',
- includedir => '#{tmpdir}/include',
11
+ config_file => '#{@tmpdir}/my.cnf',
12
+ includedir => '#{@tmpdir}/include',
13
manage_config_file => 'true',
14
override_options => { 'mysqld' => { 'key_buffer_size' => '32M' }},
15
package_ensure => 'present',
0 commit comments