saz / puppet-sudo

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

incorrect use of 'define' in conf.pp #206

Closed ponaboy closed 6 years ago

ponaboy commented 6 years ago

importing this module into Foreman fails to pull in the sudo::conf class. line 40 of 'conf.pp' start with the directive define() instead of class().

not sure if this is a typo or intentional. swapping out directives resolves the issue.

saz commented 6 years ago

This is no mistake at all, as this needs to be a defined type: https://puppet.com/docs/puppet/4.10/lang_defined_types.html