<commit_before>==============================================
Salt 2015.2.0 Release Notes - Codename Lithium
==============================================

The 2015.2.0 feature release of Salt is focused on hardening Salt and mostly
on improving existing systems. A few major additions are present, primarily
the new Beacon system. Most enhancements have been focused around improving
existing features and interfaces.

As usual the release notes are not exhaustive and primarily include the most
notable additions and improvements. Hundreds of bugs have been fixed and many
modules have been substantially updated and added.

Beacons
=======

The beacon system allows the minion to hook into system processes and
continually translate external events into the salt event bus. The primary
example of this is the :py:mod:`~salt.beacons.inotify` beacon. This beacon uses
inotify to watch configured files or directories on the minion for changes,
creation, deletion etc.

This allows for the changes to be sent up to the master where the reactor can
respond to changes.

Sudo Minion Settings
====================
<commit_msg>Update to release notes from 2015.2 branch<commit_after>==============================================
Salt 2015.5.0 Release Notes - Codename Lithium
==============================================

The 2015.5.0 feature release of Salt is focused on hardening Salt and mostly
on improving existing systems. A few major additions are present, primarily
the new Beacon system. Most enhancements have been focused around improving
existing features and interfaces.

As usual the release notes are not exhaustive and primarily include the most
notable additions and improvements. Hundreds of bugs have been fixed and many
modules have been substantially updated and added.

.. warning::

    In order to fix potential shell injection vulnerabilities in salt modules,
    a change has been made to the various ``cmd`` module functions. These
    functions now default to ``python_shell=False``, which means that the
    commands will not be sent to an actual shell.

    The largest side effect of this change is that "shellisms", such as pipes,
    will not work by default. The modules shipped with salt have been audited
    to fix any issues that might have arisen from this change.  Additionally,
    the ``cmd`` state module has been unaffected, and use of ``cmd.run`` in
    jinja is also unaffected. ``cmd.run`` calls on the CLI will also allow
    shellisms.

    However, custom execution modules which use shellisms in ``cmd`` calls
    will break, unless you pass ``python_shell=True`` to these calls.

    As a temporary workaround, you can set ``cmd_safe: False`` in your minion
    and master configs. This will revert the default, but is also less secure,
    as it will allow shell injection vulnerabilities to be written in custom
    code. We recommend you only set this setting for as long as it takes to
    resolve these issues in your custom code, then remove the override.


.. note::

    Starting in this version of salt, ``pillar_opts`` defaults to False instead
    of True. This means that master opts will not be present in minion pillar,
    and as a result, ``config.get`` calls will not include master opts.

    We recommend pillar is used for configuration options which need to make it
    to the minion.


Beacons
=======

The beacon system allows the minion to hook into system processes and
continually translate external events into the salt event bus. The primary
example of this is the :py:mod:`~salt.beacons.inotify` beacon. This beacon uses
inotify to watch configured files or directories on the minion for changes,
creation, deletion etc.

This allows for the changes to be sent up to the master where the reactor can
respond to changes.

Sudo Minion Settings
====================

{'fraction_non_alphanumeric': 0.09856957087126138, 'fraction_numerical': 0.007542262678803641, 'mean_word_length': 4.349095966620306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5915176', 'n_tokens_mistral': 951, 'n_tokens_neox': 859, 'n_words': 544}