Commit graph

2320 commits

Author SHA1 Message Date
James Cammarata
ef02c6107a Minor fix to account for template service names in systemctl 2013-09-10 11:31:13 -05:00
James Cammarata
f22ffab259 Fix for update-rc.d based systems that also have systemd installed
By default, the service module had assumed that if the system had the
update-rc.d binary, the service was either managed via upstart or standard
sysV init-style scripts. This patch adds a check for systemctl ahead
of the other methods when update-rc.d is detected, and also simplifies
the logic around the detection of systemctl-managed services
2013-09-10 11:15:30 -05:00
James Cammarata
5a86b82cec Fixing typos in is_keyid function definition and usage
Fixes #4068
2013-09-09 17:26:44 -05:00
James Cammarata
ab21123a5c Revert "Styling: deprecation"
This reverts commit ecc2b6e742.

Fixes #4069
2013-09-09 15:17:43 -05:00
James Cammarata
0a63bcd616 Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes 2013-09-09 10:29:11 -05:00
Charles Blonde
402320dd26 Fix wait_for default value to follow the documentation (documentation = 180, default value = 120) 2013-09-08 23:52:40 +02:00
Charles Blonde
ec3b67c7ec Fix wait_for conversion between String to int 2013-09-08 23:49:33 +02:00
James Laska
5dc830c279 The required package for selinux is libselinux-python 2013-09-06 16:26:48 -04:00
James Cammarata
e62844653c Merge branch 'devel' of https://github.com/abompard/ansible into abompard-devel 2013-09-06 13:51:45 -05:00
James Cammarata
d93edadbbb Merge branch 'fix_postgresql_db' of https://github.com/yteraoka/ansible into yteraoka-fix_postgresql_db 2013-09-06 13:26:01 -05:00
James Cammarata
51fedb64a9 Cleaning up pep8 whitepsace issues in the mysql_replication module 2013-09-06 12:50:50 -05:00
James Cammarata
07c825d8f5 Merge branch 'bugfix' of https://github.com/jsmartin/ansible into jsmartin-bugfix 2013-09-06 12:47:27 -05:00
James Martin
6539652a28 Fixes for python 2.4 support, better collection of riak version. 2013-09-06 13:42:27 -04:00
James Cammarata
d16ba9758e Added version_added to the mysql_variables module doc section 2013-09-06 12:32:08 -05:00
James Cammarata
3fe2549363 Merge branch 'mysql_variables' of https://github.com/banyek/ansible into banyek-mysql_variables 2013-09-06 12:25:52 -05:00
James Cammarata
8dd3339d3a Added version_added to the mysql_replication module doc section 2013-09-06 12:23:41 -05:00
James Cammarata
c5be708dd5 Merge branch 'mysql_replication' of https://github.com/banyek/ansible into banyek-mysql_replication 2013-09-06 12:10:31 -05:00
James Cammarata
0eaae4ac9c Cleaning up whitspace issues in the mysql_user module 2013-09-06 10:51:53 -05:00
John Hamelink
266255640e Fixed #3767 - mysql_user command fails with dots (and underscores) in
database names.
2013-09-06 10:51:53 -05:00
James Cammarata
bb5e4f0673 Merge pull request #3966 from sergevanginderachter/uribug
Fix bug in uri where redirect check fails.
2013-09-05 22:03:42 -07:00
James Cammarata
21ae255fb3 Merge branch 'aix_wpar_facts' of https://github.com/mplonka/ansible into mplonka-aix_wpar_facts 2013-09-05 23:49:29 -05:00
James Cammarata
21ad089361 Merge branch 'rdsfixes' of https://github.com/jamespharaoh/ansible into jamespharaoh-rdsfixes 2013-09-05 23:47:32 -05:00
James Cammarata
1c1c103d93 Corrected example for lineinfile due to ': ' on line
Closes #3992
2013-09-05 20:37:54 -05:00
Aurélien Bompard
e4cfa251e2 Module postgresql_privs: fix default arguments
Defaults arguments must not be added to the connection keywords, as
the other postgresql modules already do.

Closes #4043
2013-09-06 00:17:49 +02:00
James Cammarata
156ab85478 Check for an empty executable passed into the accelerate plugin
This was breaking at least the script module, so it would seem best
to check for it and set it to the default executable value
2013-09-05 15:11:26 -05:00
James Cammarata
a05eec87b2 When putting a file in accelerated mode, make sure it's chowned correctly 2013-09-05 12:04:08 -05:00
TERAOKA Yoshinori
b8a26eda0b fix get_db_info
using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.
2013-09-05 12:40:16 +09:00
James Cammarata
7db7be192b Modified ec2_elb doc per issue #3849 2013-09-03 16:13:25 -05:00
James Cammarata
76faa937a1 Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel 2013-09-03 15:05:13 -05:00
James Cammarata
0a27ded6f3 Adding the facility to the accelerate daemon syslog calls 2013-09-03 11:30:29 -05:00
James Cammarata
17f683aad7 Added 'reloaded' state to list of states checked for bounced services
Fixes #3556
2013-09-03 09:49:19 -05:00
James Cammarata
1b5ec0e224 Merge branch 'devel' into fireball2
Conflicts:
	lib/ansible/playbook/__init__.py
	lib/ansible/playbook/play.py
2013-09-02 21:54:02 -05:00
James Pharaoh
b9c602ea83 make rds handle vpc security groups properly 2013-09-02 20:40:41 +02:00
James Pharaoh
866090efb1 fix for rds region variable 2013-09-02 20:40:32 +02:00
James Cammarata
f8c77e3980 Renaming fireball2 as 'accelerate' and removing old references 2013-08-30 13:26:27 -05:00
Serge van Ginderachter
705613acf8 Fix bug in uri where redirect check fails.
When the redirect check fails, the 'status' key is not set in
resp_redir, so we need to check this.
2013-08-29 15:58:01 +02:00
Michael DeHaan
30f4d91c6a Merge pull request #3953 from melodous/issue-3908
Fix issue 3908. There was some ilegal operations over the sets
2013-08-28 14:01:38 -07:00
Michael DeHaan
b569e6cb78 Merge pull request #3963 from djoreilly/quantum-net-doc
quantum_network: fix some doc mistakes
2013-08-28 13:53:03 -07:00
Darragh O'Reilly
0033e06129 quantum_network: fix some doc mistakes
- tenant_name was missing.
- comments were on wrong tasks.
- error message had a reference to glance.
2013-08-28 21:19:24 +01:00
James Cammarata
1066a1703f Adding chunked file transfers to fireball2 2013-08-28 11:14:58 -05:00
James Cammarata
7ec763106d Added accelerate_port to plays, and made it configurable 2013-08-28 11:14:58 -05:00
James Cammarata
b49f67ee7a Initial support for sudoable commands over fireball2
Caveats:
* requiretty must be disabled in the sudoers config
* asking for a password doesn't work yet, so any sudoers users must
  be configured with NOPASSWD
* if not starting the daemon as root, the user running the daemon
  must have sudoers entries to allow them to run the command as the
  target sudo_user
2013-08-28 11:14:58 -05:00
James Cammarata
e92df1dc76 Bail out correctly if socket.recv gets nothing (indicating a closed socket) 2013-08-28 11:14:58 -05:00
James Cammarata
3d3b318a86 Fireball2 mode working! 2013-08-28 11:14:58 -05:00
Jharrod LaFon
ab85538e9d The cloudformation module argument spec should match the documentation, so that template_parameters is a required argument. 2013-08-27 15:09:30 -06:00
Raul Melo
b0ffba472f Fix issue 3908. There was some ilegal operations over the sets 2013-08-27 17:07:42 +02:00
Michael DeHaan
789d08a85d Merge pull request #3942 from jocelynj/gem
Correctly handle option user_install in gem module
2013-08-27 06:00:06 -07:00
Michael DeHaan
b0b4898e64 Merge pull request #3861 from djoreilly/quantum_net_types
quantum_network should not default network provider type to local
2013-08-27 05:57:21 -07:00
James Cammarata
25713f0b05 Minor text corrections in the yum module documentation 2013-08-24 21:46:41 -05:00
James Cammarata
21cbd424dd Merge pull request #3941 from hnakamur/update_yum_doc_for_name_accepts_url_and_path
Add description and examples for the name parameter accepts a url or a l...
2013-08-24 19:43:33 -07:00