Chris Meyers
dbbfde0d25
fixes remove_instance error
...
* Initialize object attribute to None so a later if check that depends
on that attributes succeeds. The attribute is related to unifying the
command line args to the *_instance command set.
* Added regression test case
2015-11-06 07:19:09 -05:00
Matthew Jones
fd33d7df58
Tweak proj rbac for orphaned projects
...
Slight tweak to the rbac for projects related to the user who created
them. IF a user created a project but it is orphaned/not associated
with an organization then they will be able to see/change it. If,
however, it is created and associated with an organization and then they
are removed as an org admin they will no longer have access to it.
2015-10-13 16:42:12 -04:00
Matthew Jones
a27a620bcf
Remove pdb trace from unit test
2015-10-13 14:10:40 -04:00
Matthew Jones
4b46f33299
Fix up unit tests for overwrite_vars
2015-10-13 11:38:37 -04:00
Matthew Jones
f7ebf956c1
Remove the created_by access ability for projects
...
Now, simply being the creator of a project does not convey any access
for users. You must be in a project/team that has access to it and you
must be an org admin for an org that has the project to be able to make
changes to it
2015-10-13 11:24:48 -04:00
Matthew Jones
46aa6dfabb
Prevent deleting organizations on basic licenses
...
Plus unit tests
2015-10-12 14:52:03 -04:00
Matthew Jones
0e0037b7f8
Merge pull request #451 from matburt/iam_ephemeral_cred
...
Support IAM ephemeral cred
2015-10-01 10:59:10 -04:00
Matthew Jones
6a3a36513a
Add failure test for sts tokens
2015-10-01 10:49:58 -04:00
Matthew Jones
acc974289f
Unit test for AWS STS token support
2015-09-30 13:42:16 -04:00
Chris Meyers
35abd0cc07
influence callback receiver single worker
2015-09-30 12:39:00 -04:00
Chris Meyers
000d26d7e3
session limit enforcement
...
* upon creating a new session, invalidate oldest sessions
2015-09-28 14:17:28 -04:00
Chris Meyers
eb8219fd9f
add Auth-Token-Timeout to http headers
2015-09-23 10:30:19 -04:00
Matthew Jones
5727d722b6
Merge remote-tracking branch 'upstream/release_2.3' into devel
...
* upstream/release_2.3: (91 commits)
Include python-{paramiko,ecdsa} dependencies
Remove extra epel testing stanzas
Unit test for ec2 credentialless inventory
Fix issue with ec2 iam sync with no credential.
Use the htpasswd command instead the ansible module
Pip is no longer needed
check local user root or not in ./configure
Remove unneeded when check for super user addition
Improve distro detection in setup.sh
Fix superuser check on upgrade
Minor improvements to setup.sh
Remove ansible prerequisite check from configure
Attempt to install ansible within setup.sh
Allow munin processes to access postgres
Move up base package dependency install
fixes jenkins failures
Proper flake8 fix
fixes executing processes with correct PYTHONPATH will pickup .pth files
Show the repo for bundled package file dump
Proper flake8 fix
...
2015-09-03 15:46:10 -04:00
Matthew Jones
7774b17960
Unit test for ec2 credentialless inventory
2015-09-03 14:05:17 -04:00
Matthew Jones
f0a23b7ed3
Proper flake8 fix
2015-09-01 16:15:39 -04:00
Matthew Jones
4a5111308f
Fix flake8 warning from tests
2015-09-01 15:23:35 -04:00
Matthew Jones
09f4c9fbbe
Fixed job redaction for projects and unit tests
2015-08-31 16:24:38 -04:00
Matthew Jones
2f39393cf3
Implement fact receiver thread worker
...
Optionally allow processing of fact receiver messages in a worker
thread. This works around an issue where data could take a while to
page into Mongo and cross the zmq socket timeout.
2015-08-28 10:59:52 -04:00
Chris Church
6128ab3ff4
Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
2015-08-11 16:54:54 -04:00
Chris Church
2cd8e00bcf
Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
2015-08-11 16:30:27 -04:00
Chris Meyers
dfff6b218a
correctly inherit extra_vars
...
* inherit extra_vars from job_template
* overwrite with extra vars survey default vars
* overwrite with job extra_vars
* bypass extra_vars inherit logic for job relaunch
* with tests
2015-08-10 11:24:26 -04:00
Chris Church
001127f8bd
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 21:31:42 -04:00
Matthew Jones
1e95ac1c54
Merge pull request #361 from cchurch/recursive_inventory
...
Fix inventory issues when a group is its own parent
2015-08-06 21:30:45 -04:00
Chris Church
3560e5a2eb
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 14:59:04 -04:00
Chris Church
f0010cc574
Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
2015-08-05 22:03:20 -04:00
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
f20d93a274
Merge pull request #358 from cchurch/openssh_private_key_support
...
Support private keys in OpenSSH format
2015-08-05 19:44:56 -04:00
Matthew Jones
64c3b1ec69
Merge pull request #345 from chrismeyersfsu/fix-centos_6.5
...
unittest works on centos 6.5
2015-08-05 19:43:57 -04:00
Matthew Jones
14df41b47b
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 10:02:07 -04:00
Chris Church
b647811456
Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
2015-08-04 18:59:25 -04:00
Chris Meyers
b0f55c832d
invoke redis in a way that works on centos and ubuntu
2015-07-30 08:37:21 -04:00
Chris Meyers
456f460ed9
add path needed for unittest to find redis on centos 6.5
2015-07-29 16:16:00 -04:00
Chris Meyers
34ecd4e5b6
use python2.6 safe unittest2
2015-07-29 15:07:40 -04:00
Matthew Jones
874c97f748
Purge some unneeded HA unit tests
2015-07-08 14:31:02 -04:00
Chris Meyers
4669c44af9
robust check for HA environment setup
2015-06-23 11:21:00 -04:00
Chris Meyers
2b2126d8e1
create enterprise license file for fact api tests
2015-06-17 10:50:56 -04:00
Chris Meyers
686312a427
fix fact cache reciever unit tests to use inventory_id in message
2015-06-16 13:11:09 -04:00
Chris Meyers
c076ba1669
flake8
2015-06-15 16:56:12 -04:00
Chris Meyers
8e3b33ee21
Added age_deleted command for support team
2015-06-15 16:06:54 -04:00
Matthew Jones
d01e93535d
Fixing flake8 issue
2015-06-15 09:36:04 -04:00
Matthew Jones
bb7af4e916
Merge pull request #277 from matburt/fix_inventory_read_jt_rbac
...
Check inventory access for normal users when deciding what job templates show up in the queryset
2015-06-12 16:04:34 -04:00
Matthew Jones
5d1b27e520
Adding some job template listing unit tests and permissions to actually
...
make those work
2015-06-12 14:43:24 -04:00
Chris Church
4607972135
Included openstack inventory script from core + changes from some open PRs, fixes to be able to use without custom changes for tower.
2015-06-12 00:58:33 -04:00
Chris Church
dfe4e0c694
Add unit test for azure inventory.
2015-06-12 00:52:57 -04:00
Chris Meyers
d5b7be3f4f
Merge pull request #276 from chrismeyersfsu/fix-fact_inventory_relationship
...
associate scan runs with a particular inventory host
2015-06-11 20:55:13 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Chris Meyers
0c7638bdd7
associate scan runs with a particular inventory host
2015-06-11 15:14:00 -04:00
Chris Meyers
df57f45baa
Merge branch 'master' into fix-job_launch_credential_permissions
2015-06-08 14:40:50 -04:00
Chris Meyers
3b537c953f
restrict the set of valid, explicitly supplied credentials to be ones readable by the user
2015-06-08 14:07:04 -04:00
Chris Meyers
0e866178d7
create license file that allows system tracking when running system tracking functional tests
2015-06-08 13:46:04 -04:00