Commit Graph

26734 Commits (842394b1ab06756c37c3c15e1b72acec053c3282)
 

Author SHA1 Message Date
Nate Prewitt 842394b1ab removing | from description so docs render properly in RTD (#2533) 8 years ago
Robin Roth 6fdad49309 allow overwrite_multiple with more than 2 repos (#2481)
2.1 introduces overwrite_multiple, which can overwrite more than one
exisiting repo (with matching alias or URL). Allow more than 2 repos to
be overwritten, since openSuSE allow more than one repo with the same
URL if the alias is different.
8 years ago
Hiroaki Nakamura 04d049cee9 Fix lxd_container and lxd_profile document to be rendered properly 8 years ago
Hiroaki Nakamura a06179e08b Change command to check python is installed 8 years ago
Hiroaki Nakamura 382f9b0999 Fix initializing err in _get_err_from_resp_json 8 years ago
Hiroaki Nakamura e3c402ada3 Remove debug parameter and add logs in return object when invoked with -vvvv 8 years ago
Hiroaki Nakamura 25ed6a7564 Fix sending request 8 years ago
Hiroaki Nakamura 364ad3b8e5 Remove support for type=profile from lxd_container module 8 years ago
Hiroaki Nakamura be391b4d1f Add lxd_profile module 8 years ago
Hiroaki Nakamura 9d13552999 Create LXDClient and LXDClientException 8 years ago
Hiroaki Nakamura 4630540ca9 Unify unix_socket_path and url to the url parameter 8 years ago
Hiroaki Nakamura 008dd0236d Use metadata.err for error msg and return logs only when debug is true 8 years ago
Hiroaki Nakamura c671ff5fda Add debug parameetr and put logs in result when debug is true or module failed 8 years ago
Hiroaki Nakamura 42401ea2c3 Use timeout only for chaging state and getting IPv4 addresses 8 years ago
Hiroaki Nakamura 22957e79f6 Check argument choices according to type value 8 years ago
Hiroaki Nakamura bb69e7030c Add support for connecting via https with a client certificate 8 years ago
jpic 684291d461 s/_needs_to_change_config/_needs_to_change_container_config/ 8 years ago
Hiroaki Nakamura 1079de804c Support for creating, modifying, renaming and deleting a profile 8 years ago
Hiroaki Nakamura d26c84d620 Fix invalid YAML in document 8 years ago
Hiroaki Nakamura a0bf88f60a Split config parameter to config, devices, profiles, source et al 8 years ago
jpic 776a748eb4 Can't use super on old style classes 8 years ago
jpic a982b95846 Refactor 8 years ago
Hiroaki Nakamura c00de7b3c9 Expand tab with 8 spaces 8 years ago
Hiroaki Nakamura dd19f6d61b No meaningful change just to trigger Travis 8 years ago
Hiroaki Nakamura 2b982c8345 Remove sample of logs in returned object 8 years ago
Hiroaki Nakamura 82948398bd Use httplib instead of requests_unixsocket 8 years ago
Hiroaki Nakamura f9b5075187 Add documentation about logs in returned object 8 years ago
Hiroaki Nakamura e151e5324e Fix bug in comparing config 8 years ago
Hiroaki Nakamura 53fe20f1da Apply config to the existing container 8 years ago
Hiroaki Nakamura 8756a79a54 Remove dependency to pylxd and use requests_unixsocket directly 8 years ago
Hiroaki Nakamura f7dcadeb07 Update document about copying files to containers 8 years ago
jpic 156a711753 Remove example from notes, syntax fix 8 years ago
Hiroaki Nakamura b02e805c37 Document about copying files and using an remote image 8 years ago
Hiroaki Nakamura ff985a03ae Present clearer messages for connection error 8 years ago
Hiroaki Nakamura c538f4d7ca Fix examples 8 years ago
Hiroaki Nakamura a48354576e Simplify requirements 8 years ago
Hiroaki Nakamura 8d511d6bc1 Fix English in documentation 8 years ago
Hiroaki Nakamura 8dff16a253 Fix indent 8 years ago
Hiroaki Nakamura 669a9838d5 Fix RETURN document to be a valid yaml 8 years ago
Hiroaki Nakamura dc9905a8de Add __init__.py to cloud/lxd 8 years ago
Hiroaki Nakamura e69dd88681 Add lxd_container module 8 years ago
Patrik Lundin dc4914bd19 Improve debug log some more. 8 years ago
Patrik Lundin 108205ffc6 Make fail messages all use lowercase messages. 8 years ago
Patrik Lundin 3ac32cf365 Improve debug logging some more. 8 years ago
Patrik Lundin 89c5cddda1 No support for build=true with 'branch' syntax. 8 years ago
Patrik Lundin 04409cc214 Improve debug logging for build code. 8 years ago
Patrik Lundin 09b0871f17 Add a break and extra debug log for clarity. 8 years ago
Patrik Lundin e8b1d27057 openbsd_pkg: no need to call .rstrip. 8 years ago
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.
8 years ago
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.
8 years ago