Commit graph

9447 commits

Author SHA1 Message Date
Toopy
6fbd72db82 Fix git get_diff TypeError when fetch (#4881) 2016-09-20 10:50:42 -04:00
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
2016-09-20 10:42:27 -04:00
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
2016-09-20 07:05:08 -07:00
indispeq
20e08b2cdf Fix openstack security group rule vrrp choice apostrophe error (#4750)
Fixes #4444 that was erroneously closed and thought fixed
2016-09-20 14:39:01 +02:00
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
2016-09-19 23:18:35 -04:00
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.
2016-09-19 23:18:26 -04:00
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
2016-09-19 23:13:53 -04:00
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
2016-09-19 22:27:07 -04:00
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
2016-09-19 22:26:56 -04:00
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
2016-09-19 22:22:12 -04:00
Michael Scherer
d1bdd883a2 Remove duplicate key 'author' (#4919) 2016-09-19 21:19:23 -04:00
Peter Sprygada
8351186bc7 Merge pull request #4908 from mscherer/fix_junus_doc
Fix duplicate required key error
2016-09-19 21:18:11 -04:00
Peter Sprygada
539e39df8d Merge pull request #4910 from GGabriele/feature_fix
Fix nxos_feature 2.2
2016-09-19 21:17:14 -04:00
Will Thames
a076309a0f Check whether yum file or URL install is an upgrade (#4547)
Rather than just checking whether a package with the right
name is installed, use `local_nvra` to check whether the
version/release/arch differs too.

Remove `local_name` as it is a shortcut too far.

Fixes #3807
Fixes #4529
2016-09-19 21:13:23 -04:00
Matt Clay
600228ca7f Test module docs on Shippable. (#4921) 2016-09-19 16:59:27 -07:00
Matt Clay
f2c2dddc01 Remove duplicate keys from module docs. (#4920) 2016-09-19 15:01:48 -07:00
Matt Clay
27d2950e2d Remove Travis config since we only use Shippable. (#4916) 2016-09-19 12:35:37 -07:00
Peter Sprygada
e3b6f52bf5 Merge pull request #4914 from privateip/eos_command
bug fix that now catches FailedConditionalError when specifying conditionals
2016-09-19 14:46:34 -04:00
Peter Sprygada
0d847e4b86 Merge pull request #4913 from privateip/nxos_command
adds exception handling to nxos_command for FailedConditionalError
2016-09-19 14:46:25 -04:00
GGabriele
169b722d73 Add feature mappings 2016-09-19 18:50:30 +02:00
Peter Sprygada
3714b30a9f bug fix that now catches FailedConditionalError when specifying conditionals
This is related to ansible/ansible#17638 and updates the eos_command module
to catch the exception and return a santatized error.
2016-09-19 12:39:44 -04:00
Peter Sprygada
2e357e262c adds exception handling to nxos_command for FailedConditionalError
This adds exception handling as per ansible/ansible#17638 to the
nxos_command module.
2016-09-19 12:32:37 -04:00
Peter Sprygada
318c115e9b Merge pull request #4906 from GGabriele/portchannel_fix
Fixing nxos_portchannel
2016-09-19 11:09:44 -04:00
Michael Scherer
7173162c51 Fix duplicate required key error
ansible-doc -vvvv -l show this warning:

   [WARNING]: While constructing a mapping from /home/misc/checkout/git/ansible/lib/ansible/modules/core/network/junos/junos_config.py,
   line 88, column 5, found a duplicate dict key (required). Using last defined value only.
2016-09-19 17:05:32 +02:00
Peter Sprygada
773063f88c Merge pull request #4907 from privateip/fix-4905
eos_eapi module allows independent configuration of protocol and port
2016-09-19 10:57:10 -04:00
Peter Sprygada
4ff0fd3910 eos_eapi module allows independent configuration of protocol and port
The eos_eapi module would not configure the port if the protocol wasn't
configured as reported in #4905.  This changes the behavior to now allow
the port to be configured independently

fixes #4905
2016-09-19 10:53:43 -04:00
GGabriele
d632cce546 Fixed docstring 2016-09-19 14:35:51 +02:00
GGabriele
5174e3f31f Fixing nxos_portchannel 2016-09-19 14:27:23 +02:00
Harnek Sidhu
1df235f8ca Created digital_ocean_block_storage module (#4469) 2016-09-19 08:54:14 +01:00
Senthil Kumar Ganesan
7362b8d08f Addressed review comments, given as part of other reviews (#4904) 2016-09-19 08:50:28 +01:00
nichivo
8886afd145 Insert missing option line before blank lines (#4747) 2016-09-19 08:56:29 +02:00
Peter Sprygada
56758caf41 Merge pull request #4897 from skg-net/dellos6_facts
Dellos6 facts
2016-09-18 22:27:39 -04:00
Peter Sprygada
0ded4d7425 Merge pull request #4899 from skg-net/dellos6_config_bugfix
Updated the config module to use the new Parse method for OS6
2016-09-18 22:27:11 -04:00
Peter Sprygada
464203f71e Merge pull request #4898 from skg-net/dellos6_template
Added support for template module for Dell OS6 devices
2016-09-18 22:26:53 -04:00
Peter Sprygada
39edfbb68b Merge pull request #4674 from GGabriele/nxos_vxlan_vtep_vni
Adding nxos_vxlan_vtep_vni
2016-09-18 22:22:54 -04:00
Peter Sprygada
765b014119 Merge pull request #4861 from GGabriele/nxos_vtp_domain
Adding nxos_vtp_domain
2016-09-18 22:21:54 -04:00
Peter Sprygada
68560ee0b5 Merge pull request #4863 from GGabriele/nxos_mtu
Adding nxos_mtu
2016-09-18 22:21:43 -04:00
Peter Sprygada
789af7527e Merge pull request #4872 from GGabriele/nxos_udld_interface
Adding nxos_udld_interface
2016-09-18 22:21:31 -04:00
Peter Sprygada
ae02517570 Merge pull request #4866 from GGabriele/nxos_pim_interface
Adding nxos_pim_interface
2016-09-18 22:21:17 -04:00
Peter Sprygada
244d3fbb5c Merge pull request #4875 from GGabriele/nxos_aaa_server_host
Adding nxos_aaa_server_host
2016-09-18 22:21:04 -04:00
Peter Sprygada
c94acd9df4 Merge pull request #4862 from GGabriele/nxos_vtp_version
Adding nxos_vtp_version
2016-09-18 22:20:52 -04:00
Peter Sprygada
79e2fbce68 Merge pull request #4858 from GGabriele/nxos_udld
Adding nxos_udld
2016-09-18 22:20:38 -04:00
Peter Sprygada
55b071d083 Merge pull request #4859 from GGabriele/nxos_vtp_password
Adding nxos_vtp_password
2016-09-18 22:20:24 -04:00
Peter Sprygada
e65df42368 Merge pull request #4877 from GGabriele/nxos_igmp_snooping
Adding nxos_igmp_snooping
2016-09-18 22:20:11 -04:00
Peter Sprygada
a78f92a854 Merge pull request #4870 from GGabriele/nxos_snmp_user
Adding nxos_snmp_user
2016-09-18 22:20:00 -04:00
Peter Sprygada
31fbb8484d Merge pull request #4856 from GGabriele/nxos_ntp_options
Adding nxos_ntp_options
2016-09-18 22:19:45 -04:00
Peter Sprygada
5f43981efb Merge pull request #4853 from GGabriele/nxos_ntp_auth
Adding nxos_ntp_auth
2016-09-18 22:19:34 -04:00
Peter Sprygada
7e85ffe606 Merge pull request #4851 from GGabriele/nxos_aaa_server
Adding nxos_aaa_server
2016-09-18 22:19:21 -04:00
Peter Sprygada
4fe4d084b8 Merge pull request #4841 from GGabriele/nxos_snmp_traps
Adding nxos_snmp_traps
2016-09-18 22:19:08 -04:00
Peter Sprygada
338528d644 Merge pull request #4843 from GGabriele/nxos_ntp
Adding nxos_ntp
2016-09-18 22:18:54 -04:00