Skip to content
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

Add support for installing pre-compiled policy packages #253

Merged
merged 3 commits into from
Sep 11, 2018

Conversation

oranenj
Copy link
Contributor

@oranenj oranenj commented Mar 19, 2018

This PR adds support for specifying a source for a precompiled policy package in the selinux::module defined type.

Currently mostly untested, but I'm submitting this here for review anyway. I intend to test it later today or tomorrow if I don't have time today.

Copy link
Contributor

@vinzent vinzent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks good to me.

The problem i see with binary policies is that for example a binary policy on compiled on EL6 can't be installed on EL7 and vice versa. Even a EL 7.4 compiled module maybe can't be installed on a EL7.3 system. Also makes it not so easy to create beaker acceptance tests.

@bastelfreak
Copy link
Member

@vinzent should that be added to the README.md?

@bastelfreak
Copy link
Member

@oranenj can you check the rubocop error?

@bastelfreak bastelfreak added enhancement New feature or request tests-fail labels Mar 20, 2018
@oranenj
Copy link
Contributor Author

oranenj commented Mar 23, 2018

I thought I fixed up rubocop errors :| I'm unfortunately a bit busy at the moment, but I'll try to look at this early next week.

@oranenj
Copy link
Contributor Author

oranenj commented Apr 4, 2018

Bleh, I've been way too busy. Just now remembered to run that rubocop. :)

@bastelfreak
Copy link
Member

Thanks @oranenj. Can you take a look at the used email address in your commits? It isn't associated with your github account. Can you add the constraints @vinzent mentioned to the README.md?

@bastelfreak bastelfreak merged commit 26a427b into voxpupuli:master Sep 11, 2018
@oranenj oranenj deleted the policy_pp branch September 12, 2018 15:31
EmRowlands pushed a commit to EmRowlands/puppet-selinux that referenced this pull request Mar 29, 2023
Add support for installing pre-compiled policy packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants