Commit Graph

9797 Commits (9be732d8f2eb788f12324fa149a7c2b7ed31bba1)
 

Author SHA1 Message Date
Richard C Isaacson a483e42583 unarchive module: Add creates functionality.
Closes GH-5354.

Forklift copy logic into unarchive. Provides integration unit tests.
11 years ago
James Cammarata 4753804ab4 Merge pull request #6332 from jimi-c/issue_6329_space_in_var
Correctly catch template errors without returning invalid data
11 years ago
James Cammarata e3b887f770 Fix range issue in inventory and add additional error checking
Fixes #6331
11 years ago
Richard Isaacson d3cbde57f5 Merge pull request #6334 from risaacson/pull_6033
Yum: Fix logic in yum.
11 years ago
Richard C Isaacson d6247a3583 Yum: Fix logic in yum. 11 years ago
Richard Isaacson 194f270a92 Merge pull request #6333 from risaacson/pull_6033
Merge pull_6033.
11 years ago
Richard C Isaacson 47b2dc611c Look at the filename and if it has a version defined possibly process this as a downgrade. 11 years ago
James Cammarata 3cd7d47b7e Correctly catch template errors without returning invalid data
Fixes #6329
11 years ago
Richard C Isaacson 9244283122 Spelling and formatting. 11 years ago
Cove Schneider 29f1528492 change order of copyright 11 years ago
Cove Schneider f47fe7af62 add sponsor copyright/attribution 11 years ago
Cove Schneider cbd1da6457 add yum module downgrade support 11 years ago
Richard Isaacson 9a06292a52 Merge pull request #6328 from lathan/patch-1
english syntax fix
11 years ago
James Laska c7d1c1a306 [test_service] correct upstart service name and permissions
The 'service' utility was unable to find the 'ansible_test' service due to an
unexpected filename.  This patch corrects the filename and adjusts the
permissions to match other service scripts within /etc/init/.
11 years ago
George Angelopoulos e846b4c619 english syntax fix
remove redundant 'are'
11 years ago
karelstriegel 2cf3a7f7be Update intro_adhoc.rst
Small grammar fix
11 years ago
James Cammarata f80d02d841 Properly wrap logical elements together for su/sudo detection 11 years ago
James Cammarata b6056044b7 Partial revert of 73c883c due to issues with handlers in roles
Fixes #6322
11 years ago
Michael DeHaan e486dbab04 Use the loaded variable since we have it assigned, not just for error detection. 11 years ago
Michael DeHaan 3f07ec3d73 Fixup JSON error reporting in previous commits. 11 years ago
Michael DeHaan a4d01b0891 Also search .json filenames 11 years ago
Michael DeHaan 79799f6819 Allow any file that can be in YAML to also be in JSON. This is primarily done to support non-visual editors better. 11 years ago
aresch a45bfbe06e Fix rpm_key on system with no gpg keys imported
Without the -a option, rpm command will fail (exit code 1) and execute_command() will fail causing an initial key import to not work.

[root@test ~]# rpm -q gpg-pubkey
package gpg-pubkey is not installed
[root@test ~]# echo $?
1
[root@test ~]# rpm -qa gpg-pubkey
[root@test ~]# echo $?
0
11 years ago
Scott Anderson db67c3d772 Fixes a bug that prevents round-tripping of * and @ 11 years ago
James Cammarata a0f939581d Merge branch 'aresch-devel' into devel 11 years ago
Paul Durivage 3cce3650e5 Use isinstance() rather than a check using type() 11 years ago
Richard Isaacson 119434d079 Merge pull request #6319 from risaacson/fix_test_dir_inventory
Fix TestInventory Unit Tests

Tested clean.
11 years ago
James Cammarata 9b79591f23 Merge branch 'devel' of https://github.com/aresch/ansible into aresch-devel 11 years ago
James Laska 868746b095 Correct ansible_distribution typo
Redhat != RedHat
11 years ago
James Laska ba9950a73a Use correct value of ansible_distribution in integration tests
This fixes integration tests when run on a RHEL system.  Oddly, the
ansible_distribution='RedHat' when run on RHEL.
11 years ago
James Cammarata 5a235f9e99 Merge pull request #6318 from jimi-c/issue_5305_ec2_elb_None_issue
Adding a wait loop to ec2_elb for the initial lb state when registering
11 years ago
James Tanner 85bc14a8eb Remve debug file from vault unit test 11 years ago
James Cammarata 2a0028e687 Sanitize run_command argument output
Fixes #6316
11 years ago
Richard C Isaacson 913c855df4 Formatting cleanup.
Post merging of GH-5837 via GH-5749.
11 years ago
g-k-r dbad5d71c6 modifed test to use get_hosts instead of get_groups
closes #5749

Conflicts:
	test/units/TestInventory.py
11 years ago
g-k-r 6626cb0b3d add test same host in different files in dir
tests issue #5749
 same host defined in different groups which in turn are defined
 in different ini files in an inventory directory

Conflicts:
	test/units/TestInventory.py
11 years ago
James Tanner cd6d7ddc97 Fix test_async by using env python 11 years ago
Andrew Resch 4d80019ac8 Fix logic checking for both sudo and su, and their respective users 11 years ago
James Cammarata 245b10eaa5 Merge pull request #6317 from l0neranger/devel
Typo
11 years ago
Richard C Isaacson 16fe09eef8 Fixes related to uncommenting test_dir_inventory in TestInventory.
0. Uncomment the test.
1. Test fails.
2. Make vars unique per file in test inventory files.
3. Modify token addition to not ast.literal_eval(v) a variable containing a hash.
4. Modify vars to have an escape in test inventory file.
5. Catch exceptions explicitly. Any unknown exceptions should be a bug.
6. Test passes.
11 years ago
Harsha Yalamanchili cc5cf9ec63 Typo 11 years ago
Michael DeHaan 616d7e53b1 Merge pull request #6305 from amree/fix-mysql-replication-port
Fixed SQL syntax error when running mysql_replication module
11 years ago
Michael DeHaan 7710867922 Merge pull request #6308 from muffl0n/file_fix_documentation
Module "file": Fix link to "path" in documentation
11 years ago
Michael DeHaan acd64bf5a1 Merge pull request #6313 from phenomenes/msg-encoding-fix
Don't use keyword `error` in encode
11 years ago
James Cammarata 9f2999df79 Un-escape newlines in delimiters for assemble module 11 years ago
James Cammarata d76f49a827 Merge pull request #6311 from bcoca/tag_sets_fix
tags lists are properly uniqued and joined now
11 years ago
Brian Coca 79809b67dc fixed another line with same issues
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
Jimena Cabrera-Notari cc6e1ec261 Don't use keyword `error` in encode
This is not supported in Python 2.6. Just use positional arguments.
11 years ago
Brian Coca d3d5680d8f tags lists are properly uniqued and joined now, also avoids type issues when passed as list/set or strings
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
Sven Schliesing f62cc1e351 Fix link in documentation
c(dest) -> c(path)
11 years ago