Commit Graph

1368 Commits (34e585024c17c7480c46075b9fc5f0b6abe18f72)

Author SHA1 Message Date
Jesse Keating 34e585024c Fix up docs and add ability to insert files
Files can be inserted during server creation (like a fully formed
authorized_keys file). This code allows that to happen.

Docs were updated for formatting, location, and to add the new entry for
files.
13 years ago
Jesse Keating 9027a9b021 Initial commit of rax library
This library provides functionality for the Rackspace Public Cloud by
way of the official pyrax SDK (https://github.com/rackspace/pyrax). At
this time only the cloudservers service is functional. Instances can be
created or deleted. Idempotency is provided on matching instances with
the same name, flavor, image, and metadata values within a given
region.

pyrax usage does require a credentials file written out to hold username
and API key.  See pyrax documentation for details
(https://github.com/rackspace/pyrax/blob/master/docs/pyrax_doc.md)
13 years ago
Michael DeHaan 36bcfb5d49 Merge branch 'lineinfile' of git://github.com/Tinche/ansible into lif 13 years ago
Michael DeHaan befad8f71f Merge pull request #2442 from lwade/vol_os_detection
add better OS detection for BDM
13 years ago
Michael DeHaan cdf5e006ff Merge pull request #2508 from tgerla/devel
Add some examples for local_action and rsync
13 years ago
Alexander Bulimov 0fee59dc86 fixed and extended documentation for lvg module 13 years ago
Brian Coca 5ad3c0603d now check moded returnes 'changed' instead of failure when there are
modifications needed.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
13 years ago
tin ca581840ef Added additional lineinfile documentation.
A little more unit testing.
13 years ago
tin f9b70822d2 Fixed to the lineinfile module.
Added the backrefs parameter to the lineinfile module.
Added tests for the backrefs functionality of the lineinfile module.
13 years ago
Tim Gerla 0e01085ab6 Add some examples for local_action and rsync 13 years ago
Johan Wirén 550cf2979e Fixed webdocs rendering error 13 years ago
Bernhard Weitzhofer fd6b4c2257 "gem"-module: replace python 2.5 language feature
replace conditional expression with python 2.4-compatible if/else
statements
13 years ago
Michael DeHaan 84b641c96d Add state to rhn_channel docs 13 years ago
Michael DeHaan 3c5890f42b Ensure that when transferring a file to a directory the name of the file is the correct basename and not 'source'. 13 years ago
Michael DeHaan cd0dd2a6ad Merge pull request #2496 from lorin/mycnf-quotes
Strip quotes when parsing my.cnf
13 years ago
Michael DeHaan fee201428f Fix RHN module YAML docs formatting 13 years ago
Michael DeHaan 861bee3e36 Quoting 13 years ago
Michael DeHaan 518007a1ba Fix version added attribute, update docs URL 13 years ago
Lorin Hochstein c9990b801e Strip quotes when parsing my.cnf
Remove leading/trailing single or double quotes when parsing the my.cnf
file in mysql_user and mysql_db.

Do this so that these modules parse the my.cnf file the same way that
the mysql client does.

From: http://dev.mysql.com/doc/refman/5.0/en/option-files.html

    You can optionally enclose the value within single quotation marks
    or double quotation marks, which is useful if the value contains a
    “#” comment character.

Fixes #2405
13 years ago
Michael DeHaan 7f4718bca4 Merge pull request #2490 from szinck/devel
Added SunOS (Solaris, illumos, etc) service management
13 years ago
Michael DeHaan 4f4ee3693f Merge pull request #2440 from jochu/service-chkconfig-add
attempt to add service to chkconfig when suggested
13 years ago
Michael DeHaan 97d2c955a8 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support
Added additional filter options for instances for EC2 and Eucalyptus
13 years ago
Michael DeHaan c163f5af9e Minor consistency tweak, pwd => password 13 years ago
Michael DeHaan b68f81a727 Merge pull request #2489 from vincentvdk/devel
rhn_channel module
13 years ago
Shaun Zinck 8a6ef8c69a service: fix typo 'err' in SunOS service class 13 years ago
Vincent Van der Kussen 81a113ad6b Removed false info 13 years ago
Vincent Van der Kussen 255f2b868f Removed info about hard coded user/pwd in the documentation part 13 years ago
Paul Sbarra b545b4c5fc service: add systemd template support 13 years ago
Paul Sbarra 4cfda2a965 service: fix systemd compilation error with --check 13 years ago
Vincent Van der Kussen 98406462d1 Made user and password options that can be passed to the module 13 years ago
Shaun Zinck 60bfd38820 Added SunOS (Solaris, illumos, etc) service management using svcadm and svcs commands 13 years ago
Vincent Van der Kussen 38c41b6f9e renamed module 13 years ago
Vincent Van der Kussen 3a626032ae added rhn_channel module 13 years ago
Vincent Van der Kussen 1388bb7859 Added module rhn_channel 13 years ago
Jeffrey Chu 18b6091da1 Add quotes around postgresql database name 13 years ago
Piotr Kweclich 2e4c02f93e disabled appending file with garbage when regexp didn't match. 13 years ago
Michael DeHaan b70c26dc45 Merge pull request #2466 from sfromm/issue2449
Limit scope of arguments to service_control() in service module
13 years ago
Michael DeHaan 5c1b436923 Merge pull request #2451 from lwade/pythoninterpreter
Changed python interpreter to be consistent in these modules as compared...
13 years ago
Michael DeHaan cef817c3b4 Merge pull request #2458 from CodeBlock/devel
Fix broken virtualenv link in pip documentation.
13 years ago
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.
13 years ago
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.
13 years ago
Ricky Elrod 9af40aa99a Fix broken virtualenv link in pip documentation. 13 years ago
lwade 9dda148679 Changed python interpreter to be consistent in these modules as compared to all others. 13 years ago
lwade a8de66facc adding windows-specific ebs recommendation 13 years ago
lwade e2805e5a06 add better OS detection for BDM 13 years ago
Jeffrey Chu f1829a0f86 attempt to add service to chkconfig when suggested 13 years ago
Jeffrey Chu efc98a09fe fail when service cannot be found by chkconfig 13 years ago
Harold Spencer Jr 7ab876f19f Added additional filter options for instances for EC2 and Eucalyptus 13 years ago
Michael DeHaan 9bd586acdb Fix bzr module documentation, name is the primary attribute. 13 years ago
Michael DeHaan 1a5ac9d149 Name should be the primary attribute for the 'parent' in the bzr module. 13 years ago