Commit graph

1296 commits

Author SHA1 Message Date
Ton Kersten
4b01169584 Squashed commit of the following:
commit e057ea671395ec8847f920a63cf9524f5c8fde5f
Author: Ton Kersten <tonk@tonkersten.com>
Date:   Thu Feb 28 13:02:25 2013 +0100

    Fixed the service command not working

    On Ubuntu 1[02].04 the service name was not recognized because
    there is a SysV style init script, but not an upstart config file.

    Example: The `ntp` client.

    Also removed extra spaces at the end of the lines, while at it.
2013-02-28 13:06:50 +01:00
Nigel Metheringham
ab7d1ec25d Broke BSD ifconfig parser into chunks for subclassing
This allows minor changes to be handled by adding a new
parse line function to the subclass
2013-02-28 09:58:29 +00:00
Nigel Metheringham
bda64afc3b Restructured inheritance of BSD network classes
Now all BSD network classes directly inherit from Network as well as from the generic BSD network class.  This removes the need for itersubclasses().
2013-02-28 09:07:54 +00:00
Patrick Pelletier
e22bd3ca67 Adding support for OpenWrt 2013-02-27 22:16:12 -05:00
Stephen Fromm
568f7892cd Update various modules for check_mode
This updates the following modules to support check_mode:
* apt_key
* apt_repository
* easy_install
* pip - will always report changed due to the way it handles state
* seboolean
* selinux
* slurp - since nothing changes, it just adds that it supports
  check_mode
* subversion - reports changed when checking out new repo and
  when updating.
* supervisorctl
* svr4pkg

See issue #2114.
2013-02-27 12:23:35 -08:00
Daniel Hokka Zakrisson
ca3f46d7fa Fix apt module's boolean check to expect converted value
Fixes #2218.
2013-02-27 20:02:34 +01:00
Michael DeHaan
6979deac0f Merge pull request #2215 from tastychutney/devel
Updated virtualenv note
2013-02-27 08:42:53 -08:00
Scott Anderson
7d125cc10a Updated virtualenv note 2013-02-27 10:01:12 -05:00
Michael DeHaan
5fe4bf262e Merge pull request #2212 from jhoekx/lvol-module
Add lvol module to manage logical volumes.
2013-02-27 05:52:23 -08:00
Daniel Hokka Zakrisson
6e0da757db Merge pull request #2213 from huberteff/devel
Work around hanging module.  Thanks to Daniel Hozac for the tip.
2013-02-27 04:30:39 -08:00
Hubert Feyrer
8c0f95c657 Work around hanging module. Thanks to Daniel Hozac for the tip. 2013-02-27 13:26:12 +01:00
Jeroen Hoekx
a7e8c7f643 Add lvol module to manage logical volumes. 2013-02-27 11:27:26 +01:00
Michael DeHaan
13d28ad794 Merge pull request #2208 from tastychutney/devel
Better documentation, removed runfcgi, added createcachetable
2013-02-26 19:26:39 -08:00
Scott Anderson
def0092578 Better documentation, removed runfcgi, added createcachetable, merge with Michael's changes 2013-02-26 22:11:30 -05:00
Michael DeHaan
ff5cf99bb2 baby-JSON not supported, let selinux module warn using regular JSON 2013-02-26 21:57:47 -05:00
Michael DeHaan
980949baba Resolve merge 2013-02-26 20:57:36 -05:00
Michael DeHaan
113db71bf6 Merge branch 'copy-diff-take2' of git://github.com/stoned/ansible into better_diff
Conflicts:
	library/file
2013-02-26 20:51:32 -05:00
Michael DeHaan
698e30f645 Add some aliases for django manage, mainly around underscores, and use the newer (easier) way to do module docs. Also
add list of avail commands to docs.
2013-02-26 20:45:44 -05:00
Scott Anderson
ca3fa697e9 Django manage.py administration module 2013-02-26 20:45:44 -05:00
Michael DeHaan
bc1f7102d9 Merge pull request #2195 from tbielawa/NOOP
First try and making the nagios module NOOPpable
2013-02-26 17:32:41 -08:00
Michael DeHaan
6a7d30d2c2 Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
Michael DeHaan
c1b7d1bd48 Merge branch 'postgresql-check-mode' of git://github.com/cocoy/ansible into devel 2013-02-26 20:28:04 -05:00
Michael DeHaan
fded969870 Prevent SVN checkouts from failing due self signed certs. 2013-02-26 20:23:12 -05:00
Michael DeHaan
a851de6f1c Merge pull request #2207 from marktheunissen/mysql-pass-and-password
Adding back support for pass=
2013-02-26 16:12:09 -08:00
Mark Theunissen
865de1999b Adding back support for pass= 2013-02-26 16:27:23 -06:00
Daniel Hokka Zakrisson
79930d931a Merge pull request #2187 from dhozac/argument-type-check
Add type checking for module arguments, converting as much as possible
2013-02-26 14:05:36 -08:00
Tim Bielawa
39ef8af4ee Making the nagios module NOOPpable 2013-02-26 12:28:01 -05:00
Stoned Elipot
46b78399d3 Implement --diff for the copy module. 2013-02-25 23:32:52 +01:00
Seth Vidal
34f8fb8e2b command: make sure that all _handle_aliases() calls returns {}
module_common: also work if there are no aliases (shell, command, etc) modules
2013-02-25 17:07:47 -05:00
Seth Vidal
6fd80d2f7e make sure ec2_secret_key is set to no_log=True 2013-02-25 16:34:06 -05:00
Michael DeHaan
4d4dbb370f Better detection of whether a service is managed by systemd or not. 2013-02-24 11:58:05 -05:00
Michael DeHaan
b58cce4c1f Service module now knows a little more about systemd. This module is
really due for some refactoring, but telling how a service is managed is
a little fuzzy anyway.  on a systemd system typoing the service will now
give you a rather systemd specific error which is somewhat suboptimal.
2013-02-24 11:50:39 -05:00
Michael DeHaan
72eb0f046d Run chkconfig enable/disable only when needed. TODO, apply same logic to update-rc.d/systemd 2013-02-24 10:33:40 -05:00
Rodney Quillo
c23fbe4f50 Fix tabs/spaces. 2013-02-24 15:10:57 +08:00
Michael DeHaan
2488b2dfbc If running is given as the state value instead of 'started', still return the correct end state. 2013-02-23 22:28:57 -05:00
Michael DeHaan
f7f4743746 The service module made some assumptions about how a service should be managed based on what was installed on the system in terms of service
management tools, which meant upstart services on CentOS6 were not startable.  This tweak allows things like vmware-tools to be controlled
via the service module.  More testing on other distributions (particularly with systemd) is presumably needed.
2013-02-23 20:31:29 -05:00
Daniel Hokka Zakrisson
1dadd70d9f Remove choices=BOOLEANS as it is no longer needed 2013-02-23 22:57:36 +01:00
Michael DeHaan
362d91004f Fix module docs formatting 2013-02-23 15:11:15 -05:00
Michael DeHaan
1f9f590938 Lots of docsite additions for new features + cleanup lineinfile YAML docs 2013-02-23 15:08:33 -05:00
Daniel Hokka Zakrisson
0150f18a3b Use argument type checking to convert to boolean 2013-02-23 19:59:52 +01:00
Michael DeHaan
04d3834a71 more places to use yaml.safe_load 2013-02-23 13:34:14 -05:00
Michael DeHaan
dd085c7e9f Merge pull request #2180 from jsmartin/cloudformation
CloudFormation support.
2013-02-23 09:57:09 -08:00
Michael DeHaan
8b73dfb6c2 Merge pull request #2185 from lwade/devel
Issue #2158 - add VPC subnet ID support
2013-02-23 09:53:26 -08:00
Michael DeHaan
e4e17d9ac1 Merge pull request #2175 from tyll/devel
mysql_db/user: Use password for my.cnf
2013-02-23 09:52:14 -08:00
Michael DeHaan
055e678701 mark when various new flags were added to the pip & easy_install modules 2013-02-23 12:51:23 -05:00
Michael DeHaan
bc219d0323 Merge pull request #2150 from jhoekx/venv-command
Venv command
2013-02-23 09:50:10 -08:00
lwade
55ac38f2f6 missed a spot. 2013-02-23 17:46:35 +00:00
lwade
b831e803ac Adding VPC subnet ID support 2013-02-23 17:45:47 +00:00
Michael DeHaan
7a21cbfc6c Merge branch 'lineinfile_improvements' of git://github.com/leucos/ansible into devel
Conflicts:
	library/lineinfile
2013-02-23 12:45:36 -05:00
Michael DeHaan
114c4f1a2e Docs tweak to setup module. 2013-02-23 12:36:01 -05:00