Skip to content
puppet sudo module
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
manifests
spec
templates
.gitignore
CHANGELOG
LICENSE
Modulefile
README.markdown

README.markdown

sudo Module

This module provides mechanisms to manage your sudoers entries

Examples


  sudo::alias { 'webmaster commands':
    type   => 'cmnd',
    value  => [ '/sbin/service httpd *', '/sbin/service nginx *' ],
    name   => 'CMD_WEBMASTER',
    target => 'standard',
  }

  sudo::alias { 'su to erp user':
    type   => 'cmnd',
    value  => '/usr/bin/sudo su - app_erp,/usr/bin/sudo su -l',
    name   => 'CMD_SU_APP_ERP',
    target => 'app_erp',
  }

  sudo::entry { 'webmaster access':
    cmnd     => 'CMD_WEBMASTER',
    user     => '%webmaster',
    target   => 'standard',
  }

  sudo::entry { 'erp acces':
    cmnd     => 'CMD_SU_APP_ERP',
    user     => '%erp_admins,
    target   => 'app_erp',
    nopasswd => true,
  }

License

See LICENSE file

Copyright

Copyright © 2014 The Regents of the University of California

Contact

Aaron Russo arusso@berkeley.edu

Support

Please log tickets and issues at the Projects site

You can’t perform that action at this time.