AIO uses puppet 4 so should return true for is_future_parser_enabled
This commit is contained in:
parent
ff81517e1c
commit
5381dbd4b4
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ RSpec.configure do |c|
|
||||||
end
|
end
|
||||||
|
|
||||||
def is_future_parser_enabled?
|
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'
|
return default[:default_apply_opts][:parser] == 'future'
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue