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

hiera.yaml: add yaml extension for file lookup #65

Closed jstrong closed 6 years ago

jstrong commented 6 years ago

Before this commit hiera lookups for values within this module are failing. This is because the file paths in the hiera.yaml file do not specify the .yaml extension.

Snippet from puppet lookup --debug --node <node> sssd::extra_packages...

    Module "sssd" Data Provider (hiera configuration version 5)
      Using configuration "/etc/puppetlabs/code/environments/production/modules/sssd/hiera.yaml"
      Hierarchy entry "osfamily/major_release"
        Path "/etc/puppetlabs/code/environments/production/modules/sssd/data/os/RedHat/6"
          Original path: "os/%{facts.os.family}/%{facts.os.release.major}"
          Path not found
      Hierarchy entry "osfamily"
        Path "/etc/puppetlabs/code/environments/production/modules/sssd/data/osfamily/RedHat"
          Original path: "osfamily/%{facts.os.family}"
          Path not found

I only found this because the $extra_packages were not installing for me after upgrading my module from 2.0.0 to 2.4.0.

ghoneycutt commented 6 years ago

Thanks @jstrong !!

ghoneycutt commented 6 years ago

Released in 2.4.1