Commit Graph

1911 Commits (1626bce3a42f2db810970949d2ba2e599ab34238)
 

Author SHA1 Message Date
Michael DeHaan ebf26ec0a3 Standardize docs 12 years ago
Michael DeHaan 9de5ecbdfc These options to bypass the check code seem to need to occur before said checks. 12 years ago
Chris Gardner 3bdf742d50 Add Solaris O/S facts "distribution" and "distribution_*" 12 years ago
Michael DeHaan 3012d269ff pep8 fixes 12 years ago
Michael DeHaan fa2d027e33 Fix module labelled incorrectly. 12 years ago
Michael DeHaan 6503aea5fe Docs standardization 12 years ago
Michael DeHaan 64320fc662 Docs standardization 12 years ago
Michael DeHaan 9c59057c1f Docs standardization 12 years ago
Michael DeHaan e4f8dc1dd8 Docs standardization 12 years ago
Michael DeHaan b363c09a6e Docs standardization 12 years ago
Michael DeHaan fd62197cf1 Docs standardization 12 years ago
Michael DeHaan a6006f3c0f Docs standardization 12 years ago
Michael DeHaan 901e73918a Doc standardization/style 12 years ago
Michael DeHaan e98ed092d4 Docs standardization/style 12 years ago
Michael DeHaan 76b7534b11 Docs standardization/style 12 years ago
Michael DeHaan b63b0d7b11 Docs/style 12 years ago
Michael DeHaan d5ff40ecc3 Docs/style 12 years ago
Michael DeHaan c33ed6942b Module doc standardization/style 12 years ago
Michael DeHaan 70ea93653f Standardize module doc 12 years ago
Michael DeHaan 3cbf40c71e Standardize docs 12 years ago
Michael DeHaan 38b5b0c241 Standarize docs 12 years ago
Michael DeHaan a004b3a865 Standardize docs 12 years ago
Michael DeHaan 6259c9b34f Standardize docs 12 years ago
Michael DeHaan aeffb17d6b Standardize example 12 years ago
Michael DeHaan 7efe74d151 Warn when there is a space in the mount module opts parameter. 12 years ago
trbs a31ba582b4 Add support for Open and NetBSD platforms for user and group modules, including a new login_class parameter for FreeBSD, OpenBSD and NetBSD. 12 years ago
Michael DeHaan 373e4ee7d4 Merge pull request #3083 from mvo5/feature/facts-add-statvfs
add "size_{total,free}" to the "mount" facts
12 years ago
Michael DeHaan 9e8db11799 Merge pull request #3080 from bigpandaio/devel
Issue #3079: Initializing key_exists in case the S3 bucket does not exis...
12 years ago
Michael DeHaan 3765f4e400 Merge pull request #3076 from mmoya/userspace-arch-facts
Provide userspace_{architecture,bits} facts
12 years ago
Michael DeHaan 82f319d717 Merge branch 'solaris-network-facts' of git://github.com/chrisgardner/ansible into devel 12 years ago
Michael DeHaan 10c905e3e2 Remove debug statement in previous patch. 12 years ago
Michael DeHaan dc1242d7eb Merge branch 'devel' of git://github.com/trbs/ansible into groups 12 years ago
Stephen Fromm 44cdd2dc0f cleanup to dmi fact discovery
When invoking dmidecode, first use module.get_bin_path() and secondly
use module.run_command.
Remove sub function execute() from get_dmi_facts().
Simplify get_dmi_facts() by only using two mechanisms to determine dmi
facts:  first try /sys/devices/virtual/dmi and if not available, use
dmidecode executable.
12 years ago
Benjamin Schwarze 3f95f15bb4 remove unused git function is_current_branch (looks like it returns always True anyway which might be wrong) 12 years ago
Michael DeHaan 6de520f996 Merge pull request #3069 from benjixx/consistently-get-bin-path-for-git
consistently use module.get_bin_path('git', True) to get git path before...
12 years ago
Michael DeHaan f8f4eb8e9b Merge pull request #3068 from lorin/authkey-default
authorized_key: Set manage_dir default value
12 years ago
Michael DeHaan 291cd0b0c4 Merge pull request #3044 from chrisgardner/solaris_facts
Solaris facts
12 years ago
Michael DeHaan 078cb709f4 Merge pull request #3020 from rtheys/virt-state
Support state parameter in list_vms command
12 years ago
Benjamin Schwarze 9d296924de use module.get_bin_path('git', True) once and pass git_path to functions 12 years ago
Michael DeHaan e6620cdb9a Refine error message. 12 years ago
Michael DeHaan da1738723a Merge branch 'rc.d-systemd' of git://github.com/glensc/ansible into sysd 12 years ago
Michael Vogt fcfc9f5194 use statvfs.f_bavail to match the output of "df -B1" 12 years ago
Michael Vogt fc3631b684 add "size_{total,free}" to the "mount" facts 12 years ago
Shahar Kedar f1638c5eea Issue #3079: Initializing key_exists in case the S3 bucket does not exist 12 years ago
bennojoy 636f1ed794 bug fix nova_compute 12 years ago
Maykel Moya e9a4741e36 Provide userspace_{architecture,bits} facts
When running inside a chroot userspace architecture might not
match that of the actual host.

This patch provides userspace_bits as reported by python's
platform.architecture(). Also provides userspace_architecture fact
if host is an x86 machine.
12 years ago
Chris Gardner 2d423ece52 Add Solaris network facts. IPv4 and IPv6 both working. 12 years ago
trbs 1f673450cd Fix for #3062 additional groups should only be added once.
Also consolidated duplicate groups code into one get_groups_set() method.
Removed unused call to user_group_membership.
Removed sorting operations on set functions cause sets are inherently unordered.
Minor style improvements to match the rest of the code.

The new function will make the order of group names passed to the system command less determistic.
Which was already the case for modify_user_usermod() but not for other methods.
It will also strip out duplicate group names automatically which was not always the case previously.
12 years ago
Lorin Hochstein ec2fc7c983 authorized_key: Set manage_dir default value
This commit fixes a bug where the authorized_key module causes
the ~user/.ssh directory to be owned by root instead of the user,
when the manage_dir argument is not specified.

If the manage_dir argument was not specified, the module behaved as if
manage_dir was set to false, even though it's supposed to default to
true.

This module assumed that an optional argument, with no default
specified, will not be present in the module.params dictionary.

What actually seems to happen is that the argument does appear in
the module.params dictionary with a value of None.

The upside is that this line was evaluating to None instead of
true:

    manage_dir = params.get("manage_dir", True)

I fixed the problem in this particular module by explicitly specifying
the default value for the manage_dir arugment. But if this bug
occurred because of a change in behavior in AnsibleModule, then other
modules may be broken as well.
12 years ago
Michael DeHaan 94c35df69c Merge pull request #3064 from sfromm/issue2990
Verify /proc/modules is readable (issue #2990)
12 years ago