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

Fixed error when including module on debian sid. #138

Closed StefPac closed 8 years ago

StefPac commented 8 years ago

When using the module on Debian unstable, puppet fails with this error "right operand of + is not a number at sudo/manifests/params.pp:13", because $::operatingsystemmajrelease is the string stretch/sid, rather than a number.

The change makes the module correctly recognize current and future Debian unstable distributions.

Fixes #137