No description, website, or topics provided.
Ruby Puppet HTML
Latest commit a797fe2 Mar 31, 2017 @mcanevet mcanevet Lint with puppet-lint
Permalink
Failed to load latest commit information.
manifests
spec
templates
.fixtures.yml
.gitignore
.puppet-lint.rc
.travis.yml
Gemfile
README.rst
Rakefile
metadata.json

README.rst

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/