Commit graph

13618 commits

Author SHA1 Message Date
Toshio Kuratomi
43c1a97447 Various unicode and backslash escape cleanups
* Do backslash escape parsing in parse_kv() [was being done in the copy
  module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
  calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally.  Warning, no bandaid for
  things calling split_args without giving it unicode (shouldn't matter
  as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
  sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
  before writing to the file.
* Add initial unittests for split_args and parse_kv.  4 failing
  tests.because split_args is injecting extra newlines.
2015-03-30 19:19:34 -07:00
Toshio Kuratomi
1cc2135a0d Fix no closed parens 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
4aa3ac41a1 Port sivel's fix for egg_info (#10563) to v2 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
ce512e18f0 Remove fireball connection plugin. v2 will have accelerate but not fireball 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
dc9b36ccb0 Some notes on optimizing module_replacer 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
68880a797d Update core to fix cloudformation problem 2015-03-30 19:15:41 -07:00
Brian Coca
299314c6b6 Merge pull request #10545 from resmo/feature/cloudstack-utils
cloudstack: common code used in cloudstack modules
2015-03-30 22:03:45 -04:00
Brian Coca
1ae5b9292c Merge pull request #10571 from bcoca/community_docs
small updates to community and contribution page
2015-03-30 09:00:01 -04:00
Brian Coca
3afc54d298 added zabbix modules to changelog 2015-03-29 16:51:11 -04:00
Brian Coca
c90e3f0d16 small updates to community and contribution page 2015-03-29 15:58:56 -04:00
Brian Coca
7fdfb130bb Merge pull request #10566 from bcoca/role_sudo
readded sudo/su vars to allow role/includes to work with passed sudo/su
2015-03-29 10:14:26 -04:00
Brian Coca
662b35cbce readded sudo/su vars to allow role/includes to work with passed sudo/su 2015-03-27 18:30:42 -04:00
Brian Coca
d628f3f591 Merge pull request #10563 from sivel/fix-gen-egg-info
egg_info is now written directly to lib
2015-03-27 13:37:01 -04:00
Matt Martz
104b2036f7 egg_info is now written directly to lib 2015-03-27 12:03:20 -05:00
Brian Coca
1f2e60f251 Merge pull request #10558 from hagbarddenstore/devel
Always define error before using it
2015-03-27 08:30:38 -04:00
Brian Coca
35a8f94b52 Merge pull request #10557 from kristous/patch-2
Update README.md
2015-03-27 08:24:26 -04:00
Brian Coca
76e3a9c93a Merge pull request #9894 from 47lining/cloud_modules_sts_support_redux_ansible
Cloud Modules STS Support Redux
2015-03-27 08:20:43 -04:00
Brian Coca
ecae993ead Merge pull request #10554 from jxn/changelog-spellcheck
Fix a few spelling errors in the changelog
2015-03-27 07:56:24 -04:00
Kim Johansson
576832e4c9 Always define error before using it
When the error reason is "Forbidden", the code throws a Python exception
rather than simply outputting the exception reason.

It's not nice to throw a Python exception when all the info to display
a proper message is available.
2015-03-27 10:46:01 +01:00
kristous
e964439b99 Update README.md
to get debuild you need to install devscripts
2015-03-27 07:47:20 +01:00
jxn
bc2e6d4d0e Fix a few spelling errors in the changelog 2015-03-26 20:00:52 -05:00
Brian Coca
75f933cf64 Merge pull request #10551 from deimosfr/devel
fix consul inventory issue (missing method param)

merging as this does not seem to have worked before
2015-03-26 17:58:50 -04:00
deimosfr
7b63a57993 fix consul inventory issue (missing method param) 2015-03-26 21:40:36 +01:00
Toshio Kuratomi
b7936009c2 Correct typo 2015-03-26 12:09:36 -07:00
Toshio Kuratomi
0ec1b025a9 Update the module pointers 2015-03-26 11:59:53 -07:00
Toshio Kuratomi
ea2d00c558 v2 equivalent for https://github.com/ansible/ansible/pull/8564
Looks like there's currently no code for the ansible_*_interpreter but
modified the note abouot adding it
2015-03-26 11:57:27 -07:00
Toshio Kuratomi
5bf9ea6298 make sure the shebang we inject into the module is a str
Fixes #8564
2015-03-26 11:52:19 -07:00
Rene Moser
3e7d959c9d cloudstack: module utils are BSD licensed 2015-03-26 15:39:02 +01:00
Rene Moser
c066a60b7c cloudstack: fail_json() if library cs is not found 2015-03-26 15:32:58 +01:00
Rene Moser
1ba05dd3a2 cloudstack: add doc fragment 2015-03-26 14:18:23 +01:00
Rene Moser
bb6d983290 cloudstack: add utils for common functionality 2015-03-26 14:18:13 +01:00
Brian Coca
e9c8e89c77 added cloudtrail to changelog 2015-03-26 01:16:32 -04:00
Brian Coca
3615171651 added maven artifact to changelog 2015-03-25 23:56:26 -04:00
Brian Coca
74ef30cec1 added pushover module to changelog 2015-03-25 23:16:05 -04:00
Brian Coca
51d6db136c updated changelog 2015-03-25 22:06:54 -04:00
Brian Coca
ff71f06b3f Merge pull request #10538 from tobarja/patch-1
Fix some typos in CHANGELOG.md
2015-03-25 22:03:43 -04:00
Andrew Thompson
c697bc2546 Fix some typos in CHANGELOG.md 2015-03-25 21:58:24 -04:00
Toshio Kuratomi
60f972dfe4 Fix the command module handling of non-ascii values.
We can't depend on the args being unicode text because we're in module
land, not in the ansible controller land
2015-03-25 13:57:48 -07:00
Toshio Kuratomi
38892e986e Convert exceptions to unicode using to_unicode rather than str. that stops unicode errors if the string has non-ascii text 2015-03-25 13:56:46 -07:00
Toshio Kuratomi
aaa25eb75c Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
Fix and test.

Fixes #10536
2015-03-25 12:24:49 -07:00
Toshio Kuratomi
c024057e97 Fix assert to work with unicode values 2015-03-25 12:24:49 -07:00
James Cammarata
1eed3edc2f tweaking the CHANGELOG 2015-03-25 14:17:16 -05:00
Brian Coca
d3d343c751 Merge pull request #10534 from matthieucan/patch-1
doc: building debian package: 'asciidoc' is a required dependency
2015-03-25 14:54:29 -04:00
Toshio Kuratomi
2c3e58ad59 And all of core module changes added 2015-03-25 10:15:19 -07:00
Toshio Kuratomi
9b20ca31d6 Add a unch of changelog entries for 1.9 2015-03-25 09:24:48 -07:00
Toshio Kuratomi
1aaf444943 Put all module changes in the same location 2015-03-25 08:51:35 -07:00
Matthieu Caneill
1b11e45f3c doc: building debian package: 'asciidoc' is a required dependency 2015-03-25 16:34:07 +01:00
Brian Coca
00b9364699 added modules from extras 2015-03-25 10:57:13 -04:00
Toshio Kuratomi
34cd6deb9f Spelling 2015-03-25 07:41:13 -07:00
Brian Coca
699f6b16db a few more updates 2015-03-25 10:36:20 -04:00