Actions
Bug #12657
closedpuppet-foreman uses deprecated fact $::selinux
Description
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, str2bool(): Unknown type of boolean given at foreman/manifests/install.pp:37:30 on node foreman.localdomain
While attempting to discover the root cause of this error I determined that Puppet was returning "permissive" instead of a boolean for $::selinux. It's unclear to me exactly why this is happening, it however did lead me to discover that $::selinux has be deprecated and replaced by $::selinux_enforced
https://docs.puppetlabs.com/facter/3.1/core_facts.html#selinux
Updated by Brandon Weeks over 8 years ago
- Assignee set to Brandon Weeks
- Pull request https://github.com/theforeman/puppet-foreman/pull/378 added
For what it's worth, it fixed our issue. Still no idea what the root cause was.
Updated by Brandon Weeks over 8 years ago
- Status changed from New to Rejected
closing as invalid based on discussion on the PR.
Updated by Alex Fisher almost 8 years ago
- Related to Bug #15500: theforeman/foreman puppet module fails because selinux fact isn't always a boolean added
Actions