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

How do I configure sudo rules in /etc/sudoers instead of sudoers.d #169

Closed qafro1 closed 7 years ago

qafro1 commented 7 years ago

Please I want all of the sudoers config to go into the /etc/sudoers file and not /etc/sudoers.d using this module.

Any ideas?

saz commented 7 years ago

It's not possible with my module.

Sent using Boxer

On 7 Dec 2016 10:11 AM, qafro1 notifications@github.com wrote:

Please I want all of the sudoers config to go into the /etc/sudoers file and not /etc/sudoers.d using this module.

Any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

felipe1982 commented 7 years ago

would creating a template help? I'm only just beginning to use this module..... sorry.

qafro1 commented 7 years ago

How would one create a template for it?

saz commented 7 years ago

It's not possible at all to get the configuration inside the sudoers file. This module is not designed in this way. It's designed to split the configuration into multiple files in /etc/sudoers.d

What's the reason for your requirement?

felipe1982 commented 7 years ago

You might check out justinclayton-sudo