Toshio Kuratomi
3fba006207
Update bare exceptions to specify Exception.
...
This will keep us from accidentally catching program-exiting exceptions
like KeyboardInterupt and SystemExit.
2018-12-16 15:03:19 -08:00
Monty Taylor
fea71d2767
Update Jesse Keating's github id ( #39904 )
...
Jesse is no longer j2sol, he's now omgjlk.
2018-05-11 07:38:15 +02:00
Dag Wieers
cdd21e2170
Clean up module documentation ( #36909 )
...
* Clean up module documentation
This PR includes:
- Removal of `default: None` (and variations)
- Removal of `required: false`
- Fixing booleans and `type: bool` where required
* Fix remaining (new) validation issues
2018-03-15 22:15:24 +01:00
Matt Clay
68aeaa58a8
Fix dangerous default args. ( #29839 )
2017-09-12 00:11:13 -07:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Toshio Kuratomi
4109a82d0a
remove wildcards and add boilerplate
...
* cloud/centurylink
* source_control
* cloud/google
* notification
* cloud/rackspace
* cloud/vmware
2017-07-29 14:13:30 -07:00
Toshio Kuratomi
225fa5d092
Fix undefined variables, basestring usage, and some associated python3 issues
2017-07-25 15:58:23 -07:00
Abhijeet Kasurde
211d0656f8
Misc Typo correction ( #25025 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-05-25 16:14:39 +02:00
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
Andrea Tartaglia
ef391a11ec
Removed dict.iteritems() in modules. ( #18859 )
...
This is for py3 compatibility, addressed in #18506
2016-12-12 15:16:23 -08:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
21bd86ef1d
Call main in conditional way - cloud/rackspace
2016-12-08 11:25:35 -05:00
adejongh
a89992f70f
Fixed incorrect usage of user_data variable ( #5194 )
2016-12-08 11:25:19 -05:00
@
7e4b1ebff5
Fixing Rackspace compile time errors irt exception handling for Python 3 ( #3849 )
2016-12-08 11:24:34 -05:00
Pete Travis
b504625f72
quote fail
2016-12-08 11:24:07 -05:00
Pete Travis
f6efa9aaa5
expand when opening too
2016-12-08 11:24:07 -05:00
Pete Travis
57703450f5
use expanduser() before testing user_data as file
...
I like to use ~/somepath instead of absolute paths because
that's more shareable. Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
2016-12-08 11:24:07 -05:00
Greg DeKoenigsberg
18ca7aee07
Updating cloud modules with proper github author information
2016-12-08 11:23:07 -05:00
Matt Martz
bcd9f83521
Prevent an empty error message
2016-12-08 11:22:48 -05:00
Matt Martz
8e4755728e
DRY up duplicate code
2016-12-08 11:22:43 -05:00
Matt Martz
cf50526cb5
Don't hardcode minimum for boot_volume_size
2016-12-08 11:22:43 -05:00
Matt Martz
724ae97898
Fix order of logic to determine required args
2016-12-08 11:22:43 -05:00
Matt Martz
1f51a5effd
Add boot from volume functionality to rax and rax_cbs modules
2016-12-08 11:22:42 -05:00
Brian Coca
32e85c0944
made subcategories for cloud modules for better organization
2016-12-08 11:22:24 -05:00