vultr: rename prefix vr_to vultr_ (#43994)

* vultr: rename modules

* replace string vr_ with vultr_

* add deprecation warning

* fix sanity tests

* add changelog
This commit is contained in:
René Moser 2018-08-13 10:21:50 +02:00 committed by GitHub
commit 1fb0e11b56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 543 additions and 537 deletions

View file

@ -30,6 +30,10 @@ def vultr_argument_spec():
class Vultr:
def __init__(self, module, namespace):
if module._name.startswith('vr_'):
module.deprecate("The Vultr modules were renamed. The prefix of the modules changed from vr_ to vultr_", version='2.11')
self.module = module
# Namespace use for returns