diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 375767a0..35ff9d8a 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -18,7 +18,7 @@ pcs_version = '0.10.0' when 'Ubuntu' default_provider = 'pcs' - pcs_version = if facts[:os]['release']['major'].to_i > 18 + pcs_version = if fact_on(host,'os.release.major').to_i > 18 '0.10.0' else '0.9.0'