Skip to content

Commit

Permalink
AIO uses puppet 4 so should return true for is_future_parser_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Jun 19, 2015
1 parent ff81517 commit 5381dbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
end

def is_future_parser_enabled?
if default[:default_apply_opts]
if default[:type] == 'aio'
return true
elsif default[:default_apply_opts]
return default[:default_apply_opts][:parser] == 'future'
end
return false
Expand Down

0 comments on commit 5381dbd

Please sign in to comment.