Commit graph

41 commits

Author SHA1 Message Date
Michael DeHaan
41bded178d Rename module 2013-06-08 14:18:31 -04:00
Michael DeHaan
305694a847 Update "added in" version in zypper, update doc name of rhn_register module. 2013-06-08 14:09:37 -04:00
Michael DeHaan
cbee66c88b Rename module 2013-06-08 14:08:52 -04:00
Michael DeHaan
c26d39c9d4 Rename rhnreg_ks to rhn_register 2013-06-08 14:08:23 -04:00
Michael DeHaan
d0ded631d6 Merge pull request #3148 from jlaska/rhnreg_ks
Add rhnreg_ks module
2013-06-08 11:06:24 -07:00
Patrick Callahan
c1ec8ead6c BUG FIX: Add package name to the cmd. 2013-06-07 23:31:21 -04:00
James Laska
6059ce34e3 Minor adjustments to subscription_manager and rhnreg_ks 2013-06-07 14:18:23 -04:00
James Laska
65993e8f35 Reorganize subscription_manager module.
Also ...
 * When unregistering, first unsubscribe from all content
2013-06-07 14:07:00 -04:00
James Laska
a2cbcec328 The rhnreg_ks module acts as a wrapper to the command 'rhnreg_ks'. The
rhnreg_ks command allows users to manage registration to a Red Hat
Network (RHN) (e.g. rhn.redhat.com) server.  The moduel will also
interact with the specified RHN system via XMLRPC as needed.

Before proceeding with registration, the rhnreg_ks module will enable
the system to receive updates from RHN.  This involves enabling the
appropriate RHN yum plugin, as well as disabling an active
subscription-manager yum plugin.

Once enabled, the module will support the following operations:
 * configure
 * register
 * subscribe to custom child channels (see `rhn-channel` command)
 * unregister
2013-06-07 13:45:25 -04:00
Patrick Callahan
79b56667e3 Simple zypper module to install, remove, or upgrades packages. 2013-06-06 21:57:32 -04:00
Michael DeHaan
df4c444571 Fixup doc YAML 2013-06-06 19:21:18 -04:00
James Laska
19b7cb6653 Updated examples and documentation 2013-06-06 16:30:06 -04:00
James Laska
3ba19bf369 Add RHN subscription_manager module
The subscription_manager module acts as a wrapper to the command
'subscription-manager'.  The subscription-manager utility allows users
to manage RHN registration, subscription and yum repositories from the
Red Hat Entitlement platform.

Currently, this module supports the following sub-commands:
 * config
 * [un]register
 * subscribe
2013-06-06 15:00:38 -04:00
Michael DeHaan
3a635d2d26 Lots of formatting fixes 2013-05-24 23:46:23 -04:00
Michael DeHaan
b499f0754e Merge pull request #2986 from wbowling/devel
Fixes apt_repository always reporting file uri repos as changed
2013-05-24 20:07:03 -07:00
Michael DeHaan
82909179a0 Merge pull request #2976 from stoned/pip-virtualenv_command-pathname
Allow virtualenv_command argument of the pip module to be a pathname
2013-05-24 20:01:12 -07:00
Michael DeHaan
e68894ea45 Merge pull request #2975 from stoned/doc-pip-fix
Fix pip module documentation (YAML quoting)
2013-05-24 19:55:14 -07:00
Michael DeHaan
e3af9258ae Merge pull request #2995 from SirScott/pip-sudo-user
pip module -- sudo_user permission problem fix
2013-05-24 19:51:38 -07:00
Stoned Elipot
81e0a7adcc Fix typo in npm module documentation preventing it to be processed by ansible-doc 2013-05-24 01:27:46 +02:00
Scott Sturdivant
b2542bff72 Chdir to tempdir to prevent permissions problems. 2013-05-23 10:56:52 -06:00
William Bowling
222f004bfa Fixes apt_repository always reporting file uri repos as changed 2013-05-23 12:39:22 +10:00
Stoned Elipot
d4d0753e03 Allow virtualenv_command argument of the pip module to be a pathname 2013-05-22 18:15:21 +02:00
Stoned Elipot
83cce7d2e0 Fix pip module documentation (YAML quoting) 2013-05-22 18:09:01 +02:00
John Jarvis
daf4c358f7 fixes case where name is omitted from pip arg list
This code:
```
    if name.endswith('.tar.gz') or name.endswith('.tar.bz2') or
name.endswith('.zip'):
        is_tar = True
```
was not checking whether name is defined since it is an
optional param.
2013-05-18 20:59:21 -04:00
John Jarvis
423fe82d94 fixing syntax error 2013-05-18 19:49:25 -04:00
Michael DeHaan
5f98c6c246 Merge pull request #2948 from jcbagneris/devel
Fixes in apt module doc: typos, examples
2013-05-18 13:33:27 -07:00
Michael DeHaan
223e4e2349 Merge pull request #2932 from bcoca/apt_getbins
apt now uses module function to find bin paths
2013-05-18 13:13:04 -07:00
Michael DeHaan
e389b00050 Merge pull request #2905 from kjkuan/bugfix-apt-version-comparison
Make package version comparison use globbing.
2013-05-18 12:48:28 -07:00
Michael DeHaan
9a19e8a8ae Merge pull request #2875 from yeukhon/devel
Pip's name key can now accept remote package address.
2013-05-18 12:41:12 -07:00
Yeukhon Wong
08a486fe31 Pip can now accept vcs or tarball as name. Prevented adding mirrors when name is vcs.
**Summary**:

There was a bug in the previous commit; pip module would add --use-mirrors options to a source package when state is absent. The bug is resolved in this commit by checking ``not is_package`` in the if branch.

Furthermore, in order to support non-vcs source name like tarballs, we must not add -e option to the arg list. Given this circumstance, this commit have is_tar and is_vcs and the latter is checked to add -e option. Since mirrors do not make sense with vcs or tarball source, this commit will not add --use-mirrors (default to True) as always.
2013-05-18 05:31:29 +00:00
JcB
33ba919e5f Fixes in apt module doc: typos, examples 2013-05-17 16:12:30 +02:00
Brian Coca
a8ca48888f apt now uses module function to find bin paths
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-15 22:44:12 -04:00
Michael DeHaan
d29d142a2d Merge pull request #2911 from sergevanginderachter/apt-repo-ppa-bug
fix an idempotence bug in apt-repository where 'ppa' is used in a plain http://ppa. ....
2013-05-14 13:13:04 -07:00
Jack Kuan
c7ebe44780 Make package version comparison use globbing.
I have something like:

  apt: pkg={{ item }} state=present
  with_items:
    - python-pysqlite2=2.6.3-*
    - python-paramiko=1.7.7.1-*

But due to the use of *'s in the version specifications, the apt ansible
module always reports changed: true. This patch fixes that.
2013-05-13 15:01:02 -04:00
Michael DeHaan
71f77d1583 Merge pull request #2895 from jpmens/docreqs
Add Requirements to rst template, ansible-doc
2013-05-11 11:41:20 -07:00
Jan-Piet Mens
eeb80c695f Add Requirements to rst template, ansible-doc
tweak position & look of Requirements in rst
tweak APT's notes as per anhj's wish
2013-05-11 16:46:59 +02:00
bleader
bdf6819c71 new module to handle FreeBSD packages with pkgng
New binary package management should be the default soon in FreeBSD, and
is already fully useable through self generated and non official binary
repositories.

- add support for pkgng
- support specifying the repository url as a parameter
- allow not to update cache

Signed-off-by: bleader <bleader@ratonland.org>
2013-05-10 15:03:07 +02:00
Yeukhon Wong
5946a25c91 Pip's name key can now accept remote package address.
Summary:

Pip module would abort when name is a remote package address because
the module was expecting a version if ``=`` is part of the name value.

Furthermore, the pip module would require either name or requirement to
be a key, although the documentation table said neither was required.
The fact that one of them must be present is not documented in the
documentation leads to confusion. This commit added this fact as part
of description.

In this commit, we resolve the confusion by stating either ``name``
or ``requirement`` is needed. Next, if the user puts remote address
as the value of the ``name`` key, we will not use mirror. Lastly,
if the user uses the remote serivice address as the name of the
package and the user does not supply -e option in extra_vars
(which is the whole point of this commit), we will add -e to
 extra_vars so pip command can run with -e option.
2013-05-09 05:11:02 -04:00
Michael DeHaan
4f5bcd701f Merge branch 'devel_apt-cache_valid_time' of git://github.com/gottwald/ansible into devel 2013-05-05 12:28:33 -04:00
Serge van Ginderachter
13a9613bc6 fix a bug in apt-repository where 'ppa' is used in a plain http://ppa. .... url 2013-05-03 20:57:55 +02:00
Michael DeHaan
391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00