1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

959 commits

Author SHA1 Message Date
KARASZI István
ffa92485b4 Fix Markdown formatting for GitHub (#23752) 2017-04-19 20:06:18 +01:00
Drew Russell
c8e16793bf Add the Cisco Spark Module to the 2.3 New Modules (#23636)
Update the Ansible 2.3 New Module list to include the cisco_spark notification module.
2017-04-19 14:31:09 +01:00
Matt Davis
d85f4a443f mark runas become method experimental (#23235)
Due to the number of "real world" caveats in the current runas become method, it was agreed that we'd warn that it's experimental on use. A potential future version based on LogonUser/CreateProcessAsUser will have very different requirements and limitations.
2017-04-03 13:46:51 -07:00
Brian Coca
621c586784 added lxd inventory script 2017-03-27 18:26:01 -04:00
Toshio Kuratomi
6cea89299a Add c7c8481 (quoting with hash mark in ini inventories) fix to changelog (#22921) 2017-03-24 09:25:50 -07:00
Toshio Kuratomi
2fff690caa Update module_utils.six to latest (#22855)
* Update module_utils.six to latest

We've been held back on the version of six we could use on the module
side to 1.4.x because of python-2.4 compatibility.  Now that our minimum
is Python-2.6, we can update to the latest version of six in
module_utils and get rid of the second copy in lib/ansible/compat.
2017-03-23 13:35:05 -07:00
Brian Coca
b82aa41e31 removed deprecated config/env vars 2017-03-21 14:02:39 -04:00
Toshio Kuratomi
8de05d3752 [WIP] Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5 (#22721)
* Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5
* Switched to bullet points to enhance readability.
2017-03-16 18:49:29 -07:00
Matt Davis
e3dfa62abc Windows CHANGELOG updates 2017-03-16 15:01:55 -07:00
Brian Coca
6ced1ad5a2 added group priority to change log 2017-03-16 17:06:01 -04:00
Brian Coca
2fee9ca0dc updated changelog 2017-03-16 12:24:55 -04:00
Ricardo Carrillo Cruz
6e56a61535 Add ios_banner module (#22687)
With unit and integration tests.
2017-03-16 16:35:44 +01:00
Brian Coca
0c44959800 added new tests any and all (#22665)
* added new tests any and all

* updated code names
2017-03-15 18:09:25 -04:00
John R Barker
34498590e3 nxos_mtu deprecated + Tidyup (#22645)
* nxos_mtu deprecated + Tidyup

* Update CHANGELOG.md
2017-03-15 14:03:48 +00:00
Brian Coca
7b167e7947 added stuff to changelog 2017-03-09 15:46:45 -05:00
Brian Coca
0e7664fe4d added java_cert module, did some cleanup 2017-03-09 15:46:45 -05:00
Ryan Brown
81e4fa2a2e Add changelog entry for Lambda module updates (#22327) 2017-03-06 17:23:47 -05:00
Ivan Bojer
9f1a71797e CHANGELOG adding missing PANOS modules (#22209) 2017-03-03 19:52:23 +00:00
Ivan Bojer
8b2ca79507 panos new module used for security policy creation (#20778)
* - new module used for security policy creation

* - added support for API key authentication
- added support for Panorama

* documentation changes

* documentation update

* minor doc changes based on review comments

* move ANSIBLE_METADATA

* changes to docs per reviewer comments
2017-03-02 16:42:54 +00:00
Matt Davis
a60d358e56 Revert "win_service_stat: Added module" (#22184) 2017-03-02 01:34:11 -08:00
Jordan Borean
3da806f32a win_service_stat: Added module (#21944) 2017-03-01 22:04:57 -08:00
Matt Davis
c98647ccf8 initial commit of win_domain module (#22179) 2017-03-01 17:49:15 -08:00
Matt Davis
fffb4992b5 Update CHANGELOG.md 2017-03-01 16:37:10 -08:00
Matt Davis
a5edd6e635 initial commit of win_disk_image (#22175) 2017-03-01 16:31:01 -08:00
Fabrizio Colonna
f0de1e6c85 Added parted module (#20399)
* Added parted module

* Amended documentation

* Improved documentation

* Managed the case of parted not returning device information.

* Fixed Shippable test not passing

* Fixed compatibility with Python 2.4

* Cleanup of the state option, improved flags management, documentation refinements.

* Compacted format function, code style cleanups, amended comments.

* Fixed bug related to parted data parsing.

* Support for check-mode, amended size data type.

* Fixed Shippable test not passing.

* Added full suport for CHS and CYL units, applied suggested changes.
2017-03-01 22:31:04 +01:00
jhawkesworth
1c2e8fde29 Add win_msg module (#22008)
* new implementation of win_msg.  TODO tests

* added check_mode.  Get-AnsibleParam for parameters.  Default msg is now 'Hello world!'. Use hash for $results.
Re-ordered some parameters alphabetically.
Documentation now in raw strings.  Removed spurious required: false.  Added metadata.

* Keep pep8 checks happy

* Really keep pep8 checks happy this time

* update Changelog.md

* make bracket style internally consistent

* added units to display_seconds description
2017-03-01 14:16:33 +00:00
Dag Wieers
65ee3a6f19 iso_extract: new module to extract files from ISO images (#21957)
This is the original iso_extract module from the ansible-provisioning project.
We are upstreaming all our modules, and this PR is part of that process.
2017-03-01 13:33:32 +00:00
Dag Wieers
c9c8be6459 hpilo_boot: Boot/power via HP iLO mgmt board (#21674)
This is the original `hpilo_boot` module that was once accepted in
Ansible but had been removed subsequently because it could not be tested
by the Ansible project.

Since then it was moved to the ansible-provisioning project and
maintained by HP engineers going forward.

Now we are trying to get it upstreamed again.
2017-03-01 12:37:04 +00:00
Matt Davis
06775d2708 CHANGELOG win_dns_client and win_domain_membership 2017-02-27 17:37:19 -08:00
Barry Peddycord III
2ca5719168 Deprecating old cumulus modules (#21726)
* deprecating old nclu modules

* adding deprecated cl_ moduels to changelog

* renaming deprecated modules
2017-02-25 08:01:04 +00:00
Rene Moser
d12d1245cb doc: add fortios_config to changelog 2017-02-23 10:11:29 +01:00
Brian Coca
374af06cbf added pickle and yaml cache plugins
added new base class for file based cache plugins as 99% of code was common
now also catches unexpected decoding exceptions
allows per module file modes and encoding
moved jsonfile code to base
2017-02-22 10:27:29 -05:00
Brian Coca
dc7992b60c added new modules to chnglog 2017-02-21 12:14:32 -05:00
Jordan Borean
a80251ff02 Added win_region module (#19147) 2017-02-20 11:50:27 +00:00
Dag Wieers
958cbae7ba win_tempfile: New module implementing tempfile on Windows (#21623)
This module implements the **tempfile** module for Windows.
2017-02-20 11:48:55 +00:00
John R Barker
3b9892b45b New Modules for Ansible Tower (#21584) 2017-02-17 16:24:32 +00:00
Matt Davis
67f74bbc81 CHANGELOG/roadmap updates for Windows 2017-02-17 00:10:17 -08:00
Brian Coca
14033b9d7d added volumen manage 2017-02-16 15:22:02 -05:00
Dag Wieers
36aad569d2 Various small changes to CHANGELOG.md (#21521) 2017-02-16 14:59:20 +00:00
John R Barker
8a41b16e0f New modules: ordnance_config & ordnance_facts (#21450) 2017-02-15 10:36:43 +00:00
Toshio Kuratomi
44e92d1c40 Add mount fixes to changelog 2017-02-14 09:12:42 -08:00
Ryan S. Brown
723c8f4786 [docs] CHANGELOG add pubnub_blocks module 2017-02-14 10:56:27 -05:00
Ryan S. Brown
e075307f3a Fix elasticache module names 2017-02-14 10:42:38 -05:00
John R Barker
ff68526291 New module: mattermost (#21398) 2017-02-14 10:55:39 +00:00
Loïc Blot
fb32c19fea New module: nsupdate (#21099)
Add nsupdate module to manage DNS records on a DNS server

This uses dnspython library

It's greatly inspired by https://github.com/mskarbek/ansible-nsupdate with some rework, better feedbacks and documentation addition

Signed-off-by: nerzhul <loic.blot@unix-experience.fr>
2017-02-13 11:13:23 +00:00
John R Barker
b8c081f11a New module: panos_cert_gen_ssh.py (#21286) 2017-02-11 15:35:47 +00:00
John R Barker
f409decf53 New module: sf_account_manager (#21284)
https://github.com/ansible/ansible/pull/20728
2017-02-11 12:11:28 +00:00
Brian Coca
455f52258a added new modules to changelog 2017-02-10 13:56:28 -05:00
Jordan Borean
5cabe420ea Added win_reg_stat module (#19145) 2017-02-09 14:47:00 -08:00
John R Barker
858e1ef422 sf_snapshot_schedule_manager (#21212) 2017-02-09 19:43:29 +00:00
Jordan Borean
1ce5fcf061 Added win_find module (#19144) 2017-02-08 22:19:08 +00:00
Toshio Kuratomi
a3eab4fc48 Add 2.3.0 entries for module_utils via pluginloader, selectors, and py3 (#21019)
* Add 2.3.0 entries for module_utils via pluginloader, selectors, and py3

* Add roadmap-2.3 updates and an item for roadmap-2.4
2017-02-07 15:27:14 -08:00
s-hertel
cdfa583235 Two added AWS modules for ElastiCache 2017-02-07 15:52:28 -05:00
Loïc Blot
b55d039f67 New modules: vmware_guest_facts & vmware_guest_snapshot (#20971)
* Move gather_facts action outside of vmware_guest module
* Move facts gathering method to vmware.py library
* vmware_guest use some vmware.py library methods
* vmware.py lib: fix some PEP 8 issues
* Move snapshot actions to vmware_guest_snapshot
* Move common snapshot facts to vmware.py library
2017-02-06 11:52:17 -05:00
Dag Wieers
6355c5cafa Updated CHANGELOG.md with previous bits (#20973)
And also sort the modules properly.
2017-02-06 08:13:57 +00:00
Brian Coca
a2c38c47aa added docs for vault and made trigger shorter: !vault (#20985)
* added docs for vault and made trigger shorter: !vault

* added single var valuting

* Update playbooks_vault.rst

Edit pass for spelling and grammar. Ship it!

* Update playbooks_vault.rst

Typo fixes.
2017-02-03 15:28:50 -05:00
Ryan S. Brown
d2569fa6e2 Add ovirt_snapshots to changelog 2017-02-02 16:36:27 -05:00
Ivan Bojer
800db1b209 added already approved PANOS modules (#20952) 2017-02-02 15:00:16 -05:00
jctanner
6726d5f8f8 Update changelog for controlpersist path feature (#20928) 2017-02-01 10:44:37 -05:00
Ryan S. Brown
6244271d46 Add gce_eip module to changelog 2017-02-01 10:09:18 -05:00
Ryan S. Brown
151a3d862b [docs] Add ec2_vpc_igw_facts to changelog 2017-02-01 09:48:29 -05:00
Ivan Bojer
327ad42ff2 new panos module to import software or configuration file into firewall (#19901)
* # This is a combination of 6 commits.
# The first commit's message is:
new module to import software or configuration file onto firewall

# This is the 2nd commit message:

changes based on the review comments; remove unecessary if statements; change returned value docstring

# This is the 3rd commit message:

empty checkin to trigger ANSIBLEbot

# This is the 4th commit message:

added additional exception handling

# This is the 5th commit message:

- added new module info to the changelog as requested

# This is the 6th commit message:

removed blank space as tox checks were failing

* new module to import software or configuration file onto firewall
2017-02-01 12:41:52 +00:00
Brian Coca
10d1865880 added kyring to chnglog 2017-01-31 17:50:09 -05:00
Brian Coca
0cd6ea1bd8 added ec2_vpc_nat_gateway_facts to chnglog 2017-01-31 14:50:20 -05:00
Brian Coca
df49952c48 added tower_org 2017-01-30 13:43:40 -05:00
Brian Coca
294a23d7f6 renamed sv to runit, avoid svc confusion 2017-01-30 10:24:43 -05:00
Ted
772f8f4854 Add bigmon policy module (#20584)
* Cleanup fork

* Add bigmon_policy module

* Remove docker files from commit, fix formatting, add CHANGELOG.md entry

* Put change in CHANGELOG.md in alph order and add the alias to access_token doc

* Fix access_token type, drop the alias, and fix doc

* Capitalize letter, delete redundant notes, make validates_certs True by default

* Add validate_certs to example

* Try fixing trailing space

* Try adding a trailing space

* Try removing trailing space at end of file

* Add newline at end of file and fix trailing space
2017-01-29 15:31:37 +00:00
Ryan S. Brown
ebfb9ff3c1 Update CHANGELOG with new ovirt module 2017-01-25 09:19:11 -05:00
Loïc Blot
ebe621bb23 Add logstash_plugin to manange logstash plugins (#20592) 2017-01-24 15:52:51 +00:00
Ryan S. Brown
8d4246ca2f Add ec2_vpc_vgw_facts module to changelog 2017-01-24 09:57:59 -05:00
Ondra Machacek
43519c9bef Add oVirt modules notes to CHANGELOG (#20401) 2017-01-23 10:58:44 +00:00
Will Thames
75437bbe3c Fix ec2_vpc deprecation docs
Clarify the CHANGELOG with deprecation timeline
Correct name of `ec2_vpc_net` module to be used instead
2017-01-19 17:07:57 -08:00
Brian Coca
4e49744031 added 2.1 release info 2017-01-19 12:44:22 -05:00
Brian Coca
6d647aaf55 updated with 2.2.1 release 2017-01-19 12:44:22 -05:00
Brian Coca
cf82023a41 added piped option entry to changelog 2017-01-19 12:44:22 -05:00
Brian Coca
ebd06ebba0 updated 2.2.0 release date 2017-01-19 12:15:45 -05:00
Will Thames
75a7ebe900 Deprecate ec2_vpc module (#20344)
* Deprecate ec2_vpc module

The deprecation of ec2_vpc module has been discussed for
2 years and is causing duplication of effort as changes
are implemented for ec2_vpc rather than for the newer
alternatives

* Improve module deprecation documentation

Update the developing modules documentation with the latest
instructions on how to deprecate a module.
2017-01-19 11:25:28 +00:00
Jasper Lievisse Adriaanse
1844a746b2 List vmadm as a new module 2017-01-18 12:46:21 -08:00
Matt Davis
b2a16379c8 new module: win_path (#20073) 2017-01-17 20:21:04 -08:00
Rene Moser
97491672e4 doc: changelog: add new module cloudscale_server 2017-01-17 23:21:37 +01:00
Ryan S. Brown
9da73b160a Add ECS ECR module to changelog 2017-01-17 14:47:53 -05:00
Rene Moser
b9a1400df5 doc: changelog: new module dimensiondata_network 2017-01-17 08:20:35 +01:00
Matt Davis
5afc0d0c58 add win_shortcut to CHANGELOG 2017-01-16 11:38:40 -08:00
Jasper Lievisse Adriaanse
0937196df1 Sync changelog with recent illumos networking modules (#20074) 2017-01-10 13:18:52 +00:00
Adam Števko
d9ced3f4d1 Modules for gathering facts about ZFS datasets and pools (#19181)
* Add modules for gathering facts about ZFS datasets and pools

* Move zfs module to storage/zfs subcategory

* Replace dict.iteritems() with iteritems(dict)

* Add ANSIBLE_METADATA
Document return values
Make imports explicit
Use native YAML syntax in EXAMPLES

* Add zfs_facts and zpool_facts modules to CHANGELOG.md

* Add facts to return values
2017-01-09 07:53:42 +00:00
Adam Števko
3744764fae Add module for managing boot environments on FreeBSD/Solaris/illumos … (#19180)
* Add module for managing boot environments on FreeBSD/Solaris/illumos systems

* Add ANSIBLE_METADATA
Document return values
Make imports explicit
Use native YAML syntax in EXAMPLES

* Add beadm module to CHANGELOG.md

* Update version to 2.3
2017-01-09 07:52:06 +00:00
Michael
583136980d Adding os_quota support to the OpenStack modules (#19590)
* Adding os_quota support to the OpenStack modules

* Updated descriptions in doc string

* Updated version_added to 2.2 based on CI test feedback

* ready_for_review

* Changed exit_json to remove updating host var facts

* Updated version_added and docs

* Added support for state:absent paramater

This includes:
- Updated the doc string with the paramater information
- Updated the example section showing how to reset a project quota
- Added code support to handle state:absent
- Encountered a bug in delete_network_quota where it returns
an error instead of the current quota. Added support code to
workaround that issue until a proper fix can be added.

* Updated security groups kwarg to reflect Neutron kwargs

* Updated iteritems to be items based on CI feedback

* Updated descriptions and import statements based on code review feedback

* Updated CHANGELOG.md to include os_quota under new mods.
2017-01-08 18:55:12 +00:00
James Hogarth
513466d309 add jenkins_script module for running arbitrary jenkins console scripts against a jenkins instance (#19640) 2017-01-06 15:12:24 +00:00
Jasper Lievisse Adriaanse
7793424b1b Add new module to manage SmartOS images through imgadm(1M) (#19696)
* Add new module to manage SmartOS images through imgadm(1M)

* Explain why check_mode is not supported

* Add imgadm module

* Incorporate feedback from abadger
2017-01-05 12:30:31 -08:00
René Moser
7ae3539eb5 changelog: add new cloudstack modules (#19940) 2017-01-05 17:30:16 +01:00
Ryan S. Brown
3519f2c1c9 Add new AWS KMS module to changelog 2017-01-05 09:44:31 -05:00
Tomáš Karásek
3ebbcbadcf 2 modules for Packet host: packet_device and packet_sshkey (#19005)
* Added 2 modules for Packet Host: packet_device and packet_sshkey

* Fixed comments from @mmlb

* Fixed comments from @gundalow

* Fix typos pointed by @gundalow

* Mention new Packet modules in the CHANGELOG.md
2017-01-03 16:10:17 +00:00
Ner'zhul
9f2d8c2409 Add omapi_host module (#19602)
This module managed DHCPd hosts using OMAPI protocol

Features:
* Add a host
* Remove a host
* Modify host IP (it's impossible to modify only mac or only hostname, this doesn't have any effect)
* Add custom DHCP attributes (at creation only)
2016-12-31 19:09:24 +00:00
Ner'zhul
65f0155d8a Add icinga2_feature module (#19732)
This module permits to tell icinga to enable or disable features
2016-12-29 14:05:22 +00:00
Gregory Shulov
6c3de3c299 Initial Commit for Infinidat Ansible Modules (#19429)
* Initial Commit for Infinidat Ansible Modules

Skip tests for python 2.4 as infinisdk doesn't support python 2.4

Move common code and arguments into module_utils/infinibox.py

Move common documentation to documentation_fragments. Cleanup Docs and Examples

Fix formating in modules description

Add check mode support for all modules

Import AnsibleModule only from ansible.module_utils.basic in all modules

Skip python 2.4 tests for module_utils/infinibox.py

Documentation and code cleanup

Rewrite examples in multiline format

Misc Changes

Test

* Add Infinibox modules to CHANGELOG.md

* Add ANSIBLE_METADATA to all modules
2016-12-22 13:18:19 +00:00
Brian Coca
cb55e74487 added update to ansible-doc as minor feature 2016-12-19 15:10:52 -05:00
Carlos E. Garcia
0b8011436d minor spelling changes 2016-12-13 13:51:13 -05:00
Brian Coca
778c983ef9 ansible_playbook_python (#18530)
* ansible_playbook_python

fixes #18471

* fix tests

* removed dupe
2016-11-23 16:30:46 -05:00
Brian Coca
461286f914 added new callback dense 2016-11-17 19:31:40 -05:00
Brian Coca
387ad9a980 updated changelog with configurable strategy 2016-11-15 15:37:17 -05:00
James Cammarata
fcb033b9e4 Add name field for Blocks
Fixes #18420
2016-11-15 11:57:57 -06:00
Brian Coca
c005ae3cd9 removed package from squash actions
fixes https://github.com/ansible/ansible-modules-core/issues/5595
2016-11-14 17:41:14 -05:00
Rene Moser
1327230ebf changelog: add FreeIPA modules 2016-11-09 22:53:02 +01:00
Toshio Kuratomi
03f85441a1 Add openbsd version-release facts change to changelog 2016-11-02 17:11:39 -07:00
Gonéri Le Bouder
702ac436dc drop duplicated section from CHANGELOG
This 2.1.2 section from the changelog was duplicated.

78a02555e5 was coming from extra 2.1.2 information but the section
was already here since 94a0d2afb4.
2016-11-02 19:36:22 -04:00
Brian Coca
4176aceb5f added openwrt_init service module 2016-10-28 11:29:44 -04:00
Brian Coca
c683d01c00 added win_say
(cherry picked from commit 6b94ddd8a55d6386f99d332834b0754218b0175e)
2016-10-26 19:52:23 -04:00
Rene Moser
460da3b537 doc: add new modules to changelog 2016-10-24 22:23:25 +02:00
Michael Scherer
a1032bc44b Fix some errors in CHANGELOG.md (#18149) 2016-10-23 09:36:38 +02:00
John R Barker
871d3d8945 New f5 modules (#18106)
From https://github.com/ansible/ansible-modules-extras/pull/3232
2016-10-19 18:38:36 +01:00
Toshio Kuratomi
f012159860 Move archive from the 2.2 release to the 2.3 release 2016-10-06 11:24:19 -07:00
Toshio Kuratomi
7e57403b9e Add a changelog entry for merging of multiple --tags arguments 2016-10-06 10:23:31 -07:00
John R Barker
0dea70bf37 asa_template wasn't ever officially released
asa_template was added during 2.2 development, and removed before 2.2 hit RC1 so no need to give notice of deprecation.
2016-10-04 14:07:01 +01:00
James Cammarata
78a02555e5 Updating CHANGELOG and release versions for 2.1.2 2016-10-03 09:31:12 -05:00
John R Barker
4643bb4c6a New modules (#17870)
Full review of new modules
2016-10-03 15:08:35 +01:00
Peter Sprygada
15ee97d214 added network updates to CHANGELOG 2016-10-03 09:01:01 -04:00
Brian Coca
814e3069b9 added forman callback plugin to changelog 2016-10-03 08:46:48 -04:00
Senthil Kumar Ganesan
7e0074263d Remove the dellosX_template module (#17836) 2016-10-01 14:31:51 -04:00
jctanner
91adddfbca Update changelog for scp_when_ssh=smart (#17819) 2016-09-29 17:49:46 -04:00
Brian Coca
86ea21a73d ansible_play_batch (#17779)
* ansible_play_batch

* added version added
2016-09-28 10:32:19 -04:00
John R Barker
8cdf002f2a Notice of Networking *_template deprecations (#17668)
* Notice of Networking *_facts deprecations

* Just use the term "Deprecations"

* Update CHANGELOG.md

* Improve layout
2016-09-28 12:57:01 +01:00
Brian Coca
530b2d7a15 added ansible_play_hosts to changelog 2016-09-23 11:26:01 -04:00
Chris Houseknecht
cc9ef78597 Added docker_network to 2.2 change log 2016-09-21 09:55:48 -04:00
James Cammarata
507700e42c Officially naming the 2.2 release "The Battle of Evermore" 2016-09-20 13:51:14 -05:00
John R Barker
cd79fcc8c6 Fixed formatting
Need a blank line before headings
2016-09-20 19:40:10 +01:00
Toshio Kuratomi
429a3cf82d Add pip bugfix to minor changes 2016-09-20 07:09:55 -07:00
John R Barker
a80158847e New networking modules in 2.2 2016-09-19 17:02:53 +01:00
Senthil Kumar Ganesan
463349c0d1 Added support template module for Dell Networking OS6 devices 2016-09-17 10:55:40 -07:00
Senthil Kumar Ganesan
e07b854505 Update Changelog for the dellos6_facts module support (#17621) 2016-09-17 09:02:46 +01:00
Senthil Kumar Ganesan
bb9ed50441 Renamed the Modules from dnos* -> dellos*, updated copyright, removed… (#17617)
* Renamed the Modules from dnos* -> dellos*, updated copyright, removed dnos6_template

* Addressed @gundalow comments
2016-09-16 22:45:08 +01:00
Brian Coca
4e60f23198 remove bare variable support from loops (#17519)
* remove bare variable support from loops

* Added new 'removed deprecated' section to changelg

also added removed items from this PR and others
2016-09-16 12:54:52 -04:00
Mike Rostermund
89c826df9d Fixed typo in changelog (#17597) 2016-09-16 10:33:32 -04:00
Peter Sprygada
697888965e Merge pull request #17603 from skg-net/dnos10_facts
Added support for facts module for Dell Networking OS10 device.
2016-09-16 08:02:44 -04:00
Toshio Kuratomi
8af8eec789 Merge pull request #17590 from abadger/vault-fixes
Vault fixes
2016-09-15 18:39:34 -07:00
Senthil Kumar Ganesan
769fa1c2d7 Support for dnos10_facts module 2016-09-15 16:16:17 -07:00
Toshio Kuratomi
e70066a6f7 Many Cleanups to vault
* Make is_encrypted_file handle both files opened in text and binary mode
  On python3, by default files are opened in text mode.  Since we know
  the encoding of vault files (and especially the header which is the
  first set of bytes) we can decide whether the file is an encrypted
  vault file in either case.
* Fix is_encrypted_file not resetting the file position
* Update is_encrypted_file to check that all the data in the file is ascii
* For is_encrypted_file(), add start_pos and count parameters
  This allows callers to specify reading vaulttext from the middle of
  a file if necessary.
* Combine VaultLib.encrypt() and VaultLib.encrypt_bytestring()
* Change vault's is_encrypted() to take either text or byte strings and to return False if any part of the data is non-ascii.
* Remove unnecessary use of six.b
* Vault Cipher: mark a few methods as private.
* VaultAES256._is_equal throws a TypeError if given non byte strings
* Make VaultAES256 methods that don't need self staticmethods and classmethods
* Mark VaultAES and is_encrypted as deprecated
* Get rid of VaultFile (unused and feature implemented in a different way)
* Normalize variable and parameter names on plaintext, ciphertext, vaulttext
* Normalize variable and parameter names on "b_" prefix when dealing with bytes
* Test changes:
  * Remove redundant tests( both checking the same byte string)
  * Fix use of format string without format operator
  * Enable vault editor tests on python3
  * Initialize the vault_cipher for VaultAES256 testing in setUp()
  * Make assertTrue and assertFalse take the actual method calls for
    better error messages.
  * Test that non-ascii byte strings compare correctly.
  * Test that unicode strings and ints raise TypeError

* Test-specific:
  * Removed test_methods_exist().  We only have one VaultLib so the
    implementation is the assurance that the methods exist. (Can use an abc for
    this if it changes).
  * Add tests for both byte string and text string input where the API takes either.
  * Convert "assert" to unittest assert functions or add a custom message where
    that will make failures easier to debug.
  * Move instantiating the VaultLib into setUp().
2016-09-15 15:22:06 -07:00
Senthil Kumar Ganesan
81072fcba1 Added support OS9 facts (#17591) 2016-09-15 19:22:23 +01:00
Brian Coca
a7c95cfa61 added win_command/win_shell to changelog 2016-09-15 11:43:21 -04:00
Senthil Kumar Ganesan
68f1705d18 Add action plugin for dnos6_config module (#17553) 2016-09-14 20:55:45 +01:00
Senthil Kumar Ganesan
7d9b07382b Add action pluging for dnos9_template module (#17549) 2016-09-14 20:40:55 +01:00
Senthil Kumar Ganesan
564e02c3c3 Add action plugin for dnos6_template module (#17554) 2016-09-14 20:37:56 +01:00
Senthil Kumar Ganesan
c6acf44a7c Added support for dnos9_config module 2016-09-13 10:42:12 -07:00
Senthil Kumar Ganesan
3e18676af4 Addded support for dnos9_command module 2016-09-12 11:26:22 -07:00
Senthil Kumar Ganesan
05e016e4aa Addressed @gundalow review comments 2016-09-12 10:08:10 -07:00
Senthil Kumar Ganesan
94df740ca3 Added support for dnos6_command module 2016-09-12 10:08:10 -07:00
Toshio Kuratomi
56b3a45d2e Python3 changelog entry 2016-09-12 08:42:42 -07:00
Toshio Kuratomi
4e9dd09b85 ssh_executbale and controlpersist changes 2016-09-12 08:36:11 -07:00
René Moser
ae8ec31700 changelog: add missing new modules (#17503) 2016-09-11 10:49:35 +02:00
Brian Coca
a3028783d4 removed previously deprecated ';' host separator 2016-09-09 17:32:53 -04:00
Brian Coca
ef7e2f7fbc updated changelog 2016-09-07 12:45:04 -04:00