-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amazon Linux v2 should use the new fcontext filetype format #314
Conversation
Hi @yitsushi, thanks for the PR. Can you take a look at the failing spec tests? Can you add amazon linux to the metadata.json? And it would be really awesome if you could have a look at https://github.com/camptocamp/facterdb and provide amazon fact sets (not required to get this merged, but it would help us alot). |
I will try to check what went wrong with spec-test, but currently on my system:
|
this currently fails because a required change in the facterdb isn't released yet. Please apply the following patch: diff --git a/Gemfile b/Gemfile
index f0381cf..b56cf32 100644
--- a/Gemfile
+++ b/Gemfile
@@ -30,6 +30,9 @@ group :test do
gem 'coveralls', :require => false
gem 'simplecov-console', :require => false
gem 'parallel_tests', :require => false
+ # we require unreleased Fedora 30 fact sets
+ # https://github.com/camptocamp/facterdb/commit/1bc038fd42aac53344ac1ee9c129cbccf5b5c0aa
+ gem 'facterdb', :require => false, :git => 'https://github.com/camptocamp/facterdb.git', :branch => 'master'
end
group :development do |
Thanks for the PR! |
Amazon Linux v2 should use the new fcontext filetype format
Pull Request (PR) description
Amazon Linux v2 is part of the RedHat family, but they started to use their own versioning. Because of that, the originally introduces check for older RHEL distributions thinks Amazon Linux v2 is an older version (
operatingsystemmajrelease == 2
) and tries to useall files
instead ofa
which is not working.This Pull Request (PR) fixes the following issues
n/a