Casper Langemeijer
922a71fced
Only append non_unique parameter if a uid is provided as well
2013-07-08 11:46:38 +02:00
Aaron Brady
efc4bc10d4
Make the CPU facts Hyperthreading aware
2013-07-03 16:25:35 +01:00
Antti Rasinen
93fc3391fe
Fix service enable on FreeBSD
...
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.
Fixes issue #3382 .
2013-07-03 14:52:23 +03:00
Michael DeHaan
15bf8a8398
Merge pull request #3315 from madduck/fix-service-updatercd-changed
...
Let update-rc.d set changed flag properly
2013-06-30 16:09:39 -07:00
Michael DeHaan
681696846a
Styling: semicolon
2013-06-30 18:56:03 -04:00
Michael DeHaan
fc8ffc1864
Styling: blank lines
2013-06-30 18:52:33 -04:00
Serge van Ginderachter
f000dcd526
add more support for different size formats
2013-06-24 22:37:31 +02:00
martin f. krafft
85b8538e0e
Expand usage of Python 2.6 if statement
...
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.
Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-23 09:19:27 +02:00
martin f. krafft
3df2e15277
Let update-rc.d set changed flag properly
...
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189 ). This commit fixes that.
Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-22 20:04:37 +02:00
Michael DeHaan
3f8aa8aec5
Fix up some module docs formatting errors.
2013-06-19 22:37:09 -04:00
Patrick Callahan
b5b862fe6f
bug fix: modify get_device_facts to handle servers with multiple pci domains
...
On machines with multiple pci domains get_device_facts would fail to
find a matching pci device causing setup to fail. Also on some platforms
there is additional information between the pci information and 'host'.
Modified get_device_facts to call lspci with the -D option and modified
the regex to account for the pci domain and to be more selective.
2013-06-18 22:48:05 -04:00
Michael DeHaan
575e052c6c
Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
...
changed get_mount_facts to ignore mount types 'none'
2013-06-18 17:56:49 -07:00
Michael DeHaan
61ac8d03af
Clarify module docs
2013-06-18 20:19:29 -04:00
Michael DeHaan
51ba3d8c3d
Merge pull request #3230 from sayap/openrc
...
Add OpenRC support to the service module.
2013-06-18 17:13:06 -07:00
Brian Coca
c9c7b01620
now mount/unmount are searched for instead of hardcoded
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-17 17:01:35 -04:00
Yap Sok Ann
bcca609bc6
Add OpenRC support to the service module.
2013-06-17 11:29:48 +08:00
Michael DeHaan
fe9849530c
Merge pull request #3120 from chrisgardner/solaris-os-facts
...
Add Solaris O/S distribution facts
2013-06-16 20:18:43 -07:00
Michael DeHaan
2eb3a9a3c9
Resolve docs conflict.
2013-06-16 22:48:11 -04:00
Michael DeHaan
572f49b11f
Fix merge conflict.
2013-06-16 22:47:29 -04:00
Michael DeHaan
c3544de1df
Merge pull request #3228 from skvidal/facts.d
...
first cut and docs for facts.d mechanism for setup module
2013-06-16 19:46:02 -07:00
Michael DeHaan
936e61fc28
Merge pull request #3181 from melodous/devel
...
HP-UX virtualization facts
2013-06-16 19:26:07 -07:00
trbs
a4223e119d
fixed x-bits in git
2013-06-16 22:22:16 -04:00
Michael DeHaan
78fdedd490
Merge remote branch 'origin' into devel
...
Conflicts:
library/web_infrastructure/django_manage
2013-06-16 22:15:30 -04:00
Michael DeHaan
f0d66f0cda
Merge pull request #3176 from jpmens/sol-epoch
...
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
2013-06-16 19:06:19 -07:00
Seth Vidal
36df7e8c95
cut and docs for facts.d mechanism for setup module
2013-06-15 18:31:31 -04:00
Jan-Piet Mens
5c69918d53
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Raul Melo
f9f0f5ce2c
HP-UX virtualization facts
2013-06-12 18:59:20 +02:00
Jan-Piet Mens
f6521d88f5
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
2013-06-11 09:13:32 +02:00
Jan-Piet Mens
3f301fd439
Protect None value in setup module
2013-06-11 07:08:55 +02:00
Michael DeHaan
790a145f6c
Use get_bin_path for blkid and add some aliases to the filesystem module.
2013-06-10 10:39:19 -04:00
Joshua Lund
51c7441244
Updates to the authorized_key documentation
...
* Clarified the meaning of 'user'
* Changed 'sshdir' to 'path' in the example
* 'sshdir' is used internally in the module, but the argument is 'path'
* Made the capitalization consistent in the descriptions
2013-06-07 15:43:42 -06:00
Toshaan Bharvani
f76043f404
changed get_mount_facts to ignore mount types 'none'
2013-06-07 16:55:33 +02:00
Raul Melo
2475bc416c
Facts for HP-UX
2013-06-05 14:01:18 +02:00
Chris Gardner
2ba47318dc
Use first line from /etc/release in "distribution_release" for consistency across Solaris and derivatives.
2013-06-03 22:33:01 +01:00
Michael DeHaan
788680a15d
Merge branch 'devel' of git://github.com/trbs/ansible into more_users
2013-06-03 11:50:17 -04:00
Michael DeHaan
c3ff4ccb35
These options to bypass the check code seem to need to occur before said checks.
2013-06-01 18:32:02 -04:00
Chris Gardner
f0a4a17ff6
Add Solaris O/S facts "distribution" and "distribution_*"
2013-06-01 20:32:28 +01:00
Michael DeHaan
caa07e7fab
pep8 fixes
2013-06-01 12:29:03 -04:00
Michael DeHaan
15560c9801
Fix module labelled incorrectly.
2013-06-01 12:25:24 -04:00
Michael DeHaan
d434252ba4
Docs standardization
2013-06-01 12:20:45 -04:00
Michael DeHaan
417be6f81e
Docs standardization
2013-06-01 12:16:24 -04:00
Michael DeHaan
b9e72cdd98
Warn when there is a space in the mount module opts parameter.
2013-06-01 11:33:17 -04:00
trbs
3b3afe2283
Add support for Open and NetBSD platforms for user and group modules, including a new login_class parameter for FreeBSD, OpenBSD and NetBSD.
2013-05-31 20:53:37 -04:00
Michael DeHaan
9122efb24a
Merge pull request #3083 from mvo5/feature/facts-add-statvfs
...
add "size_{total,free}" to the "mount" facts
2013-05-31 14:22:58 -07:00
Michael DeHaan
049b77be6d
Merge pull request #3076 from mmoya/userspace-arch-facts
...
Provide userspace_{architecture,bits} facts
2013-05-31 14:20:38 -07:00
Michael DeHaan
514f18acac
Merge branch 'solaris-network-facts' of git://github.com/chrisgardner/ansible into devel
2013-05-31 17:16:13 -04:00
Michael DeHaan
47b9db0d98
Remove debug statement in previous patch.
2013-05-31 17:13:54 -04:00
Michael DeHaan
eec53347b5
Merge branch 'devel' of git://github.com/trbs/ansible into groups
2013-05-31 17:13:41 -04:00
Stephen Fromm
43d96ba335
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.
2013-05-31 17:10:34 -04:00
Michael DeHaan
d078ad5a13
Merge pull request #3068 from lorin/authkey-default
...
authorized_key: Set manage_dir default value
2013-05-31 13:16:44 -07:00