Commit graph

232 commits

Author SHA1 Message Date
Brian Coca
1861be8f31 Merge pull request #9957 from hfinucane/apt-deb-tests
Add tests for using .deb files
2015-02-16 19:15:34 -05:00
Toshio Kuratomi
8f05e4eaaf Tests for: https://github.com/ansible/ansible-modules-core/issues/778 2015-02-16 07:12:18 -08:00
Matt Martz
be6e49dd1f Add tests for rax_cdb_database 2015-02-11 12:59:02 -06:00
Matt Martz
9485d82eca Add tests for rax_cdb 2015-02-11 12:59:02 -06:00
Matt Martz
29cd7e3fc1 Add tests for rax_identity 2015-02-11 12:59:02 -06:00
Matt Martz
74f4d186cc Add tests for rax_cbs_attachments 2015-02-11 12:59:01 -06:00
Matt Martz
5e00e72f7a Remove unecessary prep tasks 2015-02-11 12:59:01 -06:00
Matt Martz
3ae1014fd3 Add tests for rax_cbs 2015-02-11 12:59:01 -06:00
Matt Martz
f01ae9f509 Add test_rax_network role 2015-02-11 12:59:01 -06:00
Matt Martz
e54c45ee6d Add test_rax_keypair role 2015-02-11 12:59:01 -06:00
Matt Martz
abac45dafc Add test_rax_meta role 2015-02-11 12:59:01 -06:00
Matt Martz
9878ebf0ee Add tests for rax instance_ids with state=absent 2015-02-11 12:59:01 -06:00
Matt Martz
340b845c38 Add test_rax_facts 2015-02-11 12:59:01 -06:00
Matt Martz
dab9c30584 Add some extra vars and create a dependent role prepare_rax_tests 2015-02-11 12:59:01 -06:00
Matt Martz
5a862328f0 Add test_rax_clb_nodes 2015-02-11 12:59:00 -06:00
Matt Martz
b8e7211661 Update rax_clb tests for fixes in the module 2015-02-11 12:59:00 -06:00
Matt Martz
7ba7e3bd69 Add tests for rax_clb 2015-02-11 12:59:00 -06:00
Brian Coca
788889225d Merge pull request #10078 from sgargan/consul
Ansible support for Consul
2015-02-11 13:58:15 -05:00
Toshio Kuratomi
10df1b898c Fix template module broken when modifying symlinks
Needed to clear unwanted parameters from both args and complex args when
calling file module.

Fixes #10208
2015-02-11 00:10:37 -08:00
Brian Coca
07dfbaedc3 Merge pull request #9602 from cchurch/powershell_splatting
Handle PowerShell parameters passed via splatting
2015-02-04 10:25:03 -05:00
Toshio Kuratomi
930bdd1f2f Better names for the test_binary tests 2015-02-02 19:33:05 -08:00
Toshio Kuratomi
bd7ac7fd7d Error message has changed; scrape the new message 2015-02-02 12:05:01 -08:00
Toshio Kuratomi
fef435cc2a Correct typo 2015-01-28 22:04:10 -08:00
Toshio Kuratomi
0eabf3bb99 Change subversion tests -- export test didn't test exporting before 2015-01-28 17:28:00 -08:00
Toshio Kuratomi
eebba11558 Remove the build-dep change test. Doesn't seem like there's a way to do that. 2015-01-27 10:40:58 -08:00
Toshio Kuratomi
a6a911d2ed We changed the way build-dep is specified in the module; also change it in the tests 2015-01-27 10:00:07 -08:00
Conrado Buhrer
0c1193f11d added: integration tests builddeps for apt module 2015-01-26 17:58:56 -02:00
Steve Gargan
c02f114967 Initial commit of Ansible support for the Consul clustering framework (http://consul.io).
Submission includes support for
 - creating and registering services and checks
 - reading, writing and lookup for values in consul's kv store
 - creating and manipulating sessions for distributed locking on values in the kv
 - creating and manipulating ACLs for restricting access to the kv store
 - inventory support that reads the Consul catalog and group nodes according to
     - datacenters
     - exposed services
     - service availability
     - arbitrary groupings from the kv store

This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
2015-01-24 01:09:03 +00:00
Toshio Kuratomi
364f772cc5 Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
Fixes #682
2015-01-22 12:33:06 -08:00
Toshio Kuratomi
7e538d54dd Install zip for the unarchive test 2015-01-22 10:37:19 -08:00
Toshio Kuratomi
cce87acfed Fix integration test for unarchive to test zipfiles 2015-01-21 16:17:49 -08:00
Toshio Kuratomi
6326daa34e Update modules for unarchive handling user,group,mode and add integration test for the same 2015-01-14 19:23:12 -08:00
Toshio Kuratomi
ee469c2ab1 Add a check that unarchive works with complex_args 2015-01-14 13:03:21 -08:00
Toshio Kuratomi
21a5a5f50f typoed the filename 2015-01-12 15:18:15 -08:00
Toshio Kuratomi
d7f67ea62b Doh! We needed this template. 2015-01-12 13:57:01 -08:00
Toshio Kuratomi
e69299f05a iRemove pretty print to_nice_json test -- the test fails on python2.6
without simplejson
2015-01-12 13:35:22 -08:00
Brian Coca
f995b34638 Merge pull request #9970 from sivel/rax-integration
Add integration tests for the rax module
2015-01-12 13:24:42 -05:00
Toshio Kuratomi
d83648bb82 Add test for python2.6 json bug to its own file 2015-01-12 10:20:28 -08:00
Toshio Kuratomi
91f9d84930 Revert "Try to provoke a python2.6 bug to prove we've fixed it"
The test template output is compared against an expected output.  Since
hostvars contains information specific to the host it runs on we can't
test the python2.6 bug this way.

This reverts commit af4d6105a5.
2015-01-12 10:16:59 -08:00
Toshio Kuratomi
af4d6105a5 Try to provoke a python2.6 bug to prove we've fixed it 2015-01-12 10:02:44 -08:00
Matt Martz
f5d2f8e382 Add integration tests for the rax module 2015-01-09 15:08:58 -06:00
Henry Finucane
7e95da2930 Add tests for using .deb files 2015-01-07 19:44:31 -08:00
Toshio Kuratomi
7e0fc6a8bc Merge pull request #9739 from jbinto/file_allow_touch_hardlink
Add integration test for ansible-modules-core #460
2015-01-07 09:08:01 -08:00
Rohan McGovern
1ac57a8a8f test_git: add tests for `refspec' argument
Includes a basic test of the clone and update cases.
2014-12-19 12:29:01 +10:00
Toshio Kuratomi
64c256b356 git module now with clone parameter and update=no reverted 2014-12-17 13:46:14 -08:00
Jon Hawkesworth
e37b63386c Revised following comments from Chris Church.
Now uses sha1 checksums following merge of 9688.
Also I undid the changes I made to fetch.py
win_template.py now uses conn.shell.has_trailing_slash and
conn.shell.join_path
updated integration tests.
2014-12-16 04:47:01 +00:00
root
bf916fb58a Adding first pass at win_copy, win_file and win_template modules. 2014-12-16 04:47:01 +00:00
Brian Coca
bfe08560ec Merge pull request #9227 from cchurch/win_feature_tests
Add integration tests for win_feature
2014-12-15 20:13:52 -05:00
Brian Coca
1408a01498 Merge pull request #9764 from bcoca/moar_tests
Moar tests
2014-12-11 01:03:54 -05:00
Toshio Kuratomi
a0ff0f8198 And the encoding needs to be latin1 for this test 2014-12-10 14:51:02 -08:00