Commit Graph

114 Commits (d933fef93fd315e0c52e54ecf9d28483ecc377bd)

Author SHA1 Message Date
trbs 38b6087495 fix missing json module for issue #3363 print JSON error as string instead 11 years ago
Brian Coca 80b9b01e97 now won't throw exception if we don't have permission to stat a mtab
entry on linux (weird chromebook issue)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Michael DeHaan 8fe15f0a30 Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
11 years ago
Michael DeHaan 3a84254f6d Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
11 years ago
Michael DeHaan d1398594ce Merge pull request #3497 from johanwiren/bsd-gateway
Updated setup module to collect gateway fact for BSD systems
11 years ago
Michael DeHaan 952760c605 Merge pull request #3388 from bcoca/fixed_user_create_doc
updated module docs to reflect 'correct' on_create vs on_creation
11 years ago
Johan Wirén 1c247c9eb4 Updated GenericBsdIfconfigNetwork to collect gateway 11 years ago
Johan Wirén 10e9194744 Fix for populating default_ipv6 on BSD systems 11 years ago
Joshua Lund cc275ca2be Added a new with_file example to the authorized_key documentation 11 years ago
Brian Coca 0664e36aa2 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Aaron Brady efc4bc10d4 Make the CPU facts Hyperthreading aware 11 years ago
trbs 3b2173b6df sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop. 11 years ago
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.
11 years ago
Brian Coca 9f75397310 updated module docs to reflect 'correct' on_create vs on_creation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Michael DeHaan 15bf8a8398 Merge pull request #3315 from madduck/fix-service-updatercd-changed
Let update-rc.d set changed flag properly
11 years ago
Michael DeHaan 681696846a Styling: semicolon 11 years ago
Michael DeHaan fc8ffc1864 Styling: blank lines 11 years ago
Serge van Ginderachter f000dcd526 add more support for different size formats 11 years ago
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>
11 years ago
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>
11 years ago
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors. 11 years ago
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.
11 years ago
Michael DeHaan 575e052c6c Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
11 years ago
Michael DeHaan 61ac8d03af Clarify module docs 11 years ago
Michael DeHaan 51ba3d8c3d Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
11 years ago
Brian Coca c9c7b01620 now mount/unmount are searched for instead of hardcoded
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Yap Sok Ann bcca609bc6 Add OpenRC support to the service module. 11 years ago
Michael DeHaan fe9849530c Merge pull request #3120 from chrisgardner/solaris-os-facts
Add Solaris O/S distribution facts
11 years ago
Michael DeHaan 2eb3a9a3c9 Resolve docs conflict. 11 years ago
Michael DeHaan 572f49b11f Fix merge conflict. 11 years ago
Michael DeHaan c3544de1df Merge pull request #3228 from skvidal/facts.d
first cut and docs for facts.d mechanism for setup module
11 years ago
Michael DeHaan 936e61fc28 Merge pull request #3181 from melodous/devel
HP-UX virtualization facts
11 years ago
trbs a4223e119d fixed x-bits in git 11 years ago
Michael DeHaan 78fdedd490 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
11 years ago
Michael DeHaan f0d66f0cda Merge pull request #3176 from jpmens/sol-epoch
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
11 years ago
Seth Vidal 36df7e8c95 cut and docs for facts.d mechanism for setup module 11 years ago
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
11 years ago
Raul Melo f9f0f5ce2c HP-UX virtualization facts 11 years ago
Jan-Piet Mens f6521d88f5 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 11 years ago
Jan-Piet Mens 3f301fd439 Protect None value in setup module 11 years ago
Michael DeHaan 790a145f6c Use get_bin_path for blkid and add some aliases to the filesystem module. 11 years ago
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
11 years ago
Toshaan Bharvani f76043f404 changed get_mount_facts to ignore mount types 'none' 11 years ago
Raul Melo 2475bc416c Facts for HP-UX 11 years ago
Chris Gardner 2ba47318dc Use first line from /etc/release in "distribution_release" for consistency across Solaris and derivatives. 11 years ago
Michael DeHaan 788680a15d Merge branch 'devel' of git://github.com/trbs/ansible into more_users 11 years ago
Michael DeHaan c3ff4ccb35 These options to bypass the check code seem to need to occur before said checks. 11 years ago
Chris Gardner f0a4a17ff6 Add Solaris O/S facts "distribution" and "distribution_*" 11 years ago
Michael DeHaan caa07e7fab pep8 fixes 11 years ago
Michael DeHaan 15560c9801 Fix module labelled incorrectly. 11 years ago