Skip to content

Commit

Permalink
Merge pull request #346 from mhaskel/aio_fix
Browse files Browse the repository at this point in the history
Default test vardir to the aio paths for *nix systems
  • Loading branch information
hunner committed Jun 22, 2015
2 parents 8618076 + f654561 commit b36f071
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/acceptance/concat_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
groupname = 'system'
scriptname = 'concatfragments.rb'
vardir = default['puppetvardir']
if vardir == ''
vardir = '/opt/puppetlabs/puppet/cache'
end
when 'Darwin'
username = 'root'
groupname = 'wheel'
scriptname = 'concatfragments.rb'
vardir = default['puppetvardir']
if vardir == ''
vardir = '/opt/puppetlabs/puppet/cache'
end
when 'windows'
username = 'Administrator'
groupname = 'Administrators'
Expand All @@ -22,11 +28,17 @@
groupname = 'root'
scriptname = 'concatfragments.rb'
vardir = default['puppetvardir']
if vardir == ''
vardir = '/opt/puppetlabs/puppet/cache'
end
else
username = 'root'
groupname = 'root'
scriptname = 'concatfragments.rb'
vardir = default['puppetvardir']
if vardir == ''
vardir = '/opt/puppetlabs/puppet/cache'
end
end

describe 'basic concat test' do
Expand Down

0 comments on commit b36f071

Please sign in to comment.