1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

12400 commits

Author SHA1 Message Date
insaneirish
3d257bc695 Change "usuable" to "usable". 2014-10-20 10:12:51 -04:00
James Cammarata
c08c907ee0 Merge pull request #9346 from MiLk/test/shell-multiline
Add integration test for the shell module
2014-10-20 09:09:59 -05:00
James Cammarata
13da039563 Merge pull request #9338 from szkkentaro/gce_inventory/add_pretty_option
Add --pretty option for gce inventory plugin
2014-10-20 09:05:02 -05:00
Michael DeHaan
a60fd58145 Update block.py
Add note on block properties
2014-10-19 10:48:32 -04:00
James Cammarata
57d2622c8c Adding block code and tests 2014-10-16 16:03:29 -05:00
James Cammarata
21577ff2cc Moved v2 tests for plugins to new location 2014-10-16 08:55:44 -07:00
James Cammarata
1d04e4b3d2 Updating unittests for v2 stuff 2014-10-15 18:02:45 -07:00
Toshio Kuratomi
eafa718be1 Remove inherit from object as it's no longer needed to determine new-style classes 2014-10-15 19:37:29 -04:00
Toshio Kuratomi
acf4bc95a3 Give all v2 tests the python3 compat boilerplate 2014-10-15 19:25:48 -04:00
Toshio Kuratomi
18f30b00ba Add python3-compat boiler to all core files 2014-10-15 19:22:54 -04:00
Toshio Kuratomi
ff8042c5c3 Add python3 compat boilerplate to executor 2014-10-15 19:18:12 -04:00
Toshio Kuratomi
c9abd0fd58 Stub out Inventory class - we're going to draw heavily on the existing
inventory for implementation
2014-10-15 18:56:23 -04:00
Michael DeHaan
6ca67c61cb Starting to stub out some classes. 2014-10-15 15:54:12 -07:00
Toshio Kuratomi
a707f5acfe Fix relative imports 2014-10-15 18:40:03 -04:00
Toshio Kuratomi
6ecca227b8 Fix missing import 2014-10-15 18:37:17 -04:00
Toshio Kuratomi
057c1df303 Remove temp file 2014-10-15 18:36:30 -04:00
Toshio Kuratomi
cf5ce97275 Somehow, git mv only rm'd test/v2 and didn't add v2/test 2014-10-15 18:35:16 -04:00
Toshio Kuratomi
b62e7ae8f5 Remove extraneous __init__ to fix v2 unittests 2014-10-15 18:26:05 -04:00
Toshio Kuratomi
46b54443f1 Add a README for the v2 unittests 2014-10-15 18:25:54 -04:00
Toshio Kuratomi
938b2108d0 Move the v2 tests under the v2 tree 2014-10-15 18:08:28 -04:00
Michael DeHaan
187da236b4 Add new class stubs 2014-10-15 12:16:41 -07:00
Emilien Kenler
39ce134c2c Add integration test for the shell module
* it ensures that it's possible to define options in the multiline block
2014-10-15 11:12:35 +09:00
szk.kentaro
36c75d6c5e Add --pretty option for gce inventory plugin 2014-10-15 01:16:49 +09:00
Toshio Kuratomi
139e4767e4 Merge pull request #9329 from mcodd/devel
python2.4 compatibility issue with urlparse
2014-10-14 11:56:34 -04:00
Michael DeHaan
bdf3ec1e21 Merge pull request #9331 from marcinpraczko/devel
Fix detecting distribution release on OpenSuSE
2014-10-13 16:33:22 -07:00
Michael DeHaan
c930ee4747 Merge pull request #9312 from admiyo/freeipa
Inventory Plugin to get hostgroups from FreeIPA
2014-10-13 16:30:37 -07:00
Michael DeHaan
edac9ad4c3 Merge pull request #9303 from willthames/gitmodules_over_https
Use https for git submodules
2014-10-13 16:17:35 -07:00
Michael DeHaan
1831ca3b90 Merge pull request #9299 from weargoggles/quoted-comment
Remove no-op string declaration
2014-10-13 16:15:46 -07:00
Michael DeHaan
e6bf1f5b6e Merge pull request #9328 from Batmat/fix-receive-typo
Typo: recieve -> receive.
2014-10-13 16:08:07 -07:00
Marcin Praczko
1917906dd6 Fix detecting distribution release on OpenSuSE
Ansible raised exception during parsering /etc/SuSE-release file.
Regular expresion should use string instead of list.
Fix tested on OpenSuse 13.1
2014-10-13 22:57:03 +02:00
Baptiste Mathus
2845f0c455 Typo: recieve -> receive. 2014-10-13 22:10:39 +02:00
Matt Coddington
10113e6a67 python2.4 compatibility issue with urlparse 2014-10-13 16:07:06 -04:00
Toshio Kuratomi
617352a38e Python3 test target and use coverage for all v2 tests. 2014-10-12 18:54:01 -04:00
Toshio Kuratomi
692d31d221 Python3 fix 2014-10-12 10:49:42 -04:00
Toshio Kuratomi
1e255a72a8 Python3 fix 2014-10-12 10:40:48 -04:00
Toshio Kuratomi
25ac4ccef3 Update other asserts that have a py2.6 unittest method 2014-10-12 03:09:37 -04:00
Toshio Kuratomi
c752f012f7 Start converting asserts to self.assert*() so we get better error messages 2014-10-11 22:22:10 -04:00
Adam Young
428674cb90 Inventory Plugin to get hostgroups from FreeIPA 2014-10-10 21:26:17 -04:00
Michael DeHaan
ccd559137f add missing headers, rm the subtree of ansible/inventory as we wish to overhaul it. 2014-10-10 16:47:55 -04:00
James Cammarata
fe5a7bcabf Fixing bad variable naming choices 2014-10-10 12:45:33 -05:00
James Cammarata
2eda9a3a47 Fixing item loop when undefined variable errors occur because of missing attributes
Fixes a case where the variable 'foo' may exist, but the with_items loop
was used on something like 'foo.results', where 'results' was not a valid
attribute of 'foo'. Prior to this patch, conditionals were not evaluated
until later, meaning there was no opportunity to allow a test to skip the
task or item based on it being undefined.
2014-10-10 12:26:04 -05:00
Toshio Kuratomi
b4f84c5d9a Update the core and extras submodules 2014-10-10 12:11:08 -04:00
Toshio Kuratomi
2b9e235ffd Rework distribution fact checking to be a little less heinous and add
support for Mandriva.

Fixes #9282
2014-10-10 10:28:07 -04:00
James Cammarata
d19fe8d95d Fetch vars for host directly when calculating the delegated user
This fixes the case in which the delegated to host may not be in the
specified hosts list, in which cases facts/vars for the host were
not available in the injected hostvars.

This also fixes the inventory variable fetching function, so that an
unknown host raises a proper error as opposed to a NoneType exception.

Fixes #8224
2014-10-10 01:18:18 -05:00
Will Thames
545f816639 Use https for git submodules
It's much more likely that people can use the https protocol
than the git protocol (many firewalls block the latter)
2014-10-10 10:13:46 +10:00
James Cammarata
2a0d18b092 Insert newlines correctly when splitting literal blocks
Fixes #9274
2014-10-09 16:45:08 -05:00
James Cammarata
a50332fc8a Adding v2 error line support, and tests 2014-10-09 12:52:39 -05:00
James Cammarata
383a44a462 Updating submodule pointer for core 2014-10-09 12:52:38 -05:00
Pete Smith
0953322b23 Remove no-op string declaration 2014-10-09 17:04:45 +01:00
Michael DeHaan
fac414ea48 Merge pull request #9297 from lorin/patch-4
Typo: mo[u]dules
2014-10-09 08:33:26 -04:00