Hiroaki Nakamura
382f9b0999
Fix initializing err in _get_err_from_resp_json
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
e3c402ada3
Remove debug parameter and add logs in return object when invoked with -vvvv
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
25ed6a7564
Fix sending request
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
364ad3b8e5
Remove support for type=profile from lxd_container module
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
be391b4d1f
Add lxd_profile module
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
9d13552999
Create LXDClient and LXDClientException
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
4630540ca9
Unify unix_socket_path and url to the url parameter
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
008dd0236d
Use metadata.err for error msg and return logs only when debug is true
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
c671ff5fda
Add debug parameetr and put logs in result when debug is true or module failed
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
42401ea2c3
Use timeout only for chaging state and getting IPv4 addresses
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
22957e79f6
Check argument choices according to type value
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
bb69e7030c
Add support for connecting via https with a client certificate
2016-12-08 11:34:30 -05:00
jpic
684291d461
s/_needs_to_change_config/_needs_to_change_container_config/
2016-12-08 11:34:30 -05:00
Hiroaki Nakamura
1079de804c
Support for creating, modifying, renaming and deleting a profile
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
d26c84d620
Fix invalid YAML in document
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
a0bf88f60a
Split config parameter to config, devices, profiles, source et al
2016-12-08 11:34:29 -05:00
jpic
776a748eb4
Can't use super on old style classes
2016-12-08 11:34:29 -05:00
jpic
a982b95846
Refactor
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
c00de7b3c9
Expand tab with 8 spaces
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
dd19f6d61b
No meaningful change just to trigger Travis
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
2b982c8345
Remove sample of logs in returned object
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
82948398bd
Use httplib instead of requests_unixsocket
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
f9b5075187
Add documentation about logs in returned object
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
e151e5324e
Fix bug in comparing config
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
53fe20f1da
Apply config to the existing container
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
8756a79a54
Remove dependency to pylxd and use requests_unixsocket directly
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
f7dcadeb07
Update document about copying files to containers
2016-12-08 11:34:29 -05:00
jpic
156a711753
Remove example from notes, syntax fix
2016-12-08 11:34:29 -05:00
Hiroaki Nakamura
b02e805c37
Document about copying files and using an remote image
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
ff985a03ae
Present clearer messages for connection error
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
c538f4d7ca
Fix examples
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
a48354576e
Simplify requirements
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
8d511d6bc1
Fix English in documentation
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
8dff16a253
Fix indent
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
669a9838d5
Fix RETURN document to be a valid yaml
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
dc9905a8de
Add __init__.py to cloud/lxd
2016-12-08 11:34:28 -05:00
Hiroaki Nakamura
e69dd88681
Add lxd_container module
2016-12-08 11:34:28 -05:00
Patrik Lundin
dc4914bd19
Improve debug log some more.
2016-12-08 11:34:28 -05:00
Patrik Lundin
108205ffc6
Make fail messages all use lowercase messages.
2016-12-08 11:34:28 -05:00
Patrik Lundin
3ac32cf365
Improve debug logging some more.
2016-12-08 11:34:28 -05:00
Patrik Lundin
89c5cddda1
No support for build=true with 'branch' syntax.
2016-12-08 11:34:28 -05:00
Patrik Lundin
04409cc214
Improve debug logging for build code.
2016-12-08 11:34:28 -05:00
Patrik Lundin
09b0871f17
Add a break and extra debug log for clarity.
2016-12-08 11:34:28 -05:00
Patrik Lundin
e8b1d27057
openbsd_pkg: no need to call .rstrip.
2016-12-08 11:34:28 -05:00
Patrik Lundin
24eab14695
openbsd_pkg: fix build=true corner case.
...
* Fix bug where we were actually checking for the availability of the
requested package name and not 'sqlports' even if that was the goal.
* Add check that the sqlports database file exists before using it.
* Sprinkle some debug messages for an easier time following the code when
developing.
2016-12-08 11:34:27 -05:00
Patrik Lundin
f686994af6
openbsd_pkg: support "pkgname%branch" syntax.
...
* Such package names requires at least OpenBSD 6.0.
* Rework get_package_state() to use 'pkg_info -Iq inst:' instead of 'pkg_info -e'
because it understands the branch syntax. It also means we can get rid of
some additional special handling.
This was suggested by Marc Espie:
http://marc.info/?l=openbsd-tech&m=146659756711614&w=2
* Drop get_current_name() because the use of 'pkg_info -Iq inst:' in
get_package_state() means we already have that information available without
needing to do custom parsing. This was also necessary because a name such as
"postfix%stable" does not in itself contain the version information necessary
for the custom parsing. pkg_info -Iq translates such a name to the actual
package name seamlessly.
* Add support for finding more than one package for the supplied package name
which may happen if we only supply a stem.
2016-12-08 11:34:27 -05:00
Tim Rupp
c2deb92f62
Adds style conventions to bigip_pool ( #2537 )
...
A number of coding conventions have been adopted for new F5 modules
that are in development. To ensure common usage across the modules,
this module needed to be updated to reflect those conventions.
No functional code changes were made.
2016-12-08 11:34:27 -05:00
Rene Moser
ec95c5d9b3
alternatives: add missing version_added and default doc
...
Also see #1175
2016-12-08 11:34:27 -05:00
Zack Lalanne
0731bfa996
Fixed #632 added alternatives priority ( #1175 )
2016-12-08 11:34:27 -05:00
Matt Clay
2dafaab539
Add module integration tests on shippable.
2016-12-08 11:34:27 -05:00