Commit graph

9025 commits

Author SHA1 Message Date
Richard C Isaacson 0719be852f Update in response to ubuntu issues. 2014-02-20 16:56:40 -05:00
James Cammarata 3baf2dc095 Adding new test for conditional behavior 2014-02-20 16:43:33 -05:00
James Cammarata 87f2e362b3 Adding new test for always_run option in check mode 2014-02-20 16:11:17 -05:00
James Tanner e4970c0933 Test for facts.d 2014-02-20 16:05:50 -05:00
Richard C Isaacson e12b2aba96 Fix selinux in the new tests for the file module.
We had some incorrect logic for when selinux is installed and disabled.
2014-02-20 15:59:25 -05:00
Richard C Isaacson b8ea1cfa69 Fixed when running on a system with selinux which is disabled. 2014-02-20 15:52:57 -05:00
Michael DeHaan b2e5903853 Add some missing files for filters and ignore_errors tests 2014-02-20 15:34:02 -05:00
James Cammarata fa1ab231c9 Fixing bug in which playbook vars were not merged properly
This occurred when a hash would be passed in via extra args and the
hash variable behavior was set to 'merge', which resulted in the
variable from extra args replacing the playbook variable.
2014-02-20 15:25:52 -05:00
James Cammarata d158ec382c Adding new test for hash behavior (merge vs. replace) 2014-02-20 15:25:52 -05:00
Michael DeHaan bc65956798 Add tests that leverage most of our custom filters. A few more to add. 2014-02-20 15:24:03 -05:00
James Tanner 8336cd7fa6 Check for no change in test_yum 2014-02-20 15:07:54 -05:00
James Tanner f51e16014f apt re-run verification 2014-02-20 15:01:23 -05:00
James Tanner 2b3856f1b6 Add apt test role 2014-02-20 14:56:01 -05:00
Michael DeHaan 50e5d81777 Remove the check in the 'hg' integration tests for the 'heads' file, as that was a bit of an idiom
copied over from the svn module.
2014-02-20 14:38:00 -05:00
Richard C Isaacson ea21e5b5dd Cleanup of uid bits. 2014-02-20 14:32:27 -05:00
Richard C Isaacson 10e116ea78 Cleaning up my asserts 2014-02-20 14:25:42 -05:00
Richard C Isaacson fc648a65ef Change the uids that we use so that there is a lesser change of collision and check the uid rather than the owner. 2014-02-20 14:08:18 -05:00
Richard C Isaacson 92cb8dd34e Unarchive tests. 2014-02-20 14:00:26 -05:00
James Cammarata ce358e70bd Added 'expanduser' filter to the docs 2014-02-20 13:51:01 -05:00
James Cammarata f5505425f9 Adding 'expanduser' filter to the core filters list
Example usage: {{ my_path | expanduser }} # my_path: "~/path/to/file"
2014-02-20 13:48:07 -05:00
Michael DeHaan aafd08bab7 Add a test for the ignore_errors keyword. 2014-02-20 13:47:55 -05:00
James Tanner 57fc86ec3c Add yum tests 2014-02-20 13:41:55 -05:00
James Cammarata 021ae05f33 Added new test for the lineinfile module 2014-02-20 13:32:28 -05:00
James Cammarata 2157880029 Adding the backup destination to the resut dictionary for lineinfile 2014-02-20 13:31:54 -05:00
James Cammarata 590be8ac7d Adding headers to test_service and adding tags to prepare_tests role tasks 2014-02-20 13:31:54 -05:00
Michael DeHaan 1b4ba5431b Update makefile, add files for variable blending tests. 2014-02-20 13:25:19 -05:00
Michael DeHaan 1489a13020 Add destructive targets to Makefile. 2014-02-20 13:05:03 -05:00
Michael DeHaan 13076ca8be Remove stray shell script. 2014-02-20 13:04:24 -05:00
Michael DeHaan 69b2d82be6 Convert test system to use Make 2014-02-20 13:00:05 -05:00
Michael DeHaan ddf91a3d6f Add a partial test of variable blending to the test infrastructure. 2014-02-20 12:52:17 -05:00
James Cammarata 701af19fad Removing non-ascii logging test for now 2014-02-20 12:48:59 -05:00
James Tanner 010e145efa Add changed_when test 2014-02-20 12:45:56 -05:00
Richard Isaacson ae6a1a38d1 Merge pull request #6096 from risaacson/devel
Finished file tests with selinux.
2014-02-20 11:24:37 -05:00
Richard C Isaacson f3922d02d1 Finished file tests with selinux. 2014-02-20 11:23:35 -05:00
James Tanner 9f514ddd1d Add mercurial test 2014-02-20 11:20:32 -05:00
Richard Isaacson f9618892c0 Merge pull request #6095 from risaacson/devel
File - selinux tests in new framework.
2014-02-20 11:12:36 -05:00
Richard C Isaacson 101f9a226b File - selinux tests in new framework. 2014-02-20 11:11:00 -05:00
Richard Isaacson cc55407627 Merge pull request #6093 from risaacson/devel
Further updates to the file tests.
2014-02-20 11:02:12 -05:00
Michael DeHaan 125e9d4703 Merge pull request #6086 from alvin-chang/patch-1
Match directory permission with 755 instead of 644
2014-02-20 08:44:41 -05:00
alvin-chang 1e8731f092 Match directory permission with 755 instead of 644
Directories need the execution bit being set therefore instead of 644, it needs 755.
2014-02-20 06:04:48 +00:00
James Tanner 7fe3db408d Fixes #6082 Set vault password to None by default 2014-02-19 21:26:12 -05:00
James Tanner cf5acb9982 Add git test role 2014-02-19 21:14:09 -05:00
James Cammarata 0073fd6824 Adding new test role for the service module 2014-02-19 18:06:46 -05:00
James Cammarata ef2df8157a Fixup result dictionary when copy module calls file module 2014-02-19 18:05:59 -05:00
Michael DeHaan 6fb02650ff Remove tests for things that are now using the playbook based 'test_new' infra. Units will remain here
after refactoring, WIP, more to come.
2014-02-19 17:57:39 -05:00
Richard C Isaacson 172f634e36 Further updates to the file tests.
Also change the mode of test.sh to now be u+x
2014-02-19 17:40:04 -05:00
Michael DeHaan 7e89a4cf72 Add tests for subversion module. Should be approximate pattern for git and hg modules. 2014-02-19 17:38:57 -05:00
James Tanner d11d9fd66c Add synchronize test 2014-02-19 17:32:37 -05:00
Michael DeHaan d5c7290b93 Merge pull request #6066 from jsmartin/riak_module_fix
Properly fetching the riak version
2014-02-19 16:51:04 -05:00
Michael DeHaan 58814d08fe Merge pull request #6075 from jlaska/issue_6067
Resolves issue#6067 by allowing exact_count=0
2014-02-19 16:45:58 -05:00