Matthew Jones
57778eb429
mock stdout unit test patch failure fix
...
Adjust some mock.patch behavior to match the new stdout behavior where
we need to check a file's size as well as its existence
2015-08-05 21:55:02 -04:00
Matthew Jones
b1c12ca120
Fix empty standard out behavior
...
Previously we could just check for the absence of the stdout file to
know we didn't yet/wouldn't ever have any stdout content. Now that we
are creating the stdout file ahead of time and persisting it we need to
also check to see if the file contains any data. This is also
necessary for some unit tests.
2015-08-05 21:54:23 -04:00
Matthew Jones
dc0d732ad4
Fix merge issues on stdout branch
...
The act of committing a PR that including part of these changes and then
reverting it meant that some of the changes from the original branch
didn't land in this new PR. This commit adds the missing bits.
Lesson learned: Create a new branch when submitting a PR on a
previously reverted PR
2015-08-05 21:53:46 -04:00
Matthew Jones
c0ea174e93
Rework stdout display for file storage only
...
* Cleanup old code related to stdout download using temporary files
* Remove copy-into-database code
* Modify stdout download code to reference stdout file
2015-08-05 21:52:47 -04:00
Chris Meyers
408e25442d
flake8 fixes
2015-07-15 12:18:46 -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
Joe Fiorini
4183f5acdc
Remove accidental import from directive
2015-07-10 13:01:47 -04:00
Sandra Wills
621ec32525
Merge pull request #309 from wenottingham/license-branch
...
This adds some code to look through our vendored directories and generate a license report.
2015-07-10 12:36:30 -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
Bill Nottingham
89bb4aa3fc
Merge pull request #308 from wenottingham/vendor-branch
...
Fix up vendored package README
2015-07-10 11:28:37 -04:00
Joe Fiorini
c52ec1197b
[system_tracking] Remove truncation of fact values
...
This is a temporary fix until we can get a permanent fix to the
performance issues we have with rendering this much data to the DOM. For
more info see my comment on https://trello.com/c/QrbeaZfK .
2015-07-10 11:22:40 -04:00
Bill Nottingham
1d951fa9cc
Further normalization of names.
2015-07-10 01:25:26 -04:00
Bill Nottingham
afbbec6ee5
Fix up vendored package README
...
Fix a couple of typos to properly reflect package name and path.
Add vendored deps added when adding VMware & GCE support.
Add vendored deps added when vendoring pywinrm.
2015-07-09 23:56:52 -04:00
Joe Fiorini
069bb69b00
Fix truncate text directive to work as elements resize
2015-07-09 17:28:29 -04:00
Matthew Jones
08ec0c132e
Merge pull request #306 from matburt/fix_restore_playbook
...
Fix the restore playbook procedure
2015-07-09 16:17:17 -04:00
John Mitchell
7c1c219ecb
fixed smart status sorting to be locale friendly
2015-07-09 13:16:18 -04:00
Joe Fiorini
c52c9d1c8a
[system_tracking] Fix issue with ng-if & truncated-text directives
2015-07-08 16:38:44 -04:00
Matthew Jones
874c97f748
Purge some unneeded HA unit tests
2015-07-08 14:31:02 -04:00
Matthew Jones
5605ec9754
Adjust usage of is_ha_environment()
...
Limit it to just instance count and make sure we use it for the mongo check
2015-07-08 14:18:04 -04:00
Matthew Jones
d5e948890c
Stricter control of mongo in setup playbook
...
Detect if this is an HA setup and if so we won't attempt to start mongo
during the setup process
2015-07-08 13:45:59 -04:00
Jared Tabor
1368403309
adding 'waiting' job status jobs to jobs page
2015-07-08 11:14:22 -04:00
Joe Fiorini
1b36223fa6
[system_tracking] Hide right column for files module in single result view
2015-07-08 11:10:53 -04:00
Joe Fiorini
ec96f1d8a5
[system_tracking] Query fact versions relative to user's midnight, not server's
2015-07-08 10:54:22 -04:00
Joe Fiorini
8d47e8e2a1
[system_tracking] Fix bolding for no scan message
2015-07-06 15:05:28 -04:00
Matthew Jones
9e6c604fc1
Remove extra output from doing a hard mongo shutdown.
2015-07-06 14:38:19 -04:00
Joe Fiorini
fc2ed6fd83
[system_tracking] Fix nested fact compare with one empty side
2015-07-06 14:34:24 -04:00
Joe Fiorini
7bedaf1ad7
[system_tracking] Make calling of nestedCompare consistent with flatCompare
2015-07-06 14:34:24 -04:00
Matthew Jones
4fd0fbda08
Invert the conditional checking for whether or not mongo is running
2015-07-06 14:28:27 -04:00
Matthew Jones
26af43dab6
Remove superflous sleep when shutting mongo down
2015-07-06 14:19:12 -04:00
Matthew Jones
9b03d22d75
Fixes to conditionally invoking mongo shutdown
...
* Make sure we are waiting on the service script
* Improve sudo configuration
* Check pidof before attempting to invoke a hard mongo shutdown
2015-07-06 14:15:41 -04:00
Matthew Jones
10f5308bd8
Fix version parsing of ansible to exclude newlines
2015-07-06 12:16:17 -04:00
Matthew Jones
5a77d1f0d4
Fix up mongo service handline and task logging
...
* Use -f instead of -c for mongod when refernecing config file
for shutdown behavior in the stop task
* Fix up task logging to use new supervisor configuration syntax
2015-07-06 11:49:24 -04:00
Chris Meyers
ef95cf091e
Merge pull request #303 from chrismeyersfsu/fix-mongodb_logging2
...
demote mongo db connection failed logging to info
2015-07-03 11:35:42 -04:00
Joe Fiorini
714d6a98bf
[system_tracking] Disable single result view for host-to-host compares
2015-07-02 16:10:08 -04:00
Joe Fiorini
d41b8a363f
[system_tracking] Display all facts for latest scan when no diffs
2015-07-02 16:02:33 -04:00
Chris Meyers
b4b8909239
demote mongo db connection failed logging to info
2015-07-02 15:45:09 -04:00
Joe Fiorini
fef3d5d2b0
[system_tracking] Make sure value array comparison is order insensitive
2015-07-01 16:18:07 -04:00
Jared Tabor
0acf8aecbc
Portal jobs widget resize issue
...
the 'Started' column needed to be hidden on small (<991px) devices/screen sizes, instead of for only extra small (<769px)
2015-07-01 12:03:13 -04:00
Chris Church
5b16934459
Set azure inventory cache defaults before reading settings.
2015-06-30 16:41:22 -04:00
Chris Church
e217ab00c0
Fix azure inventory to set ['_meta']['hostvars'] instead of just ['meta'].
2015-06-30 16:35:07 -04:00
Jared Tabor
eb70983b54
Layout of filter on Portal Jobs widget
...
the filter buttons would wrap incorrectly on smaller screens
2015-06-30 14:56:11 -04:00
Chris Church
b7b5293fed
Include vmware inventory updates from https://github.com/ansible/ansible/pull/11300
2015-06-30 14:00:06 -04:00
Chris Church
356d1b7134
Include gce inventory changes from https://github.com/ansible/ansible/pull/11299
2015-06-30 12:46:34 -04:00
Chris Church
0c6459cd07
Include ec2 inventory changes from https://github.com/ansible/ansible/pull/11293 .
...
Include ec2.ini doc changes from https://github.com/ansible/ansible/pull/11236 and https://github.com/ansible/ansible/pull/11409 .
2015-06-30 12:41:45 -04:00
John Mitchell
1f423ea829
fixed tooltips on adhoc stdout details
2015-06-30 10:46:40 -04:00