Merge pull request #477 from mhaskel/aio_fix

AIO uses puppet 4 so should return true for is_future_parser_enabled
This commit is contained in:
Travis Fields 2015-06-19 14:48:16 -07:00
commit 67bc57bcb6

View file

@ -43,7 +43,9 @@ RSpec.configure do |c|
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