Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 manifests
Octocat-spinner-32 spec
Octocat-spinner-32 templates
Octocat-spinner-32 tests
Octocat-spinner-32 .project
Octocat-spinner-32 Modulefile
Octocat-spinner-32 README
Octocat-spinner-32 README.rst
Octocat-spinner-32 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 {
  includo 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/

Something went wrong with that request. Please try again.