Toshio Kuratomi
5fe5e2d3f4
Docstring for v2 inventory.subset
10 years ago
insaneirish
3d257bc695
Change "usuable" to "usable".
10 years ago
James Cammarata
8b8a4dd572
Merge pull request #9353 from ivuk/fix-typo
...
Typo: greatful -> grateful
10 years ago
James Cammarata
c08c907ee0
Merge pull request #9346 from MiLk/test/shell-multiline
...
Add integration test for the shell module
10 years ago
James Cammarata
13da039563
Merge pull request #9338 from szkkentaro/gce_inventory/add_pretty_option
...
Add --pretty option for gce inventory plugin
10 years ago
Guillaume Quintard
895da79d87
Detect docker as virtualization_type
...
New docker versions use "docker" in /proc/1/cgroup, which disturbs the
virtualization_type detection. So, grep for docker, in addition of
"lxc".
10 years ago
Felix Geyer
ee5f5ee00d
Detect kvm guests through sys_vendor.
...
The two detection methods currently implemented do not cover all cases.
For example qemu guests invoked like this:
qemu -machine pc-i440fx-1.4,accel=kvm -cpu SandyBridge
return this information:
product_name: Standard PC (i440FX + PIIX, 1996)
cpuinfo: model name : Intel Xeon E312xx (Sandy Bridge)
10 years ago
Michael DeHaan
a60fd58145
Update block.py
...
Add note on block properties
10 years ago
Andres Silva
4755bde28d
adding for loop on list to to handle the return of none when the list is empty. With the previous method if the list was empty the script died. See http://stackoverflow.com/questions/18852324/typeerror-sequence-item-0-expected-string-nonetype-found
10 years ago
James Cammarata
57d2622c8c
Adding block code and tests
10 years ago
James Cammarata
21577ff2cc
Moved v2 tests for plugins to new location
10 years ago
James Cammarata
1d04e4b3d2
Updating unittests for v2 stuff
10 years ago
Toshio Kuratomi
eafa718be1
Remove inherit from object as it's no longer needed to determine new-style classes
10 years ago
Toshio Kuratomi
acf4bc95a3
Give all v2 tests the python3 compat boilerplate
10 years ago
Toshio Kuratomi
18f30b00ba
Add python3-compat boiler to all core files
10 years ago
Toshio Kuratomi
ff8042c5c3
Add python3 compat boilerplate to executor
10 years ago
Toshio Kuratomi
c9abd0fd58
Stub out Inventory class - we're going to draw heavily on the existing
...
inventory for implementation
10 years ago
Michael DeHaan
6ca67c61cb
Starting to stub out some classes.
10 years ago
Toshio Kuratomi
a707f5acfe
Fix relative imports
10 years ago
Toshio Kuratomi
6ecca227b8
Fix missing import
10 years ago
Toshio Kuratomi
057c1df303
Remove temp file
10 years ago
Toshio Kuratomi
cf5ce97275
Somehow, git mv only rm'd test/v2 and didn't add v2/test
10 years ago
Toshio Kuratomi
b62e7ae8f5
Remove extraneous __init__ to fix v2 unittests
10 years ago
Toshio Kuratomi
46b54443f1
Add a README for the v2 unittests
10 years ago
Toshio Kuratomi
938b2108d0
Move the v2 tests under the v2 tree
10 years ago
Michael DeHaan
187da236b4
Add new class stubs
10 years ago
Igor Vuk
e19f3f8a5c
Typo: greatful -> grateful
10 years ago
Emilien Kenler
39ce134c2c
Add integration test for the shell module
...
* it ensures that it's possible to define options in the multiline block
10 years ago
szk.kentaro
36c75d6c5e
Add --pretty option for gce inventory plugin
10 years ago
Toshio Kuratomi
139e4767e4
Merge pull request #9329 from mcodd/devel
...
python2.4 compatibility issue with urlparse
10 years ago
David Kirchner
959520115c
Added _meta hostvars key to gce.py plugin per the discussion in issue #9291 .
10 years ago
Michael DeHaan
bdf3ec1e21
Merge pull request #9331 from marcinpraczko/devel
...
Fix detecting distribution release on OpenSuSE
10 years ago
Michael DeHaan
c930ee4747
Merge pull request #9312 from admiyo/freeipa
...
Inventory Plugin to get hostgroups from FreeIPA
10 years ago
Michael DeHaan
edac9ad4c3
Merge pull request #9303 from willthames/gitmodules_over_https
...
Use https for git submodules
10 years ago
Michael DeHaan
1831ca3b90
Merge pull request #9299 from weargoggles/quoted-comment
...
Remove no-op string declaration
10 years ago
Michael DeHaan
e6bf1f5b6e
Merge pull request #9328 from Batmat/fix-receive-typo
...
Typo: recieve -> receive.
10 years ago
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
10 years ago
Baptiste Mathus
2845f0c455
Typo: recieve -> receive.
10 years ago
Matt Coddington
10113e6a67
python2.4 compatibility issue with urlparse
10 years ago
Toshio Kuratomi
617352a38e
Python3 test target and use coverage for all v2 tests.
10 years ago
Toshio Kuratomi
692d31d221
Python3 fix
10 years ago
Toshio Kuratomi
1e255a72a8
Python3 fix
10 years ago
Toshio Kuratomi
25ac4ccef3
Update other asserts that have a py2.6 unittest method
10 years ago
Toshio Kuratomi
c752f012f7
Start converting asserts to self.assert*() so we get better error messages
10 years ago
Adam Young
428674cb90
Inventory Plugin to get hostgroups from FreeIPA
10 years ago
Michael DeHaan
ccd559137f
add missing headers, rm the subtree of ansible/inventory as we wish to overhaul it.
10 years ago
James Cammarata
fe5a7bcabf
Fixing bad variable naming choices
10 years ago
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.
10 years ago
Toshio Kuratomi
b4f84c5d9a
Update the core and extras submodules
10 years ago
Toshio Kuratomi
2b9e235ffd
Rework distribution fact checking to be a little less heinous and add
...
support for Mandriva.
Fixes #9282
10 years ago