Commit graph

2701 commits

Author SHA1 Message Date
Michael DeHaan
99a8213be1 Merge pull request #4754 from mscherer/fix_4648
Fix 4648, cron module is not working on solaris
2013-10-31 14:49:25 -07:00
Michael DeHaan
0e7069d7c1 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land. 2013-10-31 16:53:05 -04:00
Michael Scherer
2a3ee8dbf4 make cron module work on solaris
Cron on solaris do not take the same
set of option than vixie cron on linux, and
among the biggest difference, root cannot set
the crontab of a user directly from a file. Thus the
use of su to run the crontab command. Fix issue #4648
2013-10-31 19:58:26 +01:00
Michael Scherer
5547cc9c29 remove unused function 2013-10-31 19:58:26 +01:00
Scott Dunlop
be6e2c9097 add "zle" as a supported ZFS compression type
ZFS supports "zle" compression, which compresses runs of null bytes efficiently.
2013-10-31 10:48:41 -07:00
Sheldon Hearn
5e7be2041e Fix description of nova_compute:name option
It's the name of the instance, not of an image.
2013-10-31 12:34:04 +02:00
Michael DeHaan
98b23de9ab Merge pull request #4727 from leth/apt-key-leading-zeros
Only remove leading '0x' from apt key ids, not all 0s
2013-10-30 17:16:20 -07:00
James Tanner
8036e6ee23 Revert templating enhancements from 73dbab70 e6c28658 d409352c 9858b1f2 4587528b 9b1fe455 214b0b05 8d3db803 7f9504d1 5031104c 35cb9dc2 2bd8cb57 1e85c754 2013-10-30 10:50:16 -04:00
Marcus Cobden
c7dfa16edf Only remove leading '0x' from key ids, not all 0s 2013-10-30 11:50:34 +00:00
James Tanner
3370aee870 Fixes #4720 Use mysql command to restore database instead of mysqldump 2013-10-29 10:33:46 -04:00
jctanner
1a72cd4b0e Merge pull request #4712 from mhite/bigip_node
New BIG-IP module for managing node objects
2013-10-29 06:07:45 -07:00
jctanner
63b1c47881 Merge pull request #4715 from mscherer/fix_4702
Fix #4702, make setup work on windows
2013-10-29 06:03:49 -07:00
Michael Scherer
2865a1b074 Fix #4702, make setup work on windows 2013-10-28 23:41:18 +01:00
Thomas Omans
ae6e080bd9 Pip module: fixing issue with python 2.4 support
Python 2.4.3 returns:
TypeError: expected character buffer object

startswith is expecting only a string instead of a tuple like newer versions allow.
2013-10-28 15:15:04 -07:00
Matt Hite
176cf51b0a Fixed version_added and removed reference to traceback module 2013-10-28 14:51:51 -07:00
James Cammarata
4c80cf411c Fixing authorized_keys module to make the key part detection better
Fixes #4677
Fixes #4657
Fixes #4599
2013-10-28 13:52:45 -05:00
kiri
14d6bda763 add NoneType check. 2013-10-28 21:35:57 +09:00
Michael DeHaan
a33119dede Merge pull request #4509 from mremond/gem_executable
Add executable parameter to find gem binary in gem module
2013-10-27 08:59:19 -07:00
Michael DeHaan
8bcd697816 Merge pull request #4424 from localvoid/firewalld-rich_rules
Add support for Rich Rules in firewalld module
2013-10-27 08:55:22 -07:00
Michael DeHaan
772bd33a0f Revert "fix conversion from file to hardlink when force=yes"
This reverts commit 4d4518ed52.
2013-10-27 11:51:43 -04:00
Michael DeHaan
c44aceb986 Merge pull request #4380 from joshkehn/lineinfile_validate
Added validate option to lineinfile
2013-10-27 08:46:47 -07:00
Michael DeHaan
0f18ac92b4 Merge pull request #4632 from simonsd/devel
refusing to convert between file and hard when force=yes
2013-10-27 08:32:34 -07:00
Michael DeHaan
dcc1beab37 Merge pull request #4600 from earchibald/devel
Added ['date_time']['tz_offset'] using %z to get the time offset rather ...
2013-10-27 08:30:28 -07:00
Michael DeHaan
a1b9dad167 Merge pull request #4597 from vegitron/devel
Allow generic django_management commands
2013-10-27 08:20:48 -07:00
Michael DeHaan
a6aeb12c8c Merge pull request #4560 from tronner/issue4461
Fix illegal set operation in FreeBSD section of user module.
2013-10-26 11:31:20 -07:00
Michael DeHaan
52e35c5e6c Merge pull request #4610 from bennojoy/gcs_fix3
fix for overwrite in put operation
2013-10-26 11:29:11 -07:00
Michael DeHaan
2a7f915088 Merge pull request #4680 from berendt/fix_permissions_of_ovirt
fixed permissions of module library/cloud/ovirt
2013-10-26 09:04:42 -07:00
Michael DeHaan
bc6d454b5e Enable imports to work on a snippet based system, allowing for instance a library of common EC2 functions
to be reused between modules.  See library/system/service and library/system/ping for initial examples.  Can
work the old way to just import 'basic', or can import the new way to import multiple pieces of code from
module_utils/.
2013-10-26 11:09:30 -04:00
Christian Berendt
700969e8cb fixed permissions of module library/cloud/ovirt 2013-10-26 09:05:21 +02:00
jctanner
3c3392a2d9 Merge pull request #4167 from tima/rsync3
synchronization module take 3
2013-10-25 14:43:08 -07:00
James Tanner
f27e2fd285 Fixes #4448 reloaded services should be started if not running 2013-10-25 15:30:02 -04:00
James Cammarata
a220d7c18c Merge branch 'fix_autorized_keys' of https://github.com/mscherer/ansible into mscherer-fix_autorized_keys 2013-10-24 20:13:38 -05:00
James Cammarata
8fc62a1fb0 Fixing up authorized_keys to accept comments with spaces 2013-10-24 20:12:56 -05:00
Michael Scherer
d53abc2d5e make sure that options are quoted, as people can add a shell
script there with a comma that would produce invalid configuration
upon being wrote again
2013-10-24 23:51:55 +02:00
Michael Scherer
2ad3a46e13 sort the option_key to have a constant predictable line 2013-10-24 23:47:34 +02:00
Michael Scherer
7afaeea131 adding a single comma at the end of the options list confuse the module
it start to duplicate line, because this create
a empty option in the list, and so the module add a new line along the previous
one. See

>>> ' a,b, '.strip().split(',')
['a', 'b', '']
2013-10-24 23:46:49 +02:00
jctanner
ee4b3a1446 Merge pull request #4631 from mmoya/mysql_variables-fix3
Fail if requested variable is not available
2013-10-24 10:37:37 -07:00
jctanner
9c108efd47 Merge pull request #4624 from SirScott/freebsd_service_module_uwsgi
Fix broken FreeBsdService class
2013-10-24 10:36:05 -07:00
James Tanner
664c4839eb Set version_added for ec2_eip's in_vpc parameter 2013-10-24 12:19:43 -04:00
jctanner
4fbfa4706f Merge pull request #4593 from pas256/eip-vpc
Add VPC support for EIP module
2013-10-24 10:22:43 -07:00
James Tanner
14e2961268 Set bigip_pool_member version added to 1.4 2013-10-24 11:41:34 -04:00
James Tanner
740491e0ce Fixes #4500 change ec2 module params to type=bool
Revert 4833c2fdf0
2013-10-24 09:19:25 -04:00
jctanner
602e7483c2 Merge pull request #4112 from jsdalton/add_az_support_to_ec2_elb
Add enable_availability_zone parameter to ec2 module.
2013-10-22 14:01:24 -07:00
jctanner
ff4ac6a3ad Merge pull request #4054 from mhite/bigip_pool_member
New bigip_pool_member module
2013-10-22 13:55:41 -07:00
Dave Simons
1f86abcba6 fix conversion from file to hardlink when force=yes
Signed-off-by: Dave Simons <dave@inuits.eu>
2013-10-22 10:46:45 +02:00
Maykel Moya
6155bf2c55 Fail if requested variable is not available 2013-10-22 09:30:19 +02:00
bennojoy
a5b199e07b fix to work like copy module 2013-10-22 09:03:52 +05:30
Scott Sturdivant
037dcbb4da If the output of rcvar isn't a key=value pair, ignore it. 2013-10-21 14:20:54 -06:00
bennojoy
9e3f8670f7 fix for overwrite in put operation 2013-10-21 09:46:21 +05:30
Eugene Archibald
6599feac47 Fixed (broken) tab to (correct) spaces for indentation 2013-10-19 17:04:37 -07:00