python-provy/provy — pull request #91 by jbzdak (2013-01-25 15:06:58+00:00)
Title: New roles and some cleanup of postgres role

New roles for
===========

1. Installation of chrome browser, Virtualbox (from appropriate repositories)
2. Installation of Oracle java using locally downloaded tar.gz file containing jdk
3. Hook into alternatives system (used by oracle java installation)
4. Role for uploading sudoers file (that also checks it's format before changing the sudo file)
5. Role for installing motd
6. Versioned role --- that enables one to have evolving setup of target servers, probably makes no sense for webserwer, but for one of my usages it is important.

Changed roles
============

1. Rewrote most part of BasePostgres role, so it uses only psql command and psql scripts. At some point I'll rewrite rest of it, so for example ensure_user will execute single psql command.
2. Added some stuff to base.Role, like creating temp files with random names.
3. Added context manager for Aptitude role that temporalily disables provisioning for aptitude role.