All Projects → camptocamp → puppet-sudo

camptocamp / puppet-sudo

Licence: other
No description, website, or topics provided.

Programming Languages

ruby
36898 projects - #4 most used programming language
Puppet
460 projects

Sudo Puppet module

The definition sudo::directive provides a simple way to write sudo configurations parts.

Use

`directive`s are blocks of literal text as you would write to sudoers.

If you have a class of users named users::virtual and a virtual Group named admin:

class example {
  include sudo
  include users::virtual

  realize(Group['admin'])

  sudo::directive {'admin_users':
    ensure  => present,
    content => "%admin ALL=(ALL) ALL",
    require => Group['admin'],
  }
}

About

This module is provided to you by Camptocamp.

For more information about sudo see http://www.gratisoft.us/sudo/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].