Update deprecation notices to the correct version (#38421)

The removal of these code pieces happens in Nitrogen, but they
are marked for deprecation in 2016.3.0.

Refs #38420
This commit is contained in:
Nicole Thomas 2016-12-22 13:47:21 -07:00 committed by GitHub
parent 9ce53318df
commit e5eb51255b
6 changed files with 14 additions and 12 deletions

View file

@ -35,7 +35,7 @@ def useradd_all(pwfile, user, password, opts='', runas=None):
Add a user to htpasswd file using the htpasswd command. If the htpasswd
file does not exist, it will be created.
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
pwfile
Path to htpasswd file

View file

@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
'''
Virtual machine image management tools
.. deprecated:: 2016.3.0
'''
# Import python libs

View file

@ -244,7 +244,7 @@ def get_macs(domain):
# Deprecated aliases
def create(domain):
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.start` instead.
Start a defined domain
@ -261,7 +261,7 @@ def create(domain):
def destroy(domain):
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.stop` instead.
Power off a defined domain
@ -278,7 +278,7 @@ def destroy(domain):
def list_vms():
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.list_domains` instead.
List all virtual machines.

View file

@ -382,7 +382,7 @@ def get_resource_path(venv,
package_or_requirement
Name of the package in which the resource resides
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use ``package`` instead.
resource
@ -393,7 +393,7 @@ def get_resource_path(venv,
resource_name
Name of the resource of which the path is to be returned
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
.. versionadded:: 2015.5.0
@ -473,7 +473,7 @@ def get_resource_content(venv,
package_or_requirement
Name of the package in which the resource resides
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use ``package`` instead.
resource
@ -484,7 +484,7 @@ def get_resource_content(venv,
resource_name
Name of the resource of which the content is to be returned
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
.. versionadded:: 2015.5.0

View file

@ -931,7 +931,7 @@ def vm_diskstats(vm_=None):
# Deprecated aliases
def create(domain):
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.start` instead.
Start a defined domain
@ -948,7 +948,7 @@ def create(domain):
def destroy(domain):
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.stop` instead.
Power off a defined domain
@ -965,7 +965,7 @@ def destroy(domain):
def list_vms():
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.virt.list_domains` instead.
List all virtual machines.

View file

@ -455,7 +455,7 @@ def info_available(*names, **kwargs):
def info(*names, **kwargs):
'''
.. deprecated:: Nitrogen
.. deprecated:: 2016.3.0
Use :py:func:`~salt.modules.pkg.info_available` instead.
Return the information of the named package available for the system.