AIO uses puppet 4 so should return true for is_future_parser_enabled

This commit is contained in:
Morgan Haskel 2015-06-19 14:29:42 -07:00
parent ff81517e1c
commit 5381dbd4b4

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