Commit graph

4460 commits

Author SHA1 Message Date
Michael DeHaan
7f4718bca4 Merge pull request #2490 from szinck/devel
Added SunOS (Solaris, illumos, etc) service management
2013-03-24 14:45:07 -07:00
Michael DeHaan
4f4ee3693f Merge pull request #2440 from jochu/service-chkconfig-add
attempt to add service to chkconfig when suggested
2013-03-24 14:33:17 -07:00
Michael DeHaan
97d2c955a8 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support
Added additional filter options for instances for EC2 and Eucalyptus
2013-03-24 14:31:50 -07:00
Michael DeHaan
3d5aa5dc2c Merge pull request #2487 from dorfsmay/20130322
fixed doc regarding wild card pattern on groups.
2013-03-24 14:26:07 -07:00
Michael DeHaan
c163f5af9e Minor consistency tweak, pwd => password 2013-03-24 16:43:03 -04:00
michael@ansibleworks.com
ecda87cb63 Fixup docsite links 2013-03-24 16:41:20 -04:00
michael@ansibleworks.com
e086d6fd89 Doc updates 2013-03-24 16:41:20 -04:00
Michael DeHaan
b68f81a727 Merge pull request #2489 from vincentvdk/devel
rhn_channel module
2013-03-24 13:36:02 -07:00
Michael DeHaan
b5f3881e01 Merge pull request #2491 from tones111/to-upstream
Support systemd template service unit files
2013-03-24 13:35:36 -07:00
Shaun Zinck
8a6ef8c69a service: fix typo 'err' in SunOS service class 2013-03-24 13:47:56 -05:00
Vincent Van der Kussen
81a113ad6b Removed false info 2013-03-24 19:45:39 +01:00
Vincent Van der Kussen
255f2b868f Removed info about hard coded user/pwd in the documentation part 2013-03-24 09:16:58 +01:00
Paul Sbarra
b545b4c5fc service: add systemd template support 2013-03-23 23:13:51 -05:00
Paul Sbarra
4cfda2a965 service: fix systemd compilation error with --check 2013-03-23 23:07:18 -05:00
Vincent Van der Kussen
98406462d1 Made user and password options that can be passed to the module 2013-03-23 22:04:48 +01:00
Shaun Zinck
60bfd38820 Added SunOS (Solaris, illumos, etc) service management using svcadm and svcs commands 2013-03-23 16:02:54 -05:00
Vincent Van der Kussen
38c41b6f9e renamed module 2013-03-23 16:33:14 +01:00
Vincent Van der Kussen
3a626032ae added rhn_channel module 2013-03-23 16:32:10 +01:00
Vincent Van der Kussen
1388bb7859 Added module rhn_channel 2013-03-23 16:30:02 +01:00
Yves Dorfsman
5485451ddb fix doc regarding wild card pattern on groups. 2013-03-22 23:05:40 -06:00
Michael DeHaan
934029842e Merge pull request #2485 from jochu/bug-postgresql-quotes
Add quotes around postgresql database name
2013-03-22 13:15:53 -07:00
Jeffrey Chu
18b6091da1 Add quotes around postgresql database name 2013-03-22 13:03:11 -07:00
Michael DeHaan
bff581be4c Merge pull request #2482 from bladypirat/devel
disabled appending file with garbage when regexp didn't match.
2013-03-22 05:55:36 -07:00
Piotr Kweclich
2e4c02f93e disabled appending file with garbage when regexp didn't match. 2013-03-22 11:43:44 +01:00
Michael DeHaan
50461a686c Merge pull request #2481 from stoned/misc-comments-fix
Fix pathnames in comments
2013-03-21 21:10:42 -07:00
Stoned Elipot
86995d7786 Fix pathnames in comments 2013-03-22 02:11:58 +01:00
Michael DeHaan
b70c26dc45 Merge pull request #2466 from sfromm/issue2449
Limit scope of arguments to service_control() in service module
2013-03-20 19:07:16 -07:00
Michael DeHaan
5c1b436923 Merge pull request #2451 from lwade/pythoninterpreter
Changed python interpreter to be consistent in these modules as compared...
2013-03-20 18:58:28 -07:00
Michael DeHaan
cef817c3b4 Merge pull request #2458 from CodeBlock/devel
Fix broken virtualenv link in pip documentation.
2013-03-20 18:57:29 -07:00
Michael DeHaan
fce18d50ed Merge pull request #2468 from tgerla/devel
Add links to the ansible-examples repository in docs
2013-03-20 18:56:59 -07:00
Michael DeHaan
8d85b27ac9 Merge pull request #2472 from sfromm/issue2471
Fixes for get_remote_head in git module
2013-03-20 18:56:20 -07:00
Stephen Fromm
b694b9a66e Fixes for get_remote_head in git module
See issue #2471

This fixes get_remote_head() to be smarter about how to check remote
head.  It checks if it is a remote branch or tag and then checks for the
remote object id associated with it.  If it is sha1, get_remote_head()
returns it as-is since there doesn't appear to be a way to check a
remote repository for a specific object/sha1.  is_remote_tag() is added
to help out the new functionalit in get_remote_head().

In main(), if check_mode is true and version is a sha1, the module now
checks to see if the object is present.
2013-03-20 14:28:06 -07:00
Tim Gerla
242f988daf Add links to the ansible-examples repository 2013-03-20 09:45:41 -07:00
Stephen Fromm
5194a71a70 Limit scope of arguments to service_control() in service module
This fixes handling of arguments (module argument) in service_control().
It is now locally scoped such that modifications to it, in the case of a
systemd host, do not later impact subsequent calls to service_control().
See issue #2449.

Without patch:
ansible-service[6177]: Command /usr/bin/systemctl stop cups cups , daemonize True

With patch:
ansible-service[6475]: Command /usr/bin/systemctl start cups , daemonize True

I also updated the comments to reflect the case where systemd is really
being called.
2013-03-20 08:50:36 -07:00
Ricky Elrod
9af40aa99a Fix broken virtualenv link in pip documentation. 2013-03-19 14:12:54 -04:00
Michael DeHaan
92997ec789 Merge pull request #2457 from robparrott/add_host-inventory-group-fix
invalidate group cache when adding a new group
2013-03-19 11:03:13 -07:00
Rob Parrott
149f1f9f3c invalidate group cache so that a group added by the add_host module will be relfected in the groups variable in later plays. 2013-03-19 13:57:45 -04:00
lwade
9dda148679 Changed python interpreter to be consistent in these modules as compared to all others. 2013-03-19 16:07:36 +00:00
Michael DeHaan
2baece3a03 Merge pull request #2447 from dorfsmay/20130318-ansible-doc
Mention of ansible-doc and man pages for modules.
2013-03-18 21:13:49 -07:00
Yves Dorfsman
8b10cc5946 Mention of ansible-doc and man pages for modules. 2013-03-18 20:31:42 -06:00
Michael DeHaan
a4a1545640 Merge pull request #2439 from jochu/service-chkconfig-fail
fail when service cannot be found by chkconfig
2013-03-18 07:58:17 -07:00
Jeffrey Chu
f1829a0f86 attempt to add service to chkconfig when suggested 2013-03-18 01:17:41 -07:00
Jeffrey Chu
efc98a09fe fail when service cannot be found by chkconfig 2013-03-18 01:12:28 -07:00
Michael DeHaan
2e797a5155 Merge pull request #2432 from ciupicri/devel-unicode
module_formatter.return_data: use UTF-8 encoding
2013-03-17 18:50:53 -07:00
Harold Spencer Jr
7ab876f19f Added additional filter options for instances for EC2 and Eucalyptus 2013-03-17 15:51:41 -05:00
Cristian Ciupitu
29aaa5e693 module_formatter.return_data: use UTF-8 encoding
The text parameter can contain non-ASCII characters, so we'll encode it
using UTF-8. For example the DOCUMENTATION of the bzr module has such
characters in the name of the author.
2013-03-17 19:55:56 +02:00
Michael DeHaan
9bd586acdb Fix bzr module documentation, name is the primary attribute. 2013-03-17 11:53:27 -04:00
Michael DeHaan
1a5ac9d149 Name should be the primary attribute for the 'parent' in the bzr module. 2013-03-17 11:52:48 -04:00
Michael DeHaan
61c1616fe5 Fix version_added attribute on the bzr module 2013-03-17 11:51:34 -04:00
Michael DeHaan
22cd10bc6f Add note about wanting to do crypted passwords with $PASSWORD plugin. 2013-03-17 11:48:27 -04:00