Since the command is sudo, don't run with sudo.
Changing to sudo(command, user='postgres') does not work as the directory change is run in the sudo which fails.
run('sudo -u postgres %s' % command) results in cd /var/lib/postgresql && sudo -u postgres COMMAND
sudo(command, user='postgres') results in sudo -u postgres cd /var/lib/postgresql && COMMAND
The use case is a sudoer given NOPASSWD for postgres running psql.
Use ``~postgres`` instead of static home dir.
Check for available locales with ``locale -a`` before requiring.
Support checkout of tags.
Add a note about tag support to docstring.  [ci skip]
Remove mock.patch for no longer existing import.  This should fix the failing test.
Adjust test to match new code.
adapt system.get_hostname for Archlinux
adapt nodejs.py for archlinux
adapt require.service and require.supervisor for Archlinux
more portably solution for node and npm calls
remove mistake (sorry)
service.is_running

service.is_running doesn't play well with upstart services as the
`service` command returns successfully no mater if the service is
running or not. This updates service.is_running to determine whether the
service is an upstart service or not by testing for the presence of an
upstart config at /etc/init/<service>.conf. If one exists it checks the
output of the status command for the word 'running', otherwise, it
returns whether the call to status succeeded or not.
implementation of periodic_update_index()
adding tomcat installation
improved doc
pep8 compiliance, docs, tomcat6 support
Add modules management for apache
Fix argument name
added confirmation option for 12.04+, added option for keyserver, fix ppa normalization for lucid and precise