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.
Update changelog
Update version to 0.17.0-dev
Update files.upload_template to match Fabric parameters
Merge pull request #106 from iiie/master

Fix run as postgres
Update changelog
Merge branch 'feature/fix_postgres' of git://github.com/disko/fabtools into disko-feature/fix_postgres

Conflicts:
	fabtools/postgres.py
Update changelog