diff options
author | Travis Fields <cyberious@users.noreply.github.com> | 2015-06-19 14:48:16 -0700 |
---|---|---|
committer | Travis Fields <cyberious@users.noreply.github.com> | 2015-06-19 14:48:16 -0700 |
commit | 67bc57bcb6b45bd24ef90f7902dc40558c1bc407 (patch) | |
tree | 717b5115bc78a5aa2a1d056c0284896245ddc283 /spec | |
parent | ff81517e1c957c59205a4d44659a76ee68c15a2f (diff) | |
parent | 5381dbd4b464e743bed36f6b653bddc4df688dde (diff) | |
download | puppet-stdlib-67bc57bcb6b45bd24ef90f7902dc40558c1bc407.tar.gz puppet-stdlib-67bc57bcb6b45bd24ef90f7902dc40558c1bc407.tar.bz2 |
Merge pull request #477 from mhaskel/aio_fix
AIO uses puppet 4 so should return true for is_future_parser_enabled
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/spec_helper_acceptance.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 3d9574b..39d2d52 100755 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -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 |