Commit Graph

9487 Commits (bdab56efa832d0d4a964ddc9c125c1bf5b7bd64e)
 

Author SHA1 Message Date
Nathaniel Case bdab56efa8 eos_facts cleanup (#5057)
* dict.iteritems does not exist in Python 3

Now just dict.items
six.iteritems handles the change

* Addresses point 1

Unsure if this is a good idea or not.

* Addresses point 2

This shouldn't have any particular change, just marks load_comments as abstract

* Remove unused import

Addresses point 3

* Clarify invalid subset error message

Addresses point 4
8 years ago
Chris Houseknecht c03697c81e Merge pull request #4961 from shaung/iss4504
Fix #4504 Respect timeout option when starting/stopping/restarting co…
8 years ago
Chris Houseknecht 5431d2d632 Merge pull request #5049 from chouseknecht/devel
Put requested devices in correct format to enable config comparison. …
8 years ago
Chris Houseknecht 84020b39ee Put requested devices in correct format to enable config comparison. Fixes #5000. 8 years ago
Peter Sprygada 87f47a44c9 fixes exception being raised when show configuration command issued (#5047)
The junos_command expects commands to be returned as xml by default but
`show configuration [options]` will return text not xml.  This fix
will set the output format for any command that starts with `show
configuration` to text

fixes #4628
8 years ago
Chris Houseknecht e0aede1266 Merge pull request #4825 from adityamarella/devel
Docker module: add support for OomScoreAdj
8 years ago
Peter Sprygada 57350f84cd fixes return passing output from command through jxmlease in junos_command (#5044)
The return string from the commands was not being passed through the
jxmlease library and therefore being returned as a string instead of a
json data structure.  This also adds back the missing xml key in the
return that includes the raw xml string.

fixes #5001
8 years ago
Denis Tiago b2c6d39bec fix health instances count when we have more than one lb in asg 8 years ago
Jiri Tyr 25585937fb Fixing bind mount on Linux (#1942) (#4439)
* Fixing bind mount on Linux

* Fixing broken implementation
8 years ago
Andrew Gaffney 622ae9c67e Match existing INI file entry with leading whitespace (fixes #4997) (#4998) 8 years ago
Senthil Kumar Ganesan cf243860ff Update minimum required version and ssh rate limit (#4995) 8 years ago
Matt Clay e8ed51bce4 Revert "Set PRIVILEGED=true for Linux integration tests. (#4993)"
This reverts commit fb779bf30c.
8 years ago
Matt Clay fb779bf30c Set PRIVILEGED=true for Linux integration tests. (#4993)
This should allow test_mount tests to run on Shippable.
8 years ago
Matt Clay 74120442f2 Fix handling of ansible-doc errors. (#4992) 8 years ago
Toshio Kuratomi edf361a5d4 Fix #3153 again (#4989) 8 years ago
Peter Sprygada 13c7288aea fixes exception raised when nxos_facts uses nxapi transport (#4988)
This fixes a condition where an exception is raised when collecting `interface`
facts and the transport is set to nxapi in the nxos_nxapi module.

fixes ansible/ansible#17691
8 years ago
Toshio Kuratomi d843204575 Working subset of mount fixes (#4987)
* Fixing bind mount on Linux

* The latest update from jtyr doesn't pass integration tests.

Manually select the changes that are necessary to fix the bug with
unmounting
8 years ago
Peter Sprygada 1dd2b849dc fixes default value in docstring for http (#4985)
The docstring incorrectly stated the default value for http is yes when
indeed its no.  This fixes the docstring
8 years ago
Peter Sprygada a923689182 fixes bug where setting state=absent in nxos_nxapi is not idempotent (#4984)
When setting state=absent the nxos_nxapi module would always try to remove
the configuration regardless of the current state of the device.  This will
fix that problem.

This also updates the docstring to correctly reflect https as default=no

fixes #4955
depends on ansible/ansible#17728
8 years ago
John R Barker a829ca29ee Force is not a 2.2 feature
9b5e6bbfa1 incorrectly chopped some text around
8 years ago
Matt Clay 8d3119dfe5 Add shellcheck to sanity checks. (#4976)
Also disable deprecation warnings during module validation.
8 years ago
Trond Hindenes ab1ac22187 win_feature_docs_update (#4421) 8 years ago
Timothy Appnel b995358185 Fixes grammatical error in assert module example (#4972) 8 years ago
Ryan S. Brown 0f505378c3 Accept JSON type as the content of policy_json parameter on `iam_policy` module 8 years ago
Søren Kröger cb9fc47cbc Added single_transaction and quick to db_dump (#3687)
It was missing before, ...
8 years ago
JesseEmond 1f741b69f4 Unarchive stop passing file mode to tar command (#4179)
Fixes #4063.

Tar does not use this parameter on extraction (-x) or diff (-d)(the
only two cases where it is passed in unarchive). It only uses it on
creation:
https://www.gnu.org/software/tar/manual/html_section/tar_33.html

Providing `unarchive` with a file mode of `0755` (octal) makes it pass
the argument `--mode 493` (493 = 0755 in decimal) to `tar`, which then
fails while verifying it (because it contains an invalid octal char
'9'). Not passing the parameter to tar solves the issue.
8 years ago
Marius Gedminas c354c974e7 postgresql_db: fix inverted 'changed' logic when state=absent (#4934)
Fixes #4933.
8 years ago
shaung 4e9e546ef0 Fix #4504 Respect timeout option when starting/stopping/restarting containers. 8 years ago
David Shrewsbury 4bd2a409e6 Correct reuse_fips param to reuse_ips (#4939)
This new parameter was incorrectly named. Fixing to match the expected
name in the shade library.
8 years ago
Toshio Kuratomi b4f1d0d0c2 Fix pip freeze workaround with virtualenv (#4951) 8 years ago
Matt Clay 3486395970 Remove script previously used by Travis. 8 years ago
Toshio Kuratomi 5b1994cb42 pip list isn't available on pip less than 1.3 so make a fallback (#4947) 8 years ago
Chris Houseknecht 16c9597ca7 Merge pull request #4943 from chouseknecht/devel
Improve error handling in docker_service module
8 years ago
Timothy Appnel b87bf7c12d Adds docs for msg param in assert modules plus some other clean up (#4926) 8 years ago
Peter Sprygada 3a2cfadb31 fixes junos_config to be idempotent when confirming a commit (#4946)
The junos_config module would always return true when confirming a commit
This changes the module to now check first making the feature idempontent
8 years ago
René Moser 19be0da3b0 iam_cert: remove choice list for dup_ok type bool (#4940)
See 8879931f0c
8 years ago
Toshio Kuratomi 70d4ff8e38 Fix parsing of pip output 8 years ago
Toopy 6fbd72db82 Fix git get_diff TypeError when fetch (#4881) 8 years ago
Lars Engels a49cd08832 Add support for password aging on Solaris (#4372)
* Add support for password aging on Solaris

* Fix shadow file editing when {MIN,MAX,WARN}WEEKS is not set in /etc/default/passwd

* Un-break with python3

* _Really_ un-break with python3
8 years ago
Chris Houseknecht 4a560d4a15
Cast scale value to int. Fixes #4592. 8 years ago
Rob Cutmore 12a7027c49 Pip: use 'pip list' when available for package list (#4644)
* Pip: handle parsing different pip commands

* Pip: use 'pip list' when available

* Pip: explicitly check which command is used

* Pip: add error checking when fetching packages
8 years ago
Chris Houseknecht 5ab1a6f88d
Make project start and stop error handling more resilient, and improve message text. 8 years ago
indispeq 20e08b2cdf Fix openstack security group rule vrrp choice apostrophe error (#4750)
Fixes #4444 that was erroneously closed and thought fixed
8 years ago
Peter Sprygada 4c8e32ee27 fixes import statements in junos_package module (#4929)
This fixes the import statement to import NetworkModule from network instead
of from junos
8 years ago
Peter Sprygada df4a9dabd5 fix up junos_facts import statements (#4928)
This fixes the junos_facts import statements and removes importing
NetworkModule from the junos shared module.
8 years ago
Peter Sprygada a3807eee10 fix import in junos_command module (#4927)
This fixes the import statements in the junos_command module to be
consistent with all junos_* modules
8 years ago
Peter Sprygada 16f298138c roll up of bug fixes for junos_config module (#4925)
* fixed docstring referencing old arguments
* changed out lxml for xml library to avoid import errors
* fixed issue when trying to confirm a commit will end up a NOOP
* fixed issue for passing replace argument to load_config method
8 years ago
Peter Sprygada 446c7de239 bug fixes in junos_netconf module (#4924)
* fixes exception thrown when sending commands to device
* fixes exception thrown when retrieving current resource instance
* fixes issue where netconf would be configured in some instances when state
  was set to absent
* now returns the command string sent to the remote device
* fixes argument name to be netconf_port with alias to listens_on
8 years ago
Josh Lothian 6950e79cde Fix YAML syntax in NXOS documentation (#4922)
* Fix YAML syntax in NXOS documentation

Use ':' and not '=' to ensure valid YAML
in the EXAMPLES

* Correcting introduced syntax error
8 years ago
Michael Scherer d1bdd883a2 Remove duplicate key 'author' (#4919) 8 years ago