Commit Graph

212 Commits

Author SHA1 Message Date
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
Bill Nottingham db939bc8ee Add Tower license list. 2015-07-10 12:16:45 -04:00
Bill Nottingham b82c0c332e Add license auditing python. 2015-07-10 12:16:35 -04:00
Chris Meyers 26f5122179 expose ssh via 2222 2015-06-12 11:46:29 -04:00
Chris Meyers 7ba6445898 added ssh to docker env 2015-06-12 11:39:30 -04:00
John Mitchell 32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones 848bff4220 Add munin monitors for mongo 2015-06-08 16:23:37 -04:00
Chris Meyers c7dfb4dd84 executable dev file 2015-06-05 11:32:29 -04:00
Matthew Jones a8d75783a3 Some launch changes and configuration changes to the Dockerfile 2015-06-05 11:18:27 -04:00
Matthew Jones 4d2fba15ab Some minor fixes for the dockerfile container image build process 2015-06-05 11:12:23 -04:00
chris meyers 7759288a0f cleanly shutdown postgres before exiting the container 2015-06-03 14:41:02 -04:00
Chris Meyers 86a16d27ea Merge pull request #257 from chrismeyersfsu/docker
Docker
2015-06-02 10:19:30 -04:00
Chris Meyers 5ebf0851fe -P picks random ports, we wan't specific ports 2015-06-02 10:19:05 -04:00
Chris Meyers 7197a1fb13 how to build and run a tower dev docker image 2015-06-02 09:57:06 -04:00
Chris Meyers 814a4e1afb fix mongo 2015-06-02 09:47:14 -04:00
Joe Fiorini fdb8fdf24a Uncomment mongo from startup script
I will add this to the dockerfile once this release is done.
2015-06-01 14:52:55 -04:00
Matthew Jones fdaf9bcd52 Add psutil to the package deps for the dockerfile 2015-05-26 09:59:53 -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
James Laska 7064c9bed4 Additional flake8 cleanup
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
2015-05-20 20:33:22 -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
Joe Fiorini 581cff1a6f Add helpful startup script for docker container
Not actually adding this to the container yet. Want to make sure
@matburt is okay with that first.
2015-05-11 12:57:57 -04:00
Matthew Jones cdf6905bca Update Tools Dockerfile to install and configure the mongodb dependencies 2015-05-05 16:52:42 -04:00
Matthew Jones c45a422590 Update "make server" endpoint and Makefile to include the new fact cache
receiver. Upgrade docker tool to install mongo and pymongo
2015-04-23 13:34:56 -04:00
Matthew Jones c1dc55fceb Merging chrismeyers's openstack work branch changes to the core
openstack module.  Adding python-netifaces dependency for setup packaging
2015-04-13 11:47:18 -04:00
Bill Nottingham 24e75e37e9 Get pip package list in sosreport. 2015-03-31 11:45:11 -04:00
Matthew Jones e4e07277cc Initial docker packaging experiments 2015-03-23 12:11:10 -04:00
Joe Fiorini aff32faf8b Update Dockerfile to get node from ppa 2015-02-09 12:02:52 -05:00
Matthew Jones d70d5a5c99 Update Dockerfile to properly set shell encoding 2015-01-09 10:58:44 -05:00
Jared Tabor be2f2596f3 Made delete prompts use the same styling
made the delete prompts more uniform
2014-12-17 17:49:45 -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 d1c7ded068 Update munin to Redis 2014-11-11 14:21:13 -06:00
Luke Sneeringer 4eb1eb8036 Remove RabbitMQ. 2014-10-27 11:43:37 -05:00
Luke Sneeringer fa02d11d30 Final renames from /etc/awx/ and /var/log/awx/ 2014-08-25 13:25:53 -04:00
James Martin c33ab099ff Adding missing dirs. https://trello.com/c/dDNkEHRM 2014-08-22 21:47:30 -04:00
Matthew Jones d29a82bcaa Change the rabbit process count query for munin graphs... sometimes
there isn't a rabbitmq-server process
2014-08-14 15:52:25 -04:00
James Laska c45147e35f sosreport plugin docs recommend add_cmd_output 2014-08-14 13:45:49 -04:00
James Laska 8fcc7bb71b Account for sosreport-3.0 plugin format 2014-08-14 13:41:43 -04:00
James Laska 3f2d7df408 Use distutils.version instead of pkg_resources 2014-08-14 09:18:18 -04:00
James Laska 65d82fca15 Combine sosreport plugins into a single plugin 2014-08-13 11:09:43 -04:00
Matthew Jones f0b1546653 Add sosreport support to Tower 2014-08-11 15:09:30 -04:00
Matthew Jones 1fa2d35977 Don't provide any dependencies from the tower init script 2014-08-07 12:46:36 -04:00
Matthew Jones 3e7ee988a2 Fix munin graphs to use the right graph type 2014-08-05 14:59:53 -04:00