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

Template users_groups.erb is broken #212

Closed gvdijnsen closed 4 years ago

gvdijnsen commented 6 years ago

While adding groups, an extraneous '%' is added at the begin of the line. Leading to something like:

%%mygroup

This does not work. This should be the result:

%mygroup

On line 8 of the template, removing the first % sign fixes the problem

saz commented 6 years ago

Which puppet version and Ruby version are you running?

Because of https://github.com/saz/puppet-sudo/commit/6dc14b90649bf03cfb02f19e494a5c8263624fe4 the second percentage sign was added.

gvdijnsen commented 6 years ago

We are running: ruby 2.3.1p112 puppet 4.10.9

saz commented 4 years ago

This issue has been resolved in the current master