Project

General

Profile

Actions

Bug #12657

closed

puppet-foreman uses deprecated fact $::selinux

Added by Brandon Weeks over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Installer - Bug #15500: theforeman/foreman puppet module fails because selinux fact isn't always a booleanRejected06/22/2016Actions
Actions #1

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.

Actions #2

Updated by Brandon Weeks over 8 years ago

  • Status changed from New to Rejected

closing as invalid based on discussion on the PR.

Actions #3

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

Also available in: Atom PDF