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

v0.3.0 & 2.1.0: [RHEL 7.3] fails on create config file #54

Closed KoffieNu closed 6 years ago

KoffieNu commented 6 years ago

When module is used on a system without sssd installed, it tries to create config before installing sssd (and failing, as /etc/sssd dir is absent)

Error: /Stage[main]/Sssd::Config/File[sssd.conf]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir

Work-around: create dir /etc/sssd or ensure it's existance in another, earlier used, module. Fix would be not to create config when package isn't installed or create dir as well.

(tested on 0.3.0 and 2.1.0 version of module)

ghoneycutt commented 6 years ago

@KoffieNu is this still the case using the latest (2.2.1) version of this module?

ghoneycutt commented 6 years ago

In our current version the package comes before the sssd.conf file, so this should no longer be an issue. Please re-open if it is and we'll be happy to help!