Commit Graph

114 Commits (5603c32929f5598eeee8abd4c0c79430ea27ce33)

Author SHA1 Message Date
trbs 98b284159f fix missing json module for issue #3363 print JSON error as string instead 12 years ago
Brian Coca dd1ffce0a0 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>
12 years ago
Michael DeHaan b22428d87e Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
12 years ago
Michael DeHaan 7dfafc6ec4 Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
12 years ago
Michael DeHaan 38ac6c9abd Merge pull request #3497 from johanwiren/bsd-gateway
Updated setup module to collect gateway fact for BSD systems
12 years ago
Michael DeHaan 03605484f8 Merge pull request #3388 from bcoca/fixed_user_create_doc
updated module docs to reflect 'correct' on_create vs on_creation
12 years ago
Johan Wirén 3e765f7775 Updated GenericBsdIfconfigNetwork to collect gateway 12 years ago
Johan Wirén a03125e0cf Fix for populating default_ipv6 on BSD systems 12 years ago
Joshua Lund d75f73fffe Added a new with_file example to the authorized_key documentation 12 years ago
Brian Coca e0e50b5936 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Aaron Brady 34617476d0 Make the CPU facts Hyperthreading aware 12 years ago
trbs 0d8da6eeb0 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. 12 years ago
Antti Rasinen c2a4645349 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.
12 years ago
Brian Coca b494d6d2ae updated module docs to reflect 'correct' on_create vs on_creation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan 8d23df3576 Merge pull request #3315 from madduck/fix-service-updatercd-changed
Let update-rc.d set changed flag properly
12 years ago
Michael DeHaan da0e718698 Styling: semicolon 12 years ago
Michael DeHaan 936ad65726 Styling: blank lines 12 years ago
Serge van Ginderachter fc01f88228 add more support for different size formats 12 years ago
martin f. krafft 3b7b061b07 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>
12 years ago
martin f. krafft 22b30b9281 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>
12 years ago
Michael DeHaan 997bf64f3f Fix up some module docs formatting errors. 12 years ago
Patrick Callahan d76151d47b 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.
12 years ago
Michael DeHaan 0596f474cf Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
12 years ago
Michael DeHaan e4f3c4e286 Clarify module docs 12 years ago
Michael DeHaan f53bc323a5 Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
12 years ago
Brian Coca 930e524df1 now mount/unmount are searched for instead of hardcoded
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Yap Sok Ann ec265a98e0 Add OpenRC support to the service module. 12 years ago
Michael DeHaan 709d2aaa0d Merge pull request #3120 from chrisgardner/solaris-os-facts
Add Solaris O/S distribution facts
12 years ago
Michael DeHaan 3840c608da Resolve docs conflict. 12 years ago
Michael DeHaan 4a7f0eeccc Fix merge conflict. 12 years ago
Michael DeHaan 1ea46e814d Merge pull request #3228 from skvidal/facts.d
first cut and docs for facts.d mechanism for setup module
12 years ago
Michael DeHaan ae223ae10f Merge pull request #3181 from melodous/devel
HP-UX virtualization facts
12 years ago
trbs e711145ba4 fixed x-bits in git 12 years ago
Michael DeHaan 152db00ed9 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
12 years ago
Michael DeHaan 9017919f16 Merge pull request #3176 from jpmens/sol-epoch
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
12 years ago
Seth Vidal 38b055143a cut and docs for facts.d mechanism for setup module 12 years ago
Jan-Piet Mens 3404a0fc16 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
12 years ago
Raul Melo 866903ebbc HP-UX virtualization facts 12 years ago
Jan-Piet Mens 8bce89a616 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 12 years ago
Jan-Piet Mens 846b48655b Protect None value in setup module 12 years ago
Michael DeHaan 30cab814e8 Use get_bin_path for blkid and add some aliases to the filesystem module. 12 years ago
Joshua Lund dcad99ca6b 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
12 years ago
Toshaan Bharvani bf6bd10797 changed get_mount_facts to ignore mount types 'none' 12 years ago
Raul Melo 4c5d32f958 Facts for HP-UX 12 years ago
Chris Gardner 28cc0119a1 Use first line from /etc/release in "distribution_release" for consistency across Solaris and derivatives. 12 years ago
Michael DeHaan e5b14d7170 Merge branch 'devel' of git://github.com/trbs/ansible into more_users 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