2017-04-10 22:44:58 +00:00
|
|
|
:orphan:
|
|
|
|
|
|
|
|
====================================
|
|
|
|
Salt Release Notes - Codename Oxygen
|
|
|
|
====================================
|
2017-04-11 19:07:24 +00:00
|
|
|
|
2017-06-14 18:47:49 +00:00
|
|
|
Comparison Operators in Package Installation
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
Salt now supports using comparison operators (e.g. ``>=1.2.3``) when installing
|
|
|
|
packages on minions which use :mod:`yum/dnf <salt.modules.yumpkg>` or :mod:`apt
|
|
|
|
<salt.modules.aptpkg>`. This is supported both in the :py:func:`pkg.installed
|
|
|
|
<salt.states.pkg.installed>` state and in the ``pkg.install`` remote execution
|
|
|
|
function.
|
|
|
|
|
2017-06-13 01:21:55 +00:00
|
|
|
:ref:`Master Tops <master-tops-system>` Changes
|
|
|
|
-----------------------------------------------
|
|
|
|
|
|
|
|
When both :ref:`Master Tops <master-tops-system>` and a :ref:`Top File
|
|
|
|
<states-top>` produce SLS matches for a given minion, the matches were being
|
|
|
|
merged in an unpredictable manner which did not preserve ordering. This has
|
|
|
|
been changed. The top file matches now execute in the expected order, followed
|
|
|
|
by any master tops matches that are not matched via a top file.
|
|
|
|
|
|
|
|
To make master tops matches execute first, followed by top file matches, set
|
|
|
|
the new :conf_minion:`master_tops_first` minion config option to ``True``.
|
|
|
|
|
2017-05-09 15:34:26 +00:00
|
|
|
New GitFS Features
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Two new features which affect how GitFS maps branches/tags to fileserver
|
|
|
|
environments (i.e. ``saltenvs``) have been added:
|
|
|
|
|
|
|
|
1. It is now possible to completely turn off Salt's default mapping logic
|
|
|
|
(aside from the mapping of the ``base`` saltenv). This can be triggered
|
|
|
|
using the new :conf_master:`gitfs_disable_saltenv_mapping` config option.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
When this is disabled, only the ``base`` saltenv and any configured
|
|
|
|
using :ref:`per-saltenv configuration parameters
|
|
|
|
<gitfs-per-saltenv-config>` will be available.
|
|
|
|
|
|
|
|
2. The types of refs which Salt will use as saltenvs can now be controlled. In
|
|
|
|
previous releases, branches and tags were both mapped as environments, and
|
|
|
|
individual commit SHAs could be specified as saltenvs in states (and when
|
|
|
|
caching files using :py:func:`cp.cache_file <salt.modules.cp.cache_file>`).
|
|
|
|
Using the new :conf_master:`gitfs_ref_types` config option, the types of
|
|
|
|
refs which are used as saltenvs can be restricted. This makes it possible to
|
|
|
|
ignore all tags and use branches only, and also to keep SHAs from being made
|
|
|
|
available as saltenvs.
|
|
|
|
|
2017-04-11 19:07:24 +00:00
|
|
|
Configuration Option Deprecations
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
- The ``requests_lib`` configuration option has been removed. Please use
|
|
|
|
``backend`` instead.
|
2017-04-19 18:19:09 +00:00
|
|
|
|
|
|
|
Module Deprecations
|
|
|
|
-------------------
|
|
|
|
|
2017-05-11 20:13:42 +00:00
|
|
|
The ``blockdev`` execution module has been removed. Its functions were merged
|
|
|
|
with the ``disk`` module. Please use the ``disk`` execution module instead.
|
|
|
|
|
2017-04-19 18:19:09 +00:00
|
|
|
The ``win_psget`` module had the following changes:
|
|
|
|
|
|
|
|
- The ``psversion`` function was removed. Please use ``cmd.shell_info`` instead.
|
|
|
|
|
|
|
|
The ``win_service`` module had the following changes:
|
|
|
|
|
|
|
|
- The ``config`` function was removed. Please use the ``modify`` function
|
|
|
|
instead.
|
|
|
|
- The ``binpath`` option was removed from the ``create`` function. Please use
|
|
|
|
``bin_path`` instead.
|
|
|
|
- The ``depend`` option was removed from the ``create`` function. Please use
|
|
|
|
``dependencies`` instead.
|
|
|
|
- The ``DisplayName`` option was removed from the ``create`` function. Please
|
|
|
|
use ``display_name`` instead.
|
|
|
|
- The ``error`` option was removed from the ``create`` function. Please use
|
|
|
|
``error_control`` instead.
|
|
|
|
- The ``group`` option was removed from the ``create`` function. Please use
|
|
|
|
``load_order_group`` instead.
|
|
|
|
- The ``obj`` option was removed from the ``create`` function. Please use
|
|
|
|
``account_name`` instead.
|
|
|
|
- The ``password`` option was removed from the ``create`` function. Please use
|
|
|
|
``account_password`` instead.
|
|
|
|
- The ``start`` option was removed from the ``create`` function. Please use
|
|
|
|
``start_type`` instead.
|
|
|
|
- The ``type`` option was removed from the ``create`` function. Please use
|
|
|
|
``service_type`` instead.
|
2017-04-19 18:44:15 +00:00
|
|
|
|
|
|
|
State Deprecations
|
|
|
|
------------------
|
|
|
|
|
|
|
|
The ``archive`` state had the following changes:
|
|
|
|
|
|
|
|
- The ``tar_options`` and the ``zip_options`` options were removed from the
|
|
|
|
``extracted`` function. Please use ``options`` instead.
|
|
|
|
|
|
|
|
The ``cmd`` state had the following changes:
|
|
|
|
|
|
|
|
- The ``user`` and ``group`` options were removed from the ``run`` function.
|
|
|
|
Please use ``runas`` instead.
|
|
|
|
- The ``user`` and ``group`` options were removed from the ``script`` function.
|
|
|
|
Please use ``runas`` instead.
|
|
|
|
- The ``user`` and ``group`` options were removed from the ``wait`` function.
|
|
|
|
Please use ``runas`` instead.
|
|
|
|
- The ``user`` and ``group`` options were removed from the ``wait_script``
|
|
|
|
function. Please use ``runas`` instead.
|
|
|
|
|
|
|
|
The ``file`` state had the following changes:
|
|
|
|
|
|
|
|
- The ``show_diff`` option was removed. Please use ``show_changes`` instead.
|
2017-04-26 21:30:53 +00:00
|
|
|
|
|
|
|
Grain Deprecations
|
|
|
|
------------------
|
|
|
|
|
|
|
|
For ``smartos`` some grains have been deprecated. These grains will be removed in Neon.
|
|
|
|
|
|
|
|
- The ``hypervisor_uuid`` has been replaced with ``mdata:sdc:server_uuid`` grain.
|
|
|
|
- The ``datacenter`` has been replaced with ``mdata:sdc:datacenter_name`` grain.
|