Hiroaki Nakamura
7662401f45
Remove support for type=profile from lxd_container module
2016-07-01 00:42:50 +09:00
Patrik Lundin
2d353dc98c
Improve debug logging for build code.
2016-06-30 17:41:17 +02:00
Patrik Lundin
c118bcab5c
Add a break and extra debug log for clarity.
2016-06-30 17:30:28 +02:00
Hiroaki Nakamura
f3ec45d270
Add lxd_profile module
2016-07-01 00:28:21 +09:00
Hiroaki Nakamura
7d930930e8
Create LXDClient and LXDClientException
2016-07-01 00:03:46 +09:00
René Moser
bf07cf8d3b
fix typo in get_exception(), extends fix #2502 ( #2507 )
...
introduced with 9e277aabb0
2016-06-30 10:37:21 -04:00
Brian Coca
d42e51a884
added missing msg=
...
fixes #2498
2016-06-30 09:52:18 -04:00
David Fischer
93540b7269
Fix 'function' has no attribute 'errno' ( #2502 )
2016-06-30 15:42:14 +02:00
Hiroaki Nakamura
8ba41ee6a2
Unify unix_socket_path and url to the url parameter
2016-06-30 22:36:58 +09:00
Hiroaki Nakamura
cc8b54d3cc
Use metadata.err for error msg and return logs only when debug is true
2016-06-30 21:42:05 +09:00
Hiroaki Nakamura
308e0984f7
Add debug parameetr and put logs in result when debug is true or module failed
2016-06-30 21:14:48 +09:00
Hiroaki Nakamura
5dc0b934eb
Use timeout only for chaging state and getting IPv4 addresses
2016-06-30 21:02:16 +09:00
Shane Koster
9231241c8b
Pass the lxc_path when checking if container exists ( #2457 )
...
fixes #887
2016-06-30 07:17:49 +02:00
Stephen Granger
2490f87522
Included an example using the jinja 2 map function to return a list of ( #2458 )
...
subnet_ids.
2016-06-30 07:16:05 +02:00
Patrik Lundin
7dcac77df5
openbsd_pkg: no need to call .rstrip.
2016-06-30 00:40:28 +02:00
Patrik Lundin
f4b40926b4
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-06-29 23:57:31 +02:00
Patrik Lundin
39d0088af8
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-06-29 23:27:31 +02:00
Ryan Brown
00b8b96906
Merge pull request #2209 from brandond/new-module-ec2_vpc_nacl_facts
...
New module ec2_vpc_nacl_facts
2016-06-29 14:35:45 -04:00
Hiroaki Nakamura
eb7488854b
Check argument choices according to type value
2016-06-30 01:59:37 +09:00
Hiroaki Nakamura
61020a87dd
Add support for connecting via https with a client certificate
2016-06-30 01:03:21 +09:00
Hiroaki Nakamura
58b94aecac
Merge pull request #5 from jpic/lxd_container_contrib
...
s/_needs_to_change_config/_needs_to_change_container_config/
2016-06-30 00:45:00 +09:00
jpic
3afe1dcef5
s/_needs_to_change_config/_needs_to_change_container_config/
2016-06-29 15:00:53 +02:00
Nicholas Morsman
f5b7b3b2f2
Bugfix influxdb/retention_policy: infinite retention is returned as 0 ( #2453 )
...
* influxdb: retention_policy: infinite retention is returned as 0 from influxdb
* influxdb: retention_policy: database_name argument should be required
2016-06-29 14:12:50 +02:00
_srsh_
feb08d9a84
module was failing on python 2.7 after last update ( #2459 )
2016-06-29 09:12:04 +02:00
Tim Rupp
4bbbad6378
Adds coding conventions for the bigip-virtual-server module ( #2473 )
...
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.
2016-06-29 09:09:37 +02:00
Hiroaki Nakamura
c82cfe8d28
Support for creating, modifying, renaming and deleting a profile
2016-06-29 00:24:56 +09:00
Hiroaki Nakamura
fd9a6a7f26
Fix invalid YAML in document
2016-06-28 23:02:08 +09:00
Hiroaki Nakamura
f46d3086d6
Split config parameter to config, devices, profiles, source et al
2016-06-28 22:52:40 +09:00
Hiroaki Nakamura
7f327cce15
Merge pull request #3 from jpic/lxd_container_contrib
...
Can't use super on old style classes
2016-06-28 20:53:41 +09:00
jpic
7ba6915b49
Can't use super on old style classes
2016-06-28 12:38:40 +02:00
Shota
d25c487ac8
Fix some typos ( #2490 )
2016-06-27 23:03:56 -04:00
Brad Davidson
8319d935ca
New module ec2_vpc_nacl_facts
2016-06-27 12:36:33 -07:00
Ryan Brown
ac8e3f18a3
Merge pull request #1599 from jmunhoz/s3-bucket-ceph
...
Add Ceph RGW S3 compatibility
2016-06-27 13:14:07 -04:00
Hiroaki Nakamura
848a2b42ee
Merge pull request #2 from jpic/lxd_container_contrib
...
Refactor
2016-06-27 23:10:06 +09:00
jpic
f68c1a1071
Refactor
2016-06-27 13:35:19 +02:00
Hiroaki Nakamura
3046332031
Expand tab with 8 spaces
2016-06-26 09:20:49 +09:00
Hiroaki Nakamura
e4d02a6a91
No meaningful change just to trigger Travis
2016-06-26 09:15:06 +09:00
Hiroaki Nakamura
6d0a3d7227
Remove sample of logs in returned object
2016-06-26 09:03:35 +09:00
Hiroaki Nakamura
2ee5c04335
Use httplib instead of requests_unixsocket
2016-06-26 08:57:32 +09:00
Hiroaki Nakamura
82302e80d4
Add documentation about logs in returned object
2016-06-26 08:57:32 +09:00
Hiroaki Nakamura
cf6e3b9ea8
Fix bug in comparing config
2016-06-26 08:57:32 +09:00
Hiroaki Nakamura
f78e6f49e8
Apply config to the existing container
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
f786a3e113
Remove dependency to pylxd and use requests_unixsocket directly
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
05700edc0b
Update document about copying files to containers
2016-06-26 08:57:31 +09:00
jpic
d2fa7c75da
Remove example from notes, syntax fix
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
5da4699f83
Document about copying files and using an remote image
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
53f482308d
Present clearer messages for connection error
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
9a8d1253fa
Fix examples
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
95f5a3550a
Simplify requirements
2016-06-26 08:57:31 +09:00
Hiroaki Nakamura
ed47f57598
Fix English in documentation
2016-06-26 08:57:31 +09:00