sgnl05 / sgnl05-sssd

Puppet module for SSSD
https://forge.puppet.com/sgnl05/sssd
GNU General Public License v3.0
17 stars 76 forks source link

Module does not work on OracleLinux #50

Closed tomnowak closed 6 years ago

tomnowak commented 6 years ago

I get the following error when running on OracleLinux:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, operatingsystem is which is not supported at /etc/puppetlabs/code/environments/production/modules/sssd/manifests/params.pp:43:11

as the params.pp have missing OracleLinux part:

$ diff params.pp.orig params.pp 45c45 < 'RedHat', 'CentOS': {

    'RedHat', 'CentOS', 'OracleLinux': {

Regards, Tomasz

ghoneycutt commented 6 years ago

The case statement for EL should be redone to not use $operatingsystem.

case $osfamily {
  case $::operatingsystemmajrelease {
    '5','6','7': {
      # set values for EL 5 - 7
    }
    '25','26': {
      # set values for Fedora 25 and 26
    }
  }
}
sgnl05 commented 6 years ago

Will be fixed in next release. Thanks @ghoneycutt !