Commit Graph

171 Commits (1a8bbcf14674c3c0efb49e0d276233b2dfa33bd9)

Author SHA1 Message Date
James Cammarata 5efeeb156b Correctly default crypt_scheme in htpasswd 2016-12-08 11:23:20 -05:00
Chris Faulkner 18b157fbac Report change status on django_manage collectstatic. 2016-12-08 11:23:20 -05:00
Roetman, Victor fa612a14b1 apache2_module documetation update
requires a2enmod and a2dismod
2016-12-08 11:23:14 -05:00
Lucas David Traverso 20aa4c0cea django_manage: Use shebang in manage.py instead of hardcode python 2016-12-08 11:23:13 -05:00
Tagir Bakirov 8bd367eac7 added 'absent' option to supervisorctl 2016-12-08 11:23:13 -05:00
Igor Khomyakov 03483d2ea5 Check if a service exists 2016-12-08 11:23:13 -05:00
Chris Church 3048626d6e Update docs, add example of using django_manage to run other commands. 2016-12-08 11:23:13 -05:00
Alex King c8ae53b308 Extend hashes that can be specified by crypt_scheme beyond those understood by Apache/Nginx. 2016-12-08 11:23:12 -05:00
Lorin Hochstein abf314c258 django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example:

app_path=~/myproject
2016-12-08 11:23:11 -05:00
Toshio Kuratomi cb776e6190 Fix for when the password file did not exist previously 2016-12-08 11:23:11 -05:00
Jonathan Mainguy c9d1cc0ce3 remove blank lines from htpasswd file
used standard mktemp()
2016-12-08 11:23:10 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
Kamil Madac 1ae799f361 Better error handling in supervisorctl module.
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
2016-12-08 11:23:07 -05:00
Florian Apolloner a925a075a6 Added os.path.expanduser to app_path in django_manage 2016-12-08 11:22:51 -05:00
Brendan Jurd fdc52b8277 Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod,
to avoid a false positive for a module that ends with the same text as the
module we're working on.

For example, the previous regexp r'.*spam already enabled' would also match
against 'eggs_spam already enabled'.

Also, get rid of the redundant '.*' from the end of the regexp.
2016-12-08 11:22:42 -05:00
Toshio Kuratomi 44354e31e4 Better error messages if a2enmod/a2dismod are not found 2016-12-08 11:22:38 -05:00
Peter Bwire 20eb900065 Update django_manage to add database option for migrate
Allow passing the database option to the django_manage module for migrations. This is usefull in situations where multiple databases are used by a django application.
2016-12-08 11:22:31 -05:00
Tomasz Kontusz 103b5954c7 supervisorctl: Don't try to start a starting program
Starting a "STARTING" program throws ERROR (already started),
so don't do that.
2016-12-08 11:22:31 -05:00
Michael DeHaan ef2a2b9093 package files 2016-12-08 11:22:22 -05:00
Michael DeHaan 213e518165 file extensions! 2016-12-08 11:22:22 -05:00
Michael DeHaan c7eec45b73 Restructuring. 2016-12-08 11:22:22 -05:00