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

Unable to manage ports on RHEL/CentOS 8 #316

Closed
blackknight36 opened this issue Mar 3, 2020 · 2 comments
Closed

Unable to manage ports on RHEL/CentOS 8 #316

blackknight36 opened this issue Mar 3, 2020 · 2 comments

Comments

@blackknight36
Copy link
Contributor

This module throws an error on hosts running RedHat or CentOS 8 when attempting to manage selinux ports. An error is returned as follows.

Error: Could not find a suitable provider for selinux_port

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.13.0
  • Ruby: 2.5.5p157
  • Distribution: CentOS 8.1.1911
  • Module version: 3.1.1-rc0 (master branch)

How to reproduce (e.g Puppet code you use)

This error occurs using an selinux::port resource. For example:

selinux::port { 'ssh_port':
            ensure   => 'present',
            seltype  => 'ssh_port_t',
            protocol => 'tcp',
            port     => 22,
     }
@blackknight36
Copy link
Contributor Author

Not sure if this is related to #311

@blackknight36
Copy link
Contributor Author

It appears that this is no longer an issue. I was able to create an selinux::port resource on a node running CentOS 8 with puppet-agent 6.15.0 without any errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant