saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs
Other
105 stars 215 forks source link

fix params case statements for puppet4; make actual regexes, and case-insensitive #140

Closed jantman closed 8 years ago

jantman commented 8 years ago

This module fails on Arch Linux with puppet 4.2.1 as the behavior of case statements has changed. Explicitly specifying the branches in params.pp as case-insensitive regexes should fix this on all OSes.

jantman commented 8 years ago

Sorry, I believe this was in error - I defined $::osfamily in my rspec tests, but not $::operatingsystem.