voxpupuli / puppet-selinux

Puppet Module to manage SELinux on RHEL machines
https://forge.puppet.com/puppet/selinux
Apache License 2.0
48 stars 148 forks source link

"Could not find a suitable provider for selinux_port" on Fedora 28 #254

Closed vinzent closed 5 years ago

vinzent commented 6 years ago

Affected Puppet, Ruby, OS and module versions/distributions

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

Run the acceptance tests on Fedora 28

What are you seeing

...
Error: Could not find a suitable provider for selinux_port
...

What behaviour did you expect instead

Output log

  Info: Loading facts
  Info: Loading facts
  Notice: Compiled catalog for fedora-28-x64.home in environment production in 0.26 seconds
  Info: Applying configuration version '1526718845'
  Notice: /Stage[main]/Selinux/Anchor[selinux::end]: Dependency Selinux_port[tcp_55555-55555] has failures: true
  Warning: /Stage[main]/Selinux/Anchor[selinux::end]: Skipping because of failed dependencies
  Notice: /Stage[main]/Main/File[/tmp/test_selinux_fcontext]: Dependency Selinux_port[tcp_55555-55555] has failures: true
  Warning: /Stage[main]/Main/File[/tmp/test_selinux_fcontext]: Skipping because of failed dependencies
  Error: Could not find a suitable provider for selinux_port
  Notice: Applied catalog in 2.05 seconds

Any additional information you'd like to impart

fact selinux_semanage_is_python3 checks for libsemanage-python3 which seems to be named python3-libsemanage now

ehelms commented 5 years ago

This is fixed by -- https://github.com/voxpupuli/puppet-selinux/pull/287