Commit graph

12337 commits

Author SHA1 Message Date
Rob Howard
2769098fe7 Make listify respect the global setting for undefined variables.
(Fixes #9008.)

With credit to jimi-c for the initial pass in this commit:
b18bd6b98e
2014-10-08 13:47:11 +11:00
James Cammarata
bbd9921dbd Adding a negative test for new safe_load 2014-10-07 19:59:54 -05:00
Michael DeHaan
4cb7f654b6 Add stub tests for module args parsing. 2014-10-07 17:00:01 -04:00
James Cammarata
93e273333d Adding tests for new yaml parsing stuff and adjusting imports 2014-10-07 15:52:58 -05:00
James Cammarata
8ab0749217 Adding new yaml parsing classes 2014-10-07 15:04:42 -05:00
Michael DeHaan
ad9ab8e033 Stub class for mod arg parsing tests. 2014-10-07 14:59:55 -04:00
Michael DeHaan
21642c0fbf We need module args specific parsing classes. 2014-10-07 14:56:42 -04:00
James Cammarata
83d75bcf59 Merge pull request #9276 from CaptTofu/bug/module_doc_fix
Small fix for issue #9275
2014-10-07 11:32:51 -05:00
James Cammarata
c646225ed1 Merge pull request #9267 from lorin/link-typo
Documentation typo: ansible-module[s]-extras
2014-10-07 11:17:48 -05:00
Michael DeHaan
05231dcde6 Move over some of the parsing functions that we need. 2014-10-07 11:52:45 -04:00
Michael DeHaan
e8aa847e5b Attempt to clean up the munging functions a little. 2014-10-06 17:40:36 -04:00
Michael DeHaan
d97b38ba83 Attribute defaults and optional accessors. 2014-10-06 17:06:13 -04:00
Michael DeHaan
e66a0096a7 Work in progress on task loading. 2014-10-06 16:29:18 -04:00
Michael DeHaan
1556b0384f Add submodule references since v2 development will need them, the tree obviously does
not need two copies.
2014-10-06 16:29:18 -04:00
Michael DeHaan
f066e361f1 WIP on data structure processing patterns. 2014-10-06 16:29:18 -04:00
James Cammarata
f3714c88a6 Revert "atfork import warning should be suppressed when system_warnings = False"
This reverts commit a175168686.
2014-10-06 15:05:52 -05:00
James Cammarata
12d5b75a43 Template play vars after reading them
Fixes #9242
2014-10-06 10:50:55 -05:00
CaptTofu
83457e147c Small fix for issue #9275 2014-10-05 03:35:22 -07:00
James Cammarata
05644686de Fix bug in plugin path caching
Fixes #9263
2014-10-04 21:47:38 -05:00
Lorin Hochstein
e26ed64ad8 Documentation typo: ansible-module[s]-extras
Typo: ansible-module-extras -> ansible-modules-extras in a link to this
repository.
2014-10-04 17:27:20 -04:00
Michael DeHaan
8cecb0690f Update base.py
updated with some notes
2014-10-04 09:48:25 -04:00
Michael DeHaan
94db7365b9 __getattr__ to hide some of the attribute magic. 2014-10-03 17:09:25 -04:00
Bruce Pennypacker
a175168686 atfork import warning should be suppressed when system_warnings = False
Fixes #9247
2014-10-03 15:48:56 -05:00
Michael DeHaan
b54434c1b2 WIP on Attributes. Getting closer. 2014-10-03 16:37:32 -04:00
Michael DeHaan
b02afa2268 Update submodule reference 2014-10-03 15:33:36 -04:00
Michael DeHaan
6db1b4dfd2 WIP on refactoring changes 2014-10-03 15:25:21 -04:00
Michael DeHaan
b9223e5995 Add attribute starter notes 2014-10-03 15:01:59 -04:00
Michael DeHaan
335221d79e This is an exceedingly rough sketch of what attributes might look like - metaclass implementations NOT complete. 2014-10-03 14:54:04 -04:00
James Cammarata
0c40c6c23c Fix order of resolving dependent role variables from vars files
Also adds a new class to the test_var_precedence test to check for
this type of error in the future.

Fixes #9178
2014-10-03 13:30:47 -05:00
Michael DeHaan
402d0c37b8 Submodule update 2014-10-03 12:04:06 -04:00
Michael DeHaan
b4657234d2 Refresh submodule pointers. 2014-10-03 10:46:49 -04:00
Michael DeHaan
fa81680d9b Fix docstring. 2014-10-03 10:42:38 -04:00
Michael DeHaan
4e4308b8e1 Merge branch 'refactor_pass' into devel 2014-10-03 10:35:52 -04:00
Michael DeHaan
ff87ac08a7 An attempt at modularization prior to moving things towards BaseObject and considering Attributes. 2014-10-03 10:34:51 -04:00
Michael DeHaan
e24825cb58 Merge pull request #9237 from jkleckner/add-limit-from-file-doc
Add doc of @filename in intro_patterns.rst
2014-10-03 08:15:18 -04:00
Michael DeHaan
2ee049992b Merge pull request #9239 from direvus/grammar-its
Fix several it's/its errors in the documentation.
2014-10-03 08:14:49 -04:00
Michael DeHaan
a8a4347d5b Merge pull request #9250 from i5513/patch-2
Add readlink filter doc
2014-10-03 08:13:56 -04:00
Michael DeHaan
5e21ebb2a8 Merge pull request #9252 from kim0/patch-1
Add one line example for looking up through etcd
2014-10-03 08:13:09 -04:00
James Cammarata
cae88ca12f Initial work to refactor Task 2014-10-03 07:08:03 -05:00
Toshio Kuratomi
cef2a8795f Make dynamic inventory return byte str, not unicode 2014-10-02 20:27:06 -04:00
Ahmed Kamal
48ee191379 Add one line example for looking up through etcd 2014-10-02 23:45:46 +03:00
i5513
e98d8c2b5e Add readlink filter doc
As requested at request pull #9213, I'm proposing updathing this doc. Do you have man pages where I can update this too ?

Thanks
2014-10-02 20:30:44 +02:00
Michael DeHaan
32309e37ce Plan for unified CLI with subcommands? 2014-10-02 13:50:54 -04:00
Michael DeHaan
723e4bddc3 Remove typo and intermediate dir. 2014-10-02 13:48:22 -04:00
Michael DeHaan
da01eef4db Move v2 out of the package tree so it does not yet appear. 2014-10-02 13:47:25 -04:00
Michael DeHaan
367f70fb17 Fix target in makefile 2014-10-02 13:43:36 -04:00
Michael DeHaan
1aa338a353 Make target for nosetests, no need to set library path for previous tests 2014-10-02 13:41:52 -04:00
Michael DeHaan
afe1409a6e Have a parallel development and test tree. 2014-10-02 13:40:12 -04:00
Michael DeHaan
7fb55c7a9b Some restructuring. 2014-10-02 13:36:41 -04:00
Michael DeHaan
7ebf246ff1 Some signature related things, prior to starting test scaffolding 2014-10-02 13:29:24 -04:00