Commit Graph

112 Commits

Author SHA1 Message Date
Bill Nottingham e651027294 Fixup request_tower_configuration.sh
Drop retry-related commandline argument, since we don't use that any more.

Ensure -e is allowed.
2017-02-03 13:34:42 -05:00
sundeep-co-in 5af2f51bd9 add lang option in push/pull 2017-02-01 22:04:08 +05:30
Shane McDonald 1cac3abc9f Whitespace fix in translation 2017-01-23 14:50:35 -05:00
Shane McDonald b60b4b2bc1 Generate .mo files without django, enable API l10n at build time. 2017-01-23 12:25:56 -05:00
sundeep-co-in 03c774e968 update zanata config 2017-01-20 18:10:43 +05:30
James Laska 7bb2021337 Fixed typo in -h output 2016-12-19 11:58:28 -05:00
James Laska e27c117256 Rewrite request_tower_configuration.sh
Adds proper getopts support and usage. Remove the retry logic, since it
would *never* retry given existing conditional checks.

Connect #3923
2016-12-19 11:46:40 -05:00
Matthew Jones a25853a3a5 Updating translation artifacts
* also installing translation tools into dev environment
* Removing fedora install instructions, no one here uses fedora
2016-12-14 15:58:47 -05:00
sundeep-co-in cd5301bf49 add django.pot 2016-12-02 14:02:13 +05:30
Matthew Jones 88a8810815 Merge pull request #3729 from sundeep-co-in/STAGE
enable django i18n
2016-11-04 15:52:33 -04:00
Matthew Jones e01c86e88f Fix missing import for failure signal handler 2016-11-03 09:43:18 -04:00
Matthew Jones 4cb2e5aa02 Add failure event handler for supervisor process 2016-11-02 13:44:01 -04:00
sundeep-co-in d65e121b19 flake8 compliance 2016-10-28 14:07:08 +05:30
sundeep-co-in 2ddcffc184 zanata config loc 2016-10-27 22:26:39 +05:30
sundeep-co-in c1a5fb3312 resolve conflict 2016-10-27 08:13:02 +05:30
sundeep-co-in be93cb488c django-i18n: small fix 2016-10-26 23:31:12 +05:30
sundeep-co-in 3bf72f1dba add manage_translations 2016-10-26 16:47:49 +05:30
Graham Mainwaring b143f53888 Fix RPM builds and setup for 3.1 2016-10-24 14:51:53 -04:00
AlanCoding ba101573d6 interpret any code below 300 as success 2016-08-12 11:25:16 -04:00
AlanCoding efb66cad20 bail when status code is over 300 2016-08-12 07:31:01 -04:00
Alan Rominger c1e340fbd6 allow for 201 status_code from callback 2016-08-09 14:56:19 -04:00
Chris Meyers f9d0c74bbc fix supervisord issue
* exec spawned python process so we don't have grandparents
* increase time until supervisord is killed
2016-05-13 15:41:46 -04:00
Graham Mainwaring a6acb5181a Merge pull request #1417 from ansible/python27_el6
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -04:00
James Laska e1ee5d396d Don't manage mongo in ansible-tower-service script
Connect #1290
2016-03-30 09:10:17 -04:00
Graham Mainwaring 1427fee442 Add script wrapper to establish Tower SCL and venv before running Python 2016-03-21 12:11:19 -04:00
Bill Nottingham 1bd6ffa3c9 Add PowerShell version of request_tower_configuration. From @nitzmahone. 2015-11-05 10:15:37 -05:00
James Laska 9d5d17fa70 Handle rpm --addsign pasphrase prompts 2015-09-09 18:51:41 -04:00
James Laska 87d8808c2d Fix expect script timeout 2015-09-09 13:07:09 -04:00
James Laska b7ddbc48b1 Disable timeout and correct sign.exp error 2015-09-09 12:13:55 -04:00
James Laska 06e6980eaf Fix expect script hang 2015-09-09 11:18:06 -04:00
James Laska 3a914619ce Improvements to the package signing script 2015-09-09 11:01:44 -04:00
James Laska 1b6b622d70 Ignore case to handle multiple prompts
Handles the multiple prompts from debuild and reprepro, each with different
cases.
2015-09-08 22:00:27 -04:00
James Laska c02d993e73 Return exit code from spawned process 2015-09-08 15:43:04 -04:00
James Laska 3210b8c0dc Add helper script to sign using expect 2015-09-07 20:37:20 -04:00
James Laska 316d0c0f77 Continue, don't break out of the iteration 2015-07-14 14:53:57 -04:00
James Laska bca8bae508 Only check if mongo is needed locally 2015-07-14 12:10:01 -04:00
James Laska 81c4abfed8 Correct initscript order and mongod detection
In addition to starting and stopping mongod in the correct order, the check for
determining whether mongod is required needs to happen when the service is
managed.
2015-07-14 11:14:13 -04:00
Matthew Jones 7fd4613523 Remove uses_mongo redirection from service script 2015-07-13 15:44:58 -04:00
Matthew Jones 9a4b19bd11 Update start/stop service script ordering
Mongo needs to be last when starting and first when stopping if enabled
2015-07-13 14:05:22 -04:00
Matthew Jones eb42214d90 Fix an issue with centos 7 after adding mongo as a service dependency
* Move the ansible-tower service script to a normal bin utility
* Modify the playbook to not call the old meta init script but to use
      the specific services that are needed
2015-05-22 10:15:16 -04:00
Luke Sneeringer 56f06033ae Merge pull request #212 from ansible/mongodb-unstable
MongoDB installation as part of Tower.
2015-05-19 12:48:31 -04:00
Matthew Jones e4936e4b80 Fix supervisor restart behavior for ubuntu, and adjust timeouts *way*
down on when supervisor can harikiri it's child processes
2015-05-18 12:06:29 -04:00
Luke Sneeringer bd5d3778f6 MongoDB installation as part of Tower. 2015-05-14 11:33:02 -05:00
Chris Church 02f9f68536 Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z 2014-12-03 00:26:25 -05:00
James Laska d47d2f5700 Add ansible-tower.{default,sysconfig} script
The 'ansible-tower' service script now comes with an additional file:

    /etc/{default,sysconfig}/ansible-tower

This file is used to specify the services managed by the 'ansible-tower'
service script.  The presence of this file allows admins (or the setup
playbook) to customize the services managed.  For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
2014-11-25 09:22:02 -05:00
James Laska 955af6aa85 Add support for customizing managed tower services
Allows for overriding the services managed by the ansible-tower
initscript.
2014-11-24 16:28:13 -05:00
James Laska c7079cf338 Wait when stopping supervisor
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).

Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -05:00
James Laska b8f96d3037 Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.

Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
Luke Sneeringer 4eb1eb8036 Remove RabbitMQ. 2014-10-27 11:43:37 -05:00
Matthew Jones 1fa2d35977 Don't provide any dependencies from the tower init script 2014-08-07 12:46:36 -04:00