2013-01-14 01:52:19 +00:00
|
|
|
=========================
|
|
|
|
Salt 0.12.0 Release Notes
|
|
|
|
=========================
|
|
|
|
|
|
|
|
Another feature release of Salt is here! Some exciting additions are included
|
|
|
|
with more ways to make salt modular and even easier management of the salt
|
|
|
|
file server.
|
|
|
|
|
|
|
|
Major Features
|
|
|
|
==============
|
|
|
|
|
|
|
|
Modular Fileserver Backend
|
|
|
|
--------------------------
|
|
|
|
|
2013-01-14 05:43:55 +00:00
|
|
|
The new modular fileserver backend allows for any external system to be used as
|
|
|
|
a salt file server. The main benefit here is that it is now possible to tell
|
|
|
|
the master to directly use a git remote location, or many git remote locations,
|
|
|
|
automatically mapping git branches and tags to salt environments.
|
2013-01-14 01:52:19 +00:00
|
|
|
|
|
|
|
Windows is First Class!
|
|
|
|
-----------------------
|
|
|
|
|
2013-01-14 06:22:43 +00:00
|
|
|
A new Salt Windows installer is now available! Much work has been put in to
|
|
|
|
improve Windows support. With this much easier method of getting Salt on your
|
|
|
|
Windows machines, we hope even more development and progress will occur. Please
|
|
|
|
file bug reports on the Salt github repo issue tracker so we can continue
|
|
|
|
improving.
|
|
|
|
|
|
|
|
One thing that is missing on Windows that Salt uses extensively is a software
|
|
|
|
package manager and a software package repository. The Salt pkg state allows
|
|
|
|
sys admins to install software across their infrastructure and across operating
|
|
|
|
systems. Software on Windows can now be managed in the same way. The SaltStack
|
|
|
|
team built a package manager that interfaces with the standard Salt pkg module
|
|
|
|
to allow for installing and removing software on Windows. In addition, a
|
|
|
|
software package repository has been built on top of the Salt fileserver. A
|
|
|
|
small yaml file provides the information necessary for the package manager to
|
|
|
|
install and remove software.
|
|
|
|
|
|
|
|
An interesting feature of the new Salt Windows software package repository is
|
|
|
|
that one or more remote git repositories can supplement the master's local
|
|
|
|
repository. The repository can point to software on the master's fileserver or
|
|
|
|
on an http, https, or ftp server.
|
|
|
|
|
2013-01-14 01:52:19 +00:00
|
|
|
New Default Outputter
|
|
|
|
---------------------
|
|
|
|
|
2013-01-14 02:05:23 +00:00
|
|
|
Salt displays data to the terminal via the outputter system. For a long time
|
2013-01-14 05:43:55 +00:00
|
|
|
the default outputter for Salt has been the python pretty print library. While
|
|
|
|
this has been a generally reasonable outputter, it did have many failings. The
|
|
|
|
new default outputter is called "nested", it recursively scans return data
|
2013-01-14 02:05:23 +00:00
|
|
|
structures and prints them out cleanly.
|
|
|
|
|
|
|
|
If the result of the new nested outputter is not desired any other outputter
|
|
|
|
can be used via the --out option, or the output option can be set in the master
|
|
|
|
and minion configs to change the default outputter.
|
|
|
|
|
2013-01-14 08:51:42 +00:00
|
|
|
Internal Scheduler
|
|
|
|
------------------
|
|
|
|
|
|
|
|
The internal Salt scheduler is a new capability which allows for functions to
|
|
|
|
be executed at given intervals on the minion, and for runners to be executed
|
|
|
|
at given intervals on the master. The scheduler allows for sequences
|
|
|
|
such as executing state runs (locally on the minion or remotely via an
|
|
|
|
overstate) or continually gathering system data to be run at given intervals.
|
|
|
|
|
|
|
|
The configuration is simple, add the schedule option to the master or minion
|
|
|
|
config and specify jobs to run, this in the master config will execute the
|
|
|
|
state.over runner every 60 minutes:
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
schedule:
|
|
|
|
overstate:
|
|
|
|
function: state.over
|
|
|
|
minutes: 60
|
|
|
|
|
|
|
|
This example for the minion configuration will execute a highstate every 30
|
|
|
|
minutes:
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
schedule:
|
|
|
|
highstate:
|
|
|
|
function: state.highstate
|
|
|
|
minutes: 30
|
|
|
|
|
2013-01-14 01:52:19 +00:00
|
|
|
Set Grains Remotely
|
|
|
|
-------------------
|
2013-01-14 02:05:23 +00:00
|
|
|
|
2013-01-14 03:57:47 +00:00
|
|
|
A new execution function and state module have been added that allows for
|
|
|
|
grains to be set on the minion. Now grains can be set via a remote execution or
|
|
|
|
via states. Use the `grains.present` state or the `grains.setval` execution
|
2013-01-14 05:43:55 +00:00
|
|
|
functions.
|
2013-01-14 03:57:47 +00:00
|
|
|
|
|
|
|
Gentoo Additions
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Major additions to Gentoo specific components have been made. The encompasses
|
|
|
|
executions modules and states ranging from supporting the make.conf file to
|
|
|
|
tools like layman.
|