Merge pull request #31583 from vutny/remove-trailing-white-spaces

Remove trailing white spaces
This commit is contained in:
Nicole Thomas 2016-03-02 08:38:01 -07:00
commit 36ce240596
80 changed files with 349 additions and 349 deletions

View File

@ -1,4 +1,4 @@
# This file should normally be installed at: /etc/salt/cloud
# This file should normally be installed at: /etc/salt/cloud
##########################################

View File

@ -1,4 +1,4 @@
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Arch Linux
# https://wiki.archlinux.org/index.php/Arch_Linux_AMIs_for_Amazon_Web_Services

View File

@ -1,4 +1,4 @@
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Arch Linux
# https://wiki.archlinux.org/index.php/Arch_Linux_AMIs_for_Amazon_Web_Services
@ -96,7 +96,7 @@ ubuntu_lucid_ec2:
ubuntu_precise_ec2:
provider: my-ec2-config
image: ami-3ed8fb7b
image: ami-3ed8fb7b
size: t1.micro
ssh_username: ubuntu
location: us-west-1

View File

@ -1,4 +1,4 @@
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Official distro images for Arch, Centos, Debian, Fedora, FreeBSD, Ubuntu
# Arch Linux
# https://wiki.archlinux.org/index.php/Arch_Linux_AMIs_for_Amazon_Web_Services
@ -50,7 +50,7 @@ debian_squeeze_ec2:
# https://fedoraproject.org/wiki/Cloud_images
fedora_17_ec2:
provider: my-ec2-config
image: ami-8e69e5be
image: ami-8e69e5be
size: t1.micro
ssh_username: ec2-user
location: us-west-2

View File

@ -44,7 +44,7 @@
# Directory to store job and cache data:
# This directory may contain sensitive data and should be protected accordingly.
#
#
#cachedir: /var/cache/salt/master
# Directory for custom modules. This directory can contain subdirectories for
@ -106,7 +106,7 @@
#minion_data_cache: True
# Store all returns in the given returner.
# Setting this option requires that any returner-specific configuration also
# Setting this option requires that any returner-specific configuration also
# be set. See various returners in salt/returners for details on required
# configuration values. (See also, event_return_queue below.)
#
@ -145,12 +145,12 @@
# the key rotation event as minions reconnect. Consider this carefully if this
# salt master is managing a large number of minions.
#
# If disabled, it is recommended to handle this event by listening for the
# If disabled, it is recommended to handle this event by listening for the
# 'aes_key_rotate' event with the 'key' tag and acting appropriately.
# ping_on_rotate: False
# By default, the master deletes its cache of minion data when the key for that
# minion is removed. To preserve the cache after key deletion, set
# minion is removed. To preserve the cache after key deletion, set
# 'preserve_minion_cache' to True.
#
# WARNING: This may have security implications if compromised minions auth with
@ -291,7 +291,7 @@
# - cmd
# Enforce client_acl & client_acl_blacklist when users have sudo
# access to the salt command.
# access to the salt command.
#
#sudo_acl: False
@ -451,7 +451,7 @@
# When using multiple environments, each with their own top file, the
# default behaviour is an unordered merge. To prevent top files from
# being merged together and instead to only use the top file from the
# requested environment, set this value to 'same'.
# requested environment, set this value to 'same'.
#top_file_merging_strategy: merge
# To specify the order in which environments are merged, set the ordering
@ -468,7 +468,7 @@
# the master server. The default is md5, but sha1, sha224, sha256, sha384
# and sha512 are also supported.
#
# Prior to changing this value, the master should be stopped and all Salt
# Prior to changing this value, the master should be stopped and all Salt
# caches should be cleared.
#hash_type: md5

View File

@ -154,7 +154,7 @@ pdf: translations
cheatsheet: translations
@echo "Running cheatsheet/salt.tex file through xelatex..."
cd cheatsheet && xelatex salt.tex && cp salt.pdf ../salt-cheatsheet.pdf
cd cheatsheet && xelatex salt.tex && cp salt.pdf ../salt-cheatsheet.pdf
@echo "./salt-cheatsheet.pdf created."
text: translations

View File

@ -6069,7 +6069,7 @@ a.badge:focus {
top: 20%;
left: 50%;
padding: 15px;
width: 35%;
width: 35%;
}
.carousel-caption h4,

View File

@ -45,7 +45,7 @@ window.Modernizr = (function( window, document, undefined ) {
slice = classes.slice,
featureName,
featureName,
injectElementWithStyles = function( rule, callback, nodes, testnames ) {
@ -105,7 +105,7 @@ window.Modernizr = (function( window, document, undefined ) {
return bool;
},
isEventSupported = (function() {
@ -152,7 +152,7 @@ window.Modernizr = (function( window, document, undefined ) {
};
}
else {
hasOwnProp = function (object, property) {
hasOwnProp = function (object, property) {
return ((property in object) && is(object.constructor.prototype[property], 'undefined'));
};
}
@ -620,7 +620,7 @@ window.Modernizr = (function( window, document, undefined ) {
}
return Modernizr;
return Modernizr;
};

View File

@ -226,4 +226,4 @@
<glyph unicode="&#xe199;" d="M100 200h400v-155l-75 -45h350l-75 45v155h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170z" />
<glyph unicode="&#xe200;" d="M121 700q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350l-75 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5 t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -11.5t1 -11.5q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5z" />
</font>
</defs></svg>
</defs></svg>

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -1,5 +1,5 @@
#!/bin/bash
#
#
# This script is used to generate the gource video released with each release of Salt
#
#

View File

@ -32,7 +32,7 @@ shell script, which automates the install correctly on multiple platforms:
Get Started
===============
A new `Get Started Guide <http://docs.saltstack.com/en/getstarted/>`_ walks you
A new `Get Started Guide <http://docs.saltstack.com/en/getstarted/>`_ walks you
through the basics of getting SaltStack up and running. You'll learn how to:
* Install and configure SaltStack

View File

@ -39429,7 +39429,7 @@ used if no arguments are required.
\fBtgt\fP (\fIstring or list\fP) \-\- Which minions to target for the execution. Default is shell
glob. Modified by the \fBexpr_form\fP option.
.IP \(bu 2
\fBfun\fP (\fIstring or list of strings\fP) \-\-
\fBfun\fP (\fIstring or list of strings\fP) \-\-
.sp
The module and function to call on the specified minions of
the form \fBmodule.function\fP\&. For example \fBtest.ping\fP or
@ -39455,7 +39455,7 @@ executing a compound command.
\fBtimeout\fP \-\- Seconds to wait after the last minion returns but
before all minions return.
.IP \(bu 2
\fBexpr_form\fP \-\-
\fBexpr_form\fP \-\-
.sp
The type of \fBtgt\fP\&. Allowed values:
.INDENT 2.0
@ -39488,7 +39488,7 @@ on the minions
.IP \(bu 2
\fBkwarg\fP \-\- A dictionary with keyword arguments for the function.
.IP \(bu 2
\fBkwargs\fP \-\-
\fBkwargs\fP \-\-
.sp
Optional keyword arguments.
Authentication credentials may be passed when using
@ -49440,7 +49440,7 @@ salt\-cloud \-a suspend vmname
# Directory to store job and cache data:
# This directory may contain sensitive data and should be protected accordingly.
#
#
#cachedir: /var/cache/salt/master
# Directory for custom modules. This directory can contain subdirectories for
@ -49502,7 +49502,7 @@ salt\-cloud \-a suspend vmname
#minion_data_cache: True
# Store all returns in the given returner.
# Setting this option requires that any returner\-specific configuration also
# Setting this option requires that any returner\-specific configuration also
# be set. See various returners in salt/returners for details on required
# configuration values. (See also, event_return_queue below.)
#
@ -49541,12 +49541,12 @@ salt\-cloud \-a suspend vmname
# the key rotation event as minions reconnect. Consider this carefully if this
# salt master is managing a large number of minions.
#
# If disabled, it is recommended to handle this event by listening for the
# If disabled, it is recommended to handle this event by listening for the
# \(aqaes_key_rotate\(aq event with the \(aqkey\(aq tag and acting appropriately.
# ping_on_rotate: False
# By default, the master deletes its cache of minion data when the key for that
# minion is removed. To preserve the cache after key deletion, set
# minion is removed. To preserve the cache after key deletion, set
# \(aqpreserve_minion_cache\(aq to True.
#
# WARNING: This may have security implications if compromised minions auth with
@ -49687,7 +49687,7 @@ salt\-cloud \-a suspend vmname
# \- cmd
# Enforce client_acl & client_acl_blacklist when users have sudo
# access to the salt command.
# access to the salt command.
#
#sudo_acl: False
@ -49847,7 +49847,7 @@ salt\-cloud \-a suspend vmname
# When using multiple environments, each with their own top file, the
# default behaviour is an unordered merge. To prevent top files from
# being merged together and instead to only use the top file from the
# requested environment, set this value to \(aqsame\(aq.
# requested environment, set this value to \(aqsame\(aq.
#top_file_merging_strategy: merge
# To specify the order in which environments are merged, set the ordering
@ -49864,7 +49864,7 @@ salt\-cloud \-a suspend vmname
# the master server. The default is md5, but sha1, sha224, sha256, sha384
# and sha512 are also supported.
#
# Prior to changing this value, the master should be stopped and all Salt
# Prior to changing this value, the master should be stopped and all Salt
# caches should be cleared.
#hash_type: md5
@ -85289,7 +85289,7 @@ If no packages specified, all packages will be returned.
.INDENT 7.0
.TP
.B Parameters
\fBpackages\fP \-\-
\fBpackages\fP \-\-
.TP
.B Returns
@ -98022,7 +98022,7 @@ The value to append to the grain key
If convert is False and the grain contains non\-list contents, an error
is given. Defaults to False.
.IP \(bu 2
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
The key can be a nested dict key. Use this parameter to
specify the delimiter you use, instead of the default \fB:\fP\&.
@ -98156,7 +98156,7 @@ values for non\-standard package names such as when using a different
Python version from the default Python version provided by the OS
(e.g., \fBpython26\-mysql\fP instead of \fBpython\-mysql\fP).
.IP \(bu 2
\fBdefault\fP \-\-
\fBdefault\fP \-\-
.sp
default lookup_dict\(aqs key used if the grain does not exists
or if the grain value has no match on lookup_dict. If unspecified
@ -98166,7 +98166,7 @@ New in version 2014.1.0.
.IP \(bu 2
\fBbase\fP \-\-
\fBbase\fP \-\-
.sp
A lookup_dict key to use for a base dictionary. The
grain\-selected \fBlookup_dict\fP is merged over this and then finally
@ -98231,7 +98231,7 @@ pkg:apache
.INDENT 7.0
.TP
.B Parameters
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
Specify an alternate delimiter to use when traversing a nested dict
.sp
@ -98426,7 +98426,7 @@ Remove a value from a list in the grains config file
.INDENT 7.0
.TP
.B Parameters
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
The key can be a nested dict key. Use this parameter to
specify the delimiter you use, instead of the default \fB:\fP\&.
@ -102306,7 +102306,7 @@ Set channel access
.UNINDENT
.IP \(bu 2
\fBalerting\fP \-\-
\fBalerting\fP \-\-
.sp
PEF Alerting Enable/Disable
\- True = enable PEF Alerting
@ -102318,7 +102318,7 @@ PEF Alerting Enable/Disable
.UNINDENT
.IP \(bu 2
\fBper_msg_auth\fP \-\-
\fBper_msg_auth\fP \-\-
.sp
Per\-message Authentication
\- True = enable
@ -102331,7 +102331,7 @@ used on subsequent packets for the session.]
.UNINDENT
.IP \(bu 2
\fBuser_level_auth\fP \-\-
\fBuser_level_auth\fP \-\-
.sp
User Level Authentication Enable/Disable.
\- True = enable User Level Authentication. All User Level commands are
@ -102356,7 +102356,7 @@ Authentication Type that was used for the request.
.UNINDENT
.IP \(bu 2
\fBaccess_mode\fP \-\-
\fBaccess_mode\fP \-\-
.sp
Access Mode for IPMI messaging
(PEF Alerting is enabled/disabled separately from IPMI messaging)
@ -102589,7 +102589,7 @@ unavailable.)
.INDENT 7.0
.TP
.B Parameters
\fBprivilege_level\fP \-\-
\fBprivilege_level\fP \-\-
.UNINDENT
.sp
User Privilege Limit. (Determines the maximum privilege level that the
@ -116284,7 +116284,7 @@ default: group5 (Optional)
.IP \(bu 2
\fBprofile\fP \-\- Profile to build on (Optional)
.IP \(bu 2
\fBkwargs\fP \-\-
\fBkwargs\fP \-\-
.UNINDENT
.TP
.B Returns
@ -118005,7 +118005,7 @@ default: true (Optional)
.IP \(bu 2
\fBprofile\fP \-\- Profile to build on (Optional)
.IP \(bu 2
\fBkwargs\fP \-\-
\fBkwargs\fP \-\-
.UNINDENT
.TP
.B Returns
@ -122151,7 +122151,7 @@ salt \(aq*\(aq osquery.launchd
.INDENT 0.0
.TP
.B salt.modules.osquery.listening_ports(attrs=None, where=None)
Return
Return
.nf
listening_ports_
.fi
@ -122172,7 +122172,7 @@ salt \(aq*\(aq osquery.listening_ports
.INDENT 0.0
.TP
.B salt.modules.osquery.logged_in_users(attrs=None, where=None)
Return
Return
.nf
logged_in_users_
.fi
@ -122210,7 +122210,7 @@ salt \(aq*\(aq osquery.memory_map
.INDENT 0.0
.TP
.B salt.modules.osquery.mounts(attrs=None, where=None)
Return
Return
.nf
mounts_
.fi
@ -134085,9 +134085,9 @@ If no packages specified, all packages will be returned.
.B Parameters
.INDENT 7.0
.IP \(bu 2
\fBpackages\fP \-\-
\fBpackages\fP \-\-
.IP \(bu 2
\fBattr\fP \-\-
\fBattr\fP \-\-
.sp
Comma\-separated package attributes. If no \(aqattr\(aq is specified, all available attributes returned.
.INDENT 2.0
@ -157731,7 +157731,7 @@ Reboot a running system.
\fBtimeout\fP (\fI\%int\fP) \-\- Number of seconds before rebooting the system.
Default is 5 minutes.
.IP \(bu 2
\fBin_seconds\fP (\fI\%bool\fP) \-\-
\fBin_seconds\fP (\fI\%bool\fP) \-\-
.sp
Whether to treat timeout as seconds or minutes.
.sp
@ -157913,7 +157913,7 @@ Shutdown a running system.
.IP \(bu 2
\fBmessage\fP (\fI\%str\fP) \-\- A message to display to the user before shutting down.
.IP \(bu 2
\fBtimeout\fP (\fI\%int\fP) \-\-
\fBtimeout\fP (\fI\%int\fP) \-\-
.sp
The length of time that the shutdown dialog box should be displayed, in
seconds. While this dialog box is displayed, the shutdown can be stopped
@ -157933,7 +157933,7 @@ dialog box, and the shutdown cannot be stopped by shutdown_abort.
Default is 5 minutes
.IP \(bu 2
\fBin_seconds\fP (\fI\%bool\fP) \-\-
\fBin_seconds\fP (\fI\%bool\fP) \-\-
.sp
Whether to treat timeout as seconds or minutes.
.sp
@ -158781,7 +158781,7 @@ New in version 2015.5.6.
.INDENT 7.0
.TP
.B Parameters
\fBsam\fP (\fI\%bool\fP) \-\-
\fBsam\fP (\fI\%bool\fP) \-\-
.sp
False returns just the username without any domain notation. True
returns the domain with the username in the SAM format. Ie:
@ -159566,7 +159566,7 @@ returned by this function. Run this function first to see what will be
installed, then set install=True to install the updates. This will
override download=True
.IP \(bu 2
\fBcategories\fP (\fIlist\fP) \-\-
\fBcategories\fP (\fIlist\fP) \-\-
.sp
Specify the categories to list. Must be passed as a list. All
categories returned by default.
@ -159602,7 +159602,7 @@ Windows Defender
.UNINDENT
.IP \(bu 2
\fBseverities\fP (\fIlist\fP) \-\-
\fBseverities\fP (\fIlist\fP) \-\-
.sp
Specify the severities to include. Must be passed as a list. All
severities returned by default.
@ -159870,11 +159870,11 @@ explicitly will overwrite any in the CSR.
X509v3 Basic Constraints extension.
.TP
.B extensions:
The following arguments set X509v3 Extension values. If the value starts with
The following arguments set X509v3 Extension values. If the value starts with
.nf
\(ga\(ga
.fi
critical
critical
.nf
\(ga\(ga
.fi
@ -163774,7 +163774,7 @@ Return the information of the named package(s), installed on the system.
.IP \(bu 2
\fBnames\fP \-\- Names of the packages to get information about.
.IP \(bu 2
\fBattr\fP \-\-
\fBattr\fP \-\-
.sp
Comma\-separated package attributes. If no \(aqattr\(aq is specified, all available attributes returned.
.INDENT 2.0
@ -168772,7 +168772,7 @@ New in version 2015.8.0.
.sp
The module depends on the \fBhglib\fP python module being available.
This is the same requirement as for
This is the same requirement as for
.nf
hgfs_
.fi
@ -189969,7 +189969,7 @@ parameters (list) A list of key/value tuples that specify input parameters f
bool) may be used to specify the UsePreviousValue option.
.sp
notification_arns (list) The Simple Notification Service (SNS) topic ARNs to publish stack related events.
You can find your SNS topic ARNs using the
You can find your SNS topic ARNs using the
.nf
\(gaSNS console\(ga_
.fi
@ -201786,7 +201786,7 @@ if a bare repo is not desired.
.TP
.B template
If a new repository is initialized, this argument will specify an
alternate
alternate
.nf
\(gatemplate directory\(ga_
.fi
@ -202232,7 +202232,7 @@ The grain name
\fBdestructive\fP \-\- If destructive is True, delete the entire grain. If
destructive is False, set the grain\(aqs value to None. Defaults to False.
.IP \(bu 2
\fBforce\fP \-\-
\fBforce\fP \-\-
.sp
If force is True, the existing grain will be overwritten
regardless of its existing or provided value type. Defaults to False
@ -202241,7 +202241,7 @@ New in version Boron.
.IP \(bu 2
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
A delimiter different from the default can be provided.
.sp
@ -202294,7 +202294,7 @@ The value to append
If convert is False and the grain contains non\-list contents, an error
is given. Defaults to False.
.IP \(bu 2
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
A delimiter different from the default can be provided.
.sp
@ -202334,7 +202334,7 @@ The value to delete from the grain list.
.INDENT 7.0
.TP
.B Parameters
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
A delimiter different from the default \fB:\fP can be provided.
.sp
@ -202393,7 +202393,7 @@ The value is present in the list type grain.
.INDENT 7.0
.TP
.B Parameters
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
A delimiter different from the default \fB:\fP can be provided.
.sp
@ -202452,7 +202452,7 @@ The value to set on the grain
.B Parameters
.INDENT 7.0
.IP \(bu 2
\fBforce\fP \-\-
\fBforce\fP \-\-
.sp
If force is True, the existing grain will be overwritten
regardless of its existing or provided value type. Defaults to False
@ -202461,7 +202461,7 @@ New in version Boron.
.IP \(bu 2
\fBdelimiter\fP \-\-
\fBdelimiter\fP \-\-
.sp
A delimiter different from the default can be provided.
.sp
@ -208580,7 +208580,7 @@ option can only be used to install packages from a software repository.
To install a package file manually, use the "sources" option detailed
below.
.IP \(bu 2
\fBversion\fP (\fI\%str\fP) \-\-
\fBversion\fP (\fI\%str\fP) \-\-
.sp
Install a specific version of a package. This option is ignored if
either "pkgs" or "sources" is used. Currently, this option is supported
@ -208640,7 +208640,7 @@ as version specifiers in pkg states.
\fBrefresh\fP (\fI\%bool\fP) \-\- Update the repo database of available packages prior to installing the
requested package.
.IP \(bu 2
\fBfromrepo\fP (\fI\%str\fP) \-\-
\fBfromrepo\fP (\fI\%str\fP) \-\-
.sp
Specify a repository from which to install
.sp
@ -208713,7 +208713,7 @@ release name is the part before the slash, so to install version
.IP \(bu 2
\fBskip_verify\fP (\fI\%bool\fP) \-\- Skip the GPG verification check for the package to be installed
.IP \(bu 2
\fBskip_suggestions\fP (\fI\%bool\fP) \-\-
\fBskip_suggestions\fP (\fI\%bool\fP) \-\-
.sp
Force strict package naming. Disables lookup of package alternatives.
.sp
@ -208721,7 +208721,7 @@ New in version 2014.1.1.
.IP \(bu 2
\fBpkgs\fP (\fIlist\fP) \-\-
\fBpkgs\fP (\fIlist\fP) \-\-
.sp
A list of packages to install from a software repository. All packages
listed under \fBpkgs\fP will be installed via a single command.
@ -208816,7 +208816,7 @@ mypkgs:
pkgng)\fP
.IP \(bu 2
\fBsources\fP (\fIlist\fP) \-\-
\fBsources\fP (\fIlist\fP) \-\-
.sp
A list of packages to install, along with the source URI or local path
from which to install each package. In the example below, \fBfoo\fP,
@ -208841,7 +208841,7 @@ mypkgs:
.UNINDENT
.IP \(bu 2
\fBallow_updates\fP (\fI\%bool\fP) \-\-
\fBallow_updates\fP (\fI\%bool\fP) \-\-
.sp
Allow the package to be updated outside Salt\(aqs control (e.g. auto
updates on Windows). This means a package on the Minion can have a
@ -208872,7 +208872,7 @@ httpd:
.UNINDENT
.IP \(bu 2
\fBpkg_verify\fP (\fI\%bool\fP) \-\-
\fBpkg_verify\fP (\fI\%bool\fP) \-\-
.sp
New in version 2014.7.0.
@ -208918,7 +208918,7 @@ mypkgs:
.UNINDENT
.IP \(bu 2
\fBnormalize\fP (\fI\%bool\fP) \-\-
\fBnormalize\fP (\fI\%bool\fP) \-\-
.sp
Normalize the package name by removing the architecture, if the
architecture of the package is different from the architecture of the
@ -208945,7 +208945,7 @@ gpfs.gplbin\-2.6.32\-279.31.1.el6.x86_64:
.UNINDENT
.IP \(bu 2
\fBkwargs\fP \-\-
\fBkwargs\fP \-\-
.sp
These are specific to each OS. If it does not apply to the execution
module for your OS, it is ignored.
@ -227040,11 +227040,11 @@ The \fBfile.serialize\fP state can provide a
shorthand for creating some files from data structures. There are also many
examples within Salt Formulas of creating one\-off "serializers" (often as Jinja
macros) that reformat a data structure to a specific config file format. For
example,
example,
.nf
\(gaNginx vhosts\(ga__
.fi
or the
or the
.nf
\(gaphp.ini\(ga__
.fi
@ -228364,7 +228364,7 @@ Pull Requests:
.IP \(bu 2
\fI\%#26659\fP: (\fITheBigBear\fP) minor doc edits \- spelling
.IP \(bu 2
\fI\%#26654\fP: (\fIjfindlay\fP) merge
\fI\%#26654\fP: (\fIjfindlay\fP) merge
.nf
\(ga#26650\(ga_
.fi
@ -228416,7 +228416,7 @@ Pull Requests:
.IP \(bu 2
\fI\%#26521\fP: (\fIterminalmage\fP) Work around upstream git bug when cloning repo as root
.IP \(bu 2
\fI\%#26518\fP: (\fIkrak3n\fP) Fix for
\fI\%#26518\fP: (\fIkrak3n\fP) Fix for
.nf
\(ga#25492\(ga_
.fi
@ -228544,7 +228544,7 @@ Pull Requests:
.IP \(bu 2
\fI\%#26260\fP: (\fInmadhok\fP) Correct spelling of integration in docs
.IP \(bu 2
\fI\%#26226\fP: (\fIrallytime\fP) Fix
\fI\%#26226\fP: (\fIrallytime\fP) Fix
.nf
\(ga#25463\(ga_
.fi
@ -228800,7 +228800,7 @@ Pull Requests:
.IP \(bu 2
\fI\%#25451\fP: (\fIs0undt3ch\fP) Salt\-SSH Scan roster bugfixes (And Py3 support)
.IP \(bu 2
\fI\%#25449\fP: (\fIruzarowski\fP) Exclude dotfiles and directories from minion key lists (Fixes
\fI\%#25449\fP: (\fIruzarowski\fP) Exclude dotfiles and directories from minion key lists (Fixes
.nf
\(ga#25448\(ga_
.fi
@ -228874,7 +228874,7 @@ Pull Requests:
.IP \(bu 2
\fI\%#25242\fP: (\fIruzarowski\fP) Make SourceDestCheck flag available to network interface definition
.IP \(bu 2
\fI\%#25226\fP: (\fInmadhok\fP) Backporting fix for issue
\fI\%#25226\fP: (\fInmadhok\fP) Backporting fix for issue
.nf
\(ga#25223\(ga_
.fi
@ -229001,7 +229001,7 @@ in \fBlog_fmt_console\fP in the config file for any of \fBsalt\-master\fP,
.SS Git Pillar
.sp
The git external pillar has been rewritten to bring it up to feature parity
with \fBgitfs\fP\&. Support for
with \fBgitfs\fP\&. Support for
.nf
pygit2_
.fi
@ -229619,7 +229619,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27380\fP: (\fIjtand\fP) Skipping Async tests
.IP \(bu 2
\fBPR\fP \fI\%#27382\fP: (\fIterminalmage\fP) Revert "fixes
\fBPR\fP \fI\%#27382\fP: (\fIterminalmage\fP) Revert "fixes
.nf
\(ga#27217\(ga_
.fi
@ -229846,7 +229846,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28695\fP: (\fIs0undt3ch\fP) [2015.8] Update to latest bootstrap script v2015.11.09
.IP \(bu 2
\fBPR\fP \fI\%#28656\fP: (\fIclarkperkins\fP)
\fBPR\fP \fI\%#28656\fP: (\fIclarkperkins\fP)
.nf
\(ga#28526\(ga_
.fi
@ -229912,7 +229912,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28564\fP: (\fIs0undt3ch\fP) [2015.8] Update to latest bootstrap script v2015.11.04
.IP \(bu 2
\fBPR\fP \fI\%#28561\fP: (\fIOro\fP) Issue
\fBPR\fP \fI\%#28561\fP: (\fIOro\fP) Issue
.nf
\(ga#28527\(ga_
.fi
@ -229960,13 +229960,13 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28491\fP: (\fIrallytime\fP) Back\-port \fI\%#28388\fP to 2015.8
.IP \(bu 2
\fBPR\fP \fI\%#28465\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28465\fP: (\fItwangboy\fP) Fix
.nf
\(ga#12363\(ga_
.fi
: Password Expiration in Windows
.IP \(bu 2
\fBPR\fP \fI\%#28485\fP: (\fInasenbaer13\fP) Fix invalid usage of _get_conn causing
\fBPR\fP \fI\%#28485\fP: (\fInasenbaer13\fP) Fix invalid usage of _get_conn causing
.nf
\(ga#28484\(ga_
.fi
@ -229986,7 +229986,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28422\fP: (\fIcachedout\fP) Handle windows logging on thread_multi [WIP]
.IP \(bu 2
\fBPR\fP \fI\%#28425\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28425\fP: (\fItwangboy\fP) Fix
.nf
\(ga#13513\(ga_
.fi
@ -230106,7 +230106,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28098\fP: (\fIjacksontj\fP) For all multi\-part messages, check the headers. If the header is not …
.IP \(bu 2
\fBPR\fP \fI\%#28134\fP: (\fIbernieke\fP) fix unicode pillar values
\fBPR\fP \fI\%#28134\fP: (\fIbernieke\fP) fix unicode pillar values
.nf
\(ga#3436\(ga_
.fi
@ -230162,7 +230162,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27983\fP: (\fIrallytime\fP) Pip state run result should be False, not None, if installation error occurs.
.IP \(bu 2
\fBPR\fP \fI\%#27991\fP: (\fItwangboy\fP) Fix for
\fBPR\fP \fI\%#27991\fP: (\fItwangboy\fP) Fix for
.nf
\(ga#20678\(ga_
.fi
@ -230174,7 +230174,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27992\fP: (\fIcachedout\fP) Make load beacon config into list
.IP \(bu 2
\fBPR\fP \fI\%#28003\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28003\fP: (\fItwangboy\fP) Fix
.nf
\(ga#26336\(ga_
.fi
@ -230254,7 +230254,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27859\fP: (\fIticosax\fP) [dockerng] Clarify doc port bindings
.IP \(bu 2
\fBPR\fP \fI\%#27748\fP: (\fImultani\fP) Fix
\fBPR\fP \fI\%#27748\fP: (\fImultani\fP) Fix
.nf
\(ga#8646\(ga_
.fi
@ -230278,7 +230278,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27827\fP: (\fItechhat\fP) Add additional error checking to SPM
.IP \(bu 2
\fBPR\fP \fI\%#27826\fP: (\fImartinhoefling\fP) Fixes
\fBPR\fP \fI\%#27826\fP: (\fImartinhoefling\fP) Fixes
.nf
\(ga#27825\(ga_
.fi
@ -230318,7 +230318,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27705\fP: (\fIrallytime\fP) Merge \fI\%#27602\fP with final pylint fix
.IP \(bu 2
\fBPR\fP \fI\%#27691\fP: (\fInotpeter\fP) Faster timeout (3s vs 2min) for instance metadata lookups.
\fBPR\fP \fI\%#27691\fP: (\fInotpeter\fP) Faster timeout (3s vs 2min) for instance metadata lookups.
.nf
\(ga#13850\(ga_
.fi
@ -230405,7 +230405,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#29148\fP: (\fIlomeroe\fP) correcting parameter calls to boto get_zone/create_zone functions in …
.IP \(bu 2
\fBPR\fP \fI\%#29108\fP: (\fIlorengordon\fP) Enforce length as an int, fixes
\fBPR\fP \fI\%#29108\fP: (\fIlorengordon\fP) Enforce length as an int, fixes
.nf
\(ga#29107\(ga_
.fi
@ -230459,7 +230459,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28969\fP: (\fIrallytime\fP) Back\-port \fI\%#28825\fP to 2015.8
.IP \(bu 2
\fBPR\fP \fI\%#28787\fP: (\fIchrigl\fP) closes
\fBPR\fP \fI\%#28787\fP: (\fIchrigl\fP) closes
.nf
\(ga#28784\(ga_
.fi
@ -230493,7 +230493,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28895\fP: (\fIrallytime\fP) Back\-port \fI\%#28823\fP to 2015.8
.IP \(bu 2
\fBPR\fP \fI\%#28885\fP: (\fIkt97679\fP) fix for: service.enabled fails on xen server
\fBPR\fP \fI\%#28885\fP: (\fIkt97679\fP) fix for: service.enabled fails on xen server
.nf
\(ga#28754\(ga_
.fi
@ -230571,7 +230571,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28695\fP: (\fIs0undt3ch\fP) [2015.8] Update to latest bootstrap script v2015.11.09
.IP \(bu 2
\fBPR\fP \fI\%#28656\fP: (\fIclarkperkins\fP)
\fBPR\fP \fI\%#28656\fP: (\fIclarkperkins\fP)
.nf
\(ga#28526\(ga_
.fi
@ -230637,7 +230637,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28564\fP: (\fIs0undt3ch\fP) [2015.8] Update to latest bootstrap script v2015.11.04
.IP \(bu 2
\fBPR\fP \fI\%#28561\fP: (\fIOro\fP) Issue
\fBPR\fP \fI\%#28561\fP: (\fIOro\fP) Issue
.nf
\(ga#28527\(ga_
.fi
@ -230685,13 +230685,13 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28491\fP: (\fIrallytime\fP) Back\-port \fI\%#28388\fP to 2015.8
.IP \(bu 2
\fBPR\fP \fI\%#28465\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28465\fP: (\fItwangboy\fP) Fix
.nf
\(ga#12363\(ga_
.fi
: Password Expiration in Windows
.IP \(bu 2
\fBPR\fP \fI\%#28485\fP: (\fInasenbaer13\fP) Fix invalid usage of _get_conn causing
\fBPR\fP \fI\%#28485\fP: (\fInasenbaer13\fP) Fix invalid usage of _get_conn causing
.nf
\(ga#28484\(ga_
.fi
@ -230711,7 +230711,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28422\fP: (\fIcachedout\fP) Handle windows logging on thread_multi [WIP]
.IP \(bu 2
\fBPR\fP \fI\%#28425\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28425\fP: (\fItwangboy\fP) Fix
.nf
\(ga#13513\(ga_
.fi
@ -230831,7 +230831,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28098\fP: (\fIjacksontj\fP) For all multi\-part messages, check the headers. If the header is not …
.IP \(bu 2
\fBPR\fP \fI\%#28134\fP: (\fIbernieke\fP) fix unicode pillar values
\fBPR\fP \fI\%#28134\fP: (\fIbernieke\fP) fix unicode pillar values
.nf
\(ga#3436\(ga_
.fi
@ -230887,7 +230887,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27983\fP: (\fIrallytime\fP) Pip state run result should be False, not None, if installation error occurs.
.IP \(bu 2
\fBPR\fP \fI\%#27991\fP: (\fItwangboy\fP) Fix for
\fBPR\fP \fI\%#27991\fP: (\fItwangboy\fP) Fix for
.nf
\(ga#20678\(ga_
.fi
@ -230899,7 +230899,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27992\fP: (\fIcachedout\fP) Make load beacon config into list
.IP \(bu 2
\fBPR\fP \fI\%#28003\fP: (\fItwangboy\fP) Fix
\fBPR\fP \fI\%#28003\fP: (\fItwangboy\fP) Fix
.nf
\(ga#26336\(ga_
.fi
@ -230979,7 +230979,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27859\fP: (\fIticosax\fP) [dockerng] Clarify doc port bindings
.IP \(bu 2
\fBPR\fP \fI\%#27748\fP: (\fImultani\fP) Fix
\fBPR\fP \fI\%#27748\fP: (\fImultani\fP) Fix
.nf
\(ga#8646\(ga_
.fi
@ -231003,7 +231003,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27827\fP: (\fItechhat\fP) Add additional error checking to SPM
.IP \(bu 2
\fBPR\fP \fI\%#27826\fP: (\fImartinhoefling\fP) Fixes
\fBPR\fP \fI\%#27826\fP: (\fImartinhoefling\fP) Fixes
.nf
\(ga#27825\(ga_
.fi
@ -231043,7 +231043,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27705\fP: (\fIrallytime\fP) Merge \fI\%#27602\fP with final pylint fix
.IP \(bu 2
\fBPR\fP \fI\%#27691\fP: (\fInotpeter\fP) Faster timeout (3s vs 2min) for instance metadata lookups.
\fBPR\fP \fI\%#27691\fP: (\fInotpeter\fP) Faster timeout (3s vs 2min) for instance metadata lookups.
.nf
\(ga#13850\(ga_
.fi
@ -231701,7 +231701,7 @@ fdb6424 lxc: Fix salt config (no more a kwarg)
.IP \(bu 2
b818f72 Merge pull request \fI\%#23922\fP from garethgreenaway/23900_2015_5_bonding_interface_fixes
.IP \(bu 2
0bba536 Fixing issue reported when using bonded interfaces on Ubuntu. Attributes should be bond\-, but the code was attempting to split just on
0bba536 Fixing issue reported when using bonded interfaces on Ubuntu. Attributes should be bond\-, but the code was attempting to split just on
.nf
bond_
.fi
@ -237933,7 +237933,7 @@ Changes:
\fBPR\fP \fI\%#26292\fP: (\fIjquast\fP) Rabbitmq 3.2.4 on Ubuntu has "...done.", not "...done"
@ \fI2015\-08\-13T19:53:29Z\fP
.IP \(bu 2
\fBPR\fP \fI\%#26296\fP: (\fIjquast\fP) bugfix missing
\fBPR\fP \fI\%#26296\fP: (\fIjquast\fP) bugfix missing
.nf
\(ga
.fi
@ -239680,7 +239680,7 @@ Changes:
\fBPR\fP \fI\%#26292\fP: (\fIjquast\fP) Rabbitmq 3.2.4 on Ubuntu has "...done.", not "...done"
@ \fI2015\-08\-13T19:53:29Z\fP
.IP \(bu 2
\fBPR\fP \fI\%#26296\fP: (\fIjquast\fP) bugfix missing
\fBPR\fP \fI\%#26296\fP: (\fIjquast\fP) bugfix missing
.nf
\(ga
.fi
@ -241673,7 +241673,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27468\fP: (\fIcachedout\fP) Fix 27351
.IP \(bu 2
\fBPR\fP \fI\%#27479\fP: (\fIaboe76\fP) fix locale on opensuse and suse
\fBPR\fP \fI\%#27479\fP: (\fIaboe76\fP) fix locale on opensuse and suse
.nf
\(ga#27438\(ga_
.fi
@ -241693,7 +241693,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27408\fP: (\fIrallytime\fP) Fix avail_locations function for the softlayer_hw driver in 2015.5
.IP \(bu 2
\fBPR\fP \fI\%#27410\fP: (\fIjacobhammons\fP) Fix css layout Refs
\fBPR\fP \fI\%#27410\fP: (\fIjacobhammons\fP) Fix css layout Refs
.nf
\(ga#27389\(ga_
.fi
@ -241701,7 +241701,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#27336\fP: (\fIrallytime\fP) [2015.5] Fixup salt\-cloud logging
.IP \(bu 2
\fBPR\fP \fI\%#27358\fP: (\fIlorengordon\fP) Escape search replacement text, fixes
\fBPR\fP \fI\%#27358\fP: (\fIlorengordon\fP) Escape search replacement text, fixes
.nf
\(ga#27356\(ga_
.fi
@ -241861,7 +241861,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#26759\fP: (\fIterminalmage\fP) Backport PR \fI\%#26726\fP to 2015.5 branch
.IP \(bu 2
\fBPR\fP \fI\%#26768\fP: (\fIgarethgreenaway\fP) Fixes to ipset in 2015.5 for
\fBPR\fP \fI\%#26768\fP: (\fIgarethgreenaway\fP) Fixes to ipset in 2015.5 for
.nf
\(ga#26628\(ga_
.fi
@ -241976,13 +241976,13 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28829\fP: (\fIbasepi\fP) [2015.5] Merge forward from 2014.7 to 2015.5
.IP \(bu 2
\fBPR\fP \fI\%#28756\fP: (\fIMrCitron\fP) Fix
\fBPR\fP \fI\%#28756\fP: (\fIMrCitron\fP) Fix
.nf
\(ga#25775\(ga_
.fi
.IP \(bu 2
\fBPR\fP \fI\%#28786\fP: (\fIchrigl\fP) closes
\fBPR\fP \fI\%#28786\fP: (\fIchrigl\fP) closes
.nf
\(ga#28783\(ga_
.fi
@ -242046,7 +242046,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28366\fP: (\fIerchn\fP) mark repo not enabled when pkgrepo state passes in disable: True
.IP \(bu 2
\fBPR\fP \fI\%#28373\fP: (\fIbeverlcl\fP) Fixing bug
\fBPR\fP \fI\%#28373\fP: (\fIbeverlcl\fP) Fixing bug
.nf
\(ga#28372\(ga_
.fi
@ -242076,7 +242076,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28174\fP: (\fIlorengordon\fP) Add support for multiline regex in file.replace
.IP \(bu 2
\fBPR\fP \fI\%#28175\fP: (\fItwangboy\fP) Fixes
\fBPR\fP \fI\%#28175\fP: (\fItwangboy\fP) Fixes
.nf
\(ga#19673\(ga_
.fi
@ -242231,13 +242231,13 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28829\fP: (\fIbasepi\fP) [2015.5] Merge forward from 2014.7 to 2015.5
.IP \(bu 2
\fBPR\fP \fI\%#28756\fP: (\fIMrCitron\fP) Fix
\fBPR\fP \fI\%#28756\fP: (\fIMrCitron\fP) Fix
.nf
\(ga#25775\(ga_
.fi
.IP \(bu 2
\fBPR\fP \fI\%#28786\fP: (\fIchrigl\fP) closes
\fBPR\fP \fI\%#28786\fP: (\fIchrigl\fP) closes
.nf
\(ga#28783\(ga_
.fi
@ -242301,7 +242301,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28366\fP: (\fIerchn\fP) mark repo not enabled when pkgrepo state passes in disable: True
.IP \(bu 2
\fBPR\fP \fI\%#28373\fP: (\fIbeverlcl\fP) Fixing bug
\fBPR\fP \fI\%#28373\fP: (\fIbeverlcl\fP) Fixing bug
.nf
\(ga#28372\(ga_
.fi
@ -242331,7 +242331,7 @@ Changes:
.IP \(bu 2
\fBPR\fP \fI\%#28174\fP: (\fIlorengordon\fP) Add support for multiline regex in file.replace
.IP \(bu 2
\fBPR\fP \fI\%#28175\fP: (\fItwangboy\fP) Fixes
\fBPR\fP \fI\%#28175\fP: (\fItwangboy\fP) Fixes
.nf
\(ga#19673\(ga_
.fi

View File

@ -46,13 +46,13 @@ Writing a Returner
==================
A returner is a Python module containing at minimum a ``returner`` function.
Other optional functions can be included to add support for
Other optional functions can be included to add support for
:ref:`master_job_cache`, :ref:`external_job_cache`, and `Event Returners`_.
``returner``
The ``returner`` function must accept a single argument. The argument
contains return data from the called minion function. If the minion
function ``test.ping`` is called, the value of the argument will be a
function ``test.ping`` is called, the value of the argument will be a
dictionary. Run the following command from a Salt master to get a sample
of the dictionary:
@ -90,8 +90,8 @@ Salt's :ref:`master_job_cache` allows returners to be used as a pluggable
replacement for the :ref:`default_job_cache`. In order to do so, a returner
must implement the following functions:
.. note::
.. note::
The code samples contained in this section were taken from the cassandra_cql
returner.
@ -128,7 +128,7 @@ must implement the following functions:
) VALUES (
'{0}', '{1}'
);'''.format(jid, json.dumps(load))
# cassandra_cql.cql_query may raise a CommandExecutionError
try:
__salt__['cassandra_cql.cql_query'](query)
@ -141,7 +141,7 @@ must implement the following functions:
raise
``get_load``
``get_load``
must accept a job id (jid) and return the job load stored by ``save_load``,
or an empty dictionary when not found.
@ -152,9 +152,9 @@ must implement the following functions:
Return the load data that marks a specified jid
'''
query = '''SELECT load FROM salt.jids WHERE jid = '{0}';'''.format(jid)
ret = {}
# cassandra_cql.cql_query may raise a CommandExecutionError
try:
data = __salt__['cassandra_cql.cql_query'](query)
@ -169,9 +169,9 @@ must implement the following functions:
log.critical('''Unexpected error while getting load from
jids: {0}'''.format(str(e)))
raise
return ret
External Job Cache Support
--------------------------
@ -270,7 +270,7 @@ contains the jid and therefore is guaranteed to be unique.
def event_return(events):
'''
Return event to mysql server
Requires that configuration be enabled via 'event_return'
option in master config.
'''
@ -281,7 +281,7 @@ contains the jid and therefore is guaranteed to be unique.
sql = '''INSERT INTO `salt_events` (`tag`, `data`, `master_id` )
VALUES (%s, %s, %s)'''
cur.execute(sql, (tag, json.dumps(data), __opts__['id']))
Custom Returners
----------------

View File

@ -31,7 +31,7 @@ the following syntax is used:
- dev: http
**NOTE**: ``include`` does not simply inject the states where you place it
in the SLS file. If you need to guarantee order of execution, consider using
in the SLS file. If you need to guarantee order of execution, consider using
requisites.
.. include:: ../../_incl/_incl/sls_filename_cant_contain_period.rst

View File

@ -44,9 +44,9 @@ Requisites
The Salt requisite system is used to create relationships between states. The
core idea being that, when one state is dependent somehow on another, that
inter-dependency can be easily defined. These dependencies are expressed by
declaring the relationships using state names and ID's or names. The
declaring the relationships using state names and ID's or names. The
generalized form of a requisite target is ``<state name> : <ID or name>``.
The specific form is defined as a :ref:`Requisite Reference
The specific form is defined as a :ref:`Requisite Reference
<requisite-reference>`
Requisites come in two types: Direct requisites (such as ``require``),

View File

@ -231,7 +231,7 @@ The `beacon` Function
The beacons system will look for a function named `beacon` in the module. If
this function is not present then the beacon will not be fired. This function is
called on a regular basis and defaults to being called on every iteration of the
minion, which can be tens to hundreds of times a second. This means that the
minion, which can be tens to hundreds of times a second. This means that the
`beacon` function cannot block and should not be CPU or IO intensive.
The beacon function will be passed in the configuration for the executed

View File

@ -51,7 +51,7 @@ parameters are discussed in more detail below.
# with a one second delay betwee retries
win_deploy_auth_retries: 10
win_deploy_auth_retry_delay: 1
# Set the EC2 access credentials (see below)
#
id: 'use-instance-role-credentials'
@ -106,7 +106,7 @@ parameters are discussed in more detail below.
# with a one second delay betwee retries
win_deploy_auth_retries: 10
win_deploy_auth_retry_delay: 1
# Set the EC2 access credentials (see below)
#
id: 'use-instance-role-credentials'
@ -993,7 +993,7 @@ the network interfaces of your virtual machines, for example:-
SubnetId: subnet-XXXXXXXX
SecurityGroupId:
- sg-XXXXXXXX
# Uncomment this line if you would like to set an explicit private
# IP address for the ec2 instance
#

View File

@ -52,7 +52,7 @@ Google Compute Engine Setup
*Service Account* and click the *Create Client ID* button. This will
automatically download a ``.json`` file, which may or may not be used
in later steps, depending on your version of ``libcloud``.
Look for a new *Service Account* section in the page and record the generated
email address for the matching key/fingerprint. The email address will be used
in the ``service_account_email_address`` of the ``/etc/salt/cloud.providers``
@ -80,7 +80,7 @@ Google Compute Engine Setup
openssl pkcs12 -in ORIG.p12 -passin pass:notasecret \
-nodes -nocerts | openssl rsa -out NEW.pem
Provider Configuration
======================

View File

@ -182,7 +182,7 @@ configuration please add:
Private Subnets
---------------
By default salt-cloud will not add Rackspace private networks to new servers. To enable
a private network to a server instantiated by salt cloud, add the following section
a private network to a server instantiated by salt cloud, add the following section
to the provider file (typically ``/etc/salt/cloud.providers.d/rackspace.conf``)
.. code-block:: yaml
@ -198,13 +198,13 @@ to the provider file (typically ``/etc/salt/cloud.providers.d/rackspace.conf``)
To get the Rackspace private network ID, go to Networking, Networks and hover over the private network name.
The order of the networks in the above code block does not map to the order of the
The order of the networks in the above code block does not map to the order of the
ethernet devices on newly created servers. Public IP will always be first ( eth0 )
followed by servicenet ( eth1 ) and then private networks.
Enabling the private network per above gives the option of using the private subnet for
all master-minion communication, including the bootstrap install of salt-minion. To
enable the minion to use the private subnet, update the master: line in the minion:
section of the providers file. To configure the master to only listen on the private
subnet IP, update the interface: line in the /etc/salt/master file to be the private
all master-minion communication, including the bootstrap install of salt-minion. To
enable the minion to use the private subnet, update the master: line in the minion:
section of the providers file. To configure the master to only listen on the private
subnet IP, update the interface: line in the /etc/salt/master file to be the private
subnet IP of the salt master.

View File

@ -415,9 +415,9 @@ from the Salt Master. For example:
{% set some_data = salt.pillar.get('some_data', {'sane default': True}) %}
{# or #}
{% import_yaml 'path/to/file.yaml' as some_data %}
{# or #}
{% import_json 'path/to/file.json' as some_data %}
@ -581,7 +581,7 @@ read it will be hard to maintain -- switch to a format that is easier to read.
Using alternate renderers is very simple to do using Salt's "she-bang" syntax
at the top of the file. The Python renderer must simply return the correct
:ref:`highstate data structure <states-highstate-example>`. The following
example is a state tree of two sls files, one simple and one complicated.
example is a state tree of two sls files, one simple and one complicated.
``/srv/salt/top.sls``:
@ -951,7 +951,7 @@ XML.)
{% import_yaml 'tomcat/defaults.yaml' as server_xml_defaults %}
{% set server_xml_final_values = salt.pillar.get(
'appX:server_xml_overrides',
'appX:server_xml_overrides',
default=server_xml_defaults,
merge=True)
%}

View File

@ -179,22 +179,22 @@ If you would like to log to the console instead of to the log file, remove the
.. note:: Too long socket path?
Once the minion starts, you may see an error like the following:
.. code-block:: bash
zmq.core.error.ZMQError: ipc path "/path/to/your/virtualenv/
var/run/salt/minion/minion_event_7824dcbcfd7a8f6755939af70b96249f_pub.ipc"
is longer than 107 characters (sizeof(sockaddr_un.sun_path)).
This means that the path to the socket the minion is using is too long. This is
a system limitation, so the only workaround is to reduce the length of this
path. This can be done in a couple different ways:
1. Create your virtualenv in a path that is short enough.
2. Edit the :conf_minion:`sock_dir` minion config variable and reduce its
length. Remember that this path is relative to the value you set in
:conf_minion:`root_dir`.
``NOTE:`` The socket path is limited to 107 characters on Solaris and Linux,
and 103 characters on BSD-based systems.

View File

@ -31,7 +31,7 @@ In an issue report, please include the following information:
with the ``-ldebug`` flag set.
.. note::
Please be certain to scrub any logs or SLS files for sensitive data!

View File

@ -41,7 +41,7 @@ will not get scheduled.
Failover can be combined with PKI-style encrypted keys, but PKI is NOT
REQUIRED to use failover.
Multimaster with PKI and Failover is discussed in
Multimaster with PKI and Failover is discussed in
:doc:`this tutorial </topics/tutorials/multimaster_pki>`
``master_type: failover`` can be combined with ``master_shuffle: True``

View File

@ -178,14 +178,14 @@ To install fresh release of Salt minion on Jessie:
#. Install Salt dependencies:
**Debian**:
.. code-block:: bash
apt-get update
apt-get install python-zmq python-tornado/jessie-backports salt-common/stretch
**Raspbian**:
.. code-block:: bash
apt-get update

View File

@ -17,7 +17,7 @@ FreeBSD repo
============
The FreeBSD pkgng repository is preconfigured on systems 10.x and above. No
configuration is needed to pull from these repositories.
configuration is needed to pull from these repositories.
.. code-block:: shell
@ -36,7 +36,7 @@ following file to your system:
**/usr/local/etc/pkg/repos/saltstack.conf:**
.. code-block:: json
.. code-block:: json
saltstack: {
url: "https://repo.saltstack.com/freebsd/${ABI}/",

View File

@ -13,7 +13,7 @@ mechanisms to send job results to other systems (databases, local syslog,
and others):
* External Job Cache
* Master Job Cache
* Master Job Cache
The major difference between these two
mechanism is from where results are returned (from the Salt Master or Salt
@ -62,7 +62,7 @@ Before you configure a job cache, it is essential to understand Salt returner
modules ("returners"). Returners are pluggable Salt Modules that take the data
returned by jobs, and then perform any necessary steps to send the data to an
external system. For example, a returner might establish a connection,
authenticate, and then format and transfer data.
authenticate, and then format and transfer data.
The Salt Returner system provides the core functionality used by the External
and Master Job Cache systems, and the same returners are used by both systems.
@ -92,7 +92,7 @@ Step 2: Configure the Returner
After you understand the configuration and have the external system ready, add
the returner configuration settings to the Salt Minion configuration file for
the External Job Cache, or to the Salt Master configuration file for the Master
Job Cache.
Job Cache.
For example, MySQL requires:
@ -108,7 +108,7 @@ Slack requires:
.. code-block:: yaml
slack.channel: 'channel'
slack.channel: 'channel'
slack.api_key: 'key'
slack.from_name: 'name'

View File

@ -45,7 +45,7 @@ passed, an empty list must be added:
Mine Functions Aliases
----------------------
Function aliases can be used to provide friendly names, usage intentions or to allow
Function aliases can be used to provide friendly names, usage intentions or to allow
multiple calls of the same function with different arguments. There is a different
syntax for passing positional and key-value arguments. Mixing positional and
key-value arguments is not supported.
@ -63,7 +63,7 @@ key-value arguments is not supported.
ip_list:
- mine_function: grains.get
- ip_interfaces
.. _mine_interval:

View File

@ -82,9 +82,9 @@ the 'url' key above should say ``url: http://127.0.0.1:8000``
salt-proxy --proxyid=p8000 -l debug
6. Accept your proxy's key on your salt-master
.. code-block:: bash
salt-key -y -a p8000
The following keys are going to be accepted:
Unaccepted Keys:
@ -108,8 +108,8 @@ the 'url' key above should say ``url: http://127.0.0.1:8000``
can target proxies via grains if you like.
10. You can also start and stop the available services (apache, redbull, and
postgresql with ``service.start``, etc.
postgresql with ``service.start``, etc.
11. States can be written to target the proxy. Feel free to experiment with
them.

View File

@ -456,8 +456,8 @@ Ink servers in the master configuration.
The above will also return the highstate result data using the `smtp_return`
returner (use virtualname like when using from the command line with `--return`).
The returner needs to be configured on the minion for this to work.
See :mod:`salt.returners.smtp_return <salt.returners.smtp_return>` documentation
The returner needs to be configured on the minion for this to work.
See :mod:`salt.returners.smtp_return <salt.returners.smtp_return>` documentation
for that.
.. _minion-start-reactor:

View File

@ -551,7 +551,7 @@ New Salt-Cloud Providers
Salt Call Change
================
When used with a returner, salt-call now contacts a master if ``--local``
When used with a returner, salt-call now contacts a master if ``--local``
is not specicified.

View File

@ -92,7 +92,7 @@ Changes:
works. Fixing it requires either passing through the file twice (the
first time only to search for content and set a flag), or rewriting
`file.replace` so it doesn't use `fileinput`
- VCS filreserver fixes/optimizations
- Catch fileserver configuration errors on master start
@ -137,4 +137,4 @@ Known issues:
- In multimaster mode, a minion may become temporarily unresponsive
if modules or pillars are refreshed at the same time that one
or more masters are down. This can be worked around by setting
'auth_timeout' and 'auth_tries' down to shorter periods.
'auth_timeout' and 'auth_tries' down to shorter periods.

View File

@ -101,7 +101,7 @@ Changes:
works. Fixing it requires either passing through the file twice (the
first time only to search for content and set a flag), or rewriting
`file.replace` so it doesn't use `fileinput`
- VCS filreserver fixes/optimizations
- Catch fileserver configuration errors on master start

View File

@ -2,7 +2,7 @@
Salt 2014.7.5 Release Notes
===========================
:release: 2015-04-16
:release: 2015-04-16
Version 2014.7.5 is a bugfix release for :doc:`2014.7.0
</topics/releases/2014.7.0>`.

View File

@ -704,7 +704,7 @@ Extended Changelog Courtesy of Todd Stansell (https://github.com/tjstansell/salt
* 8bb4664 Merge pull request `#23145`_ from rallytime/`bp-23089`_
* 93c41af Stringify version number before lstrip
- **PR** `#23144`_: (*rallytime*) Backport `#23124`_ to 2014.7
- **PR** `#23144`_: (*rallytime*) Backport `#23124`_ to 2014.7
@ *2015-04-28T20:44:46Z*
- **ISSUE** `#16188`_: (*drawks*) salt.modules.parted has various functions with bogus input validation.

View File

@ -1365,7 +1365,7 @@ Changes:
- **ISSUE** `#26366`_: (*GreatSnoopy*) The development tree produces hanging, 100%cpu salt-master processes
| refs: `#26443`_
- **ISSUE** `#26301`_: (*waynew*) CPU pegged out running salt-master (after running command)
- **ISSUE** `#26301`_: (*waynew*) CPU pegged out running salt-master (after running command)
| refs: `#26443`_
- **ISSUE** `#25998`_: (*driskell*) Event subsystem discarding required events during --batch breaking it for slow running commands
| refs: `#26000`_

View File

@ -196,7 +196,7 @@ Changes:
- **PR** `#26817`_: (*jfindlay*) modify groupadd for rhel 5
- **PR** `#26824`_: (*pravka*) [salt-cloud] Fix creating droplet from snapshot in digital_ocean provider
- **PR** `#26824`_: (*pravka*) [salt-cloud] Fix creating droplet from snapshot in digital_ocean provider
- **PR** `#26823`_: (*joejulian*) use dbus instead of localectl

View File

@ -104,7 +104,7 @@ Changes:
- **PR** `#28263`_: (*cachedout*) New channel for event.send
- **PR** `#28293`_: (*cachedout*) Minor grammar changes
- **PR** `#28293`_: (*cachedout*) Minor grammar changes
- **PR** `#28271`_: (*gwaters*) Update tutorial documentation

View File

@ -45,7 +45,7 @@ Changes:
- **PR** `#28782`_: (*rallytime*) Fixes to rabbitmq user state
- **PR** `#28789`_: (*nmadhok*) Provide ability to enable/disable customization for newly create VMs using VMware salt-cloud driver
- **PR** `#28789`_: (*nmadhok*) Provide ability to enable/disable customization for newly create VMs using VMware salt-cloud driver
- **PR** `#28768`_: (*mrosedale*) 2015.8
@ -123,7 +123,7 @@ Changes:
- **PR** `#28602`_: (*nasenbaer13*) Allow setting of custom dimensions in asg alarm specification
- **PR** `#28596`_: (*rallytime*) Merge branch '2015.5' into '2015.8'
- **PR** `#28596`_: (*rallytime*) Merge branch '2015.5' into '2015.8'
- **PR** `#28593`_: (*blueyed*) doc: fix typo with salt.states.file: s/preseve/preserve/

View File

@ -132,7 +132,7 @@ The arguments that are passed in, in order, are ``name`` (required), ``pkg``
``name`` is the path of the file, as it was installed on the filesystem.
``pkg`` is the name of the package that the file belongs to.
``pkg`` is the name of the package that the file belongs to.
``conn`` is the connection object returned from ``init()``.

View File

@ -142,7 +142,7 @@ systems still need to be implemented.
.. note::
By default, Grains are settable through ``salt-ssh``. By
default, these grains will *not* be persisted across reboots.
default, these grains will *not* be persisted across reboots.
See the "thin_dir" setting in :doc:`Roster documentation </topics/ssh/roster>`
for more details.

View File

@ -77,21 +77,21 @@ nodegroup`` on the line directly following the nodegroup name.
Using Nodegroups in SLS files
=============================
To use Nodegroups in Jinja logic for SLS files, the :conf_master:`pillar_opts` option in
``/etc/salt/master`` must be set to "True". This will pass the master's configuration as
To use Nodegroups in Jinja logic for SLS files, the :conf_master:`pillar_opts` option in
``/etc/salt/master`` must be set to "True". This will pass the master's configuration as
Pillar data to each minion.
.. note::
If the master's configuration contains any sensitive data, this will be passed to each minion.
If the master's configuration contains any sensitive data, this will be passed to each minion.
Do not enable this option if you have any configuration data that you do not want to get
on your minions.
Also, if you make changes to your nodegroups, you might need to run
Also, if you make changes to your nodegroups, you might need to run
``salt '*' saltutil.refresh_pillar`` after restarting the master.
Once pillar_opts is enabled, you can find the nodegroups under the "master" pillar.
To make sure that only the correct minions are targeted,
Once pillar_opts is enabled, you can find the nodegroups under the "master" pillar.
To make sure that only the correct minions are targeted,
you should use each matcher for the nodegroup definition.
For example, to check if a minion is in the 'webserver' nodegroup:
@ -102,13 +102,13 @@ For example, to check if a minion is in the 'webserver' nodegroup:
.. code-block:: yaml
{% if grains.id in salt['pillar.get']('master:nodegroups:webserver', [])
{% if grains.id in salt['pillar.get']('master:nodegroups:webserver', [])
and grains.os in salt['pillar.get']('master:nodegroups:webserver', []) %}
...
{% endif %}
.. note::
If you do not include all of the matchers used to define a nodegroup,
Salt might incorrectly target minions that meet some of the nodegroup
If you do not include all of the matchers used to define a nodegroup,
Salt might incorrectly target minions that meet some of the nodegroup
requirements, but not all of them.

View File

@ -150,20 +150,20 @@ and all changes made.
Note that in the :ref:`example <targeting-minions>` above, the SLS file
``webserver.sls`` was referred to simply as ``webserver``. The namespace
for SLS files when referenced in :conf_master:`top.sls <state_top>` or an :ref:`include-declaration`
for SLS files when referenced in :conf_master:`top.sls <state_top>` or an :ref:`include-declaration`
follows a few simple rules:
1. The ``.sls`` is discarded (i.e. ``webserver.sls`` becomes
``webserver``).
2. Subdirectories can be used for better organization.
a. Each subdirectory can be represented with a dot (following the python
import model) or a slash. ``webserver/dev.sls`` can also be referred to
a. Each subdirectory can be represented with a dot (following the python
import model) or a slash. ``webserver/dev.sls`` can also be referred to
as ``webserver.dev``
b. Because slashes can be represented as dots, SLS files can not contain
dots in the name besides the dot for the SLS suffix. The SLS file
webserver_1.0.sls can not be matched, and webserver_1.0 would match
dots in the name besides the dot for the SLS suffix. The SLS file
webserver_1.0.sls can not be matched, and webserver_1.0 would match
the directory/file webserver_1/0.sls
3. A file called ``init.sls`` in a subdirectory is referred to by the path
of the directory. So, ``webserver/init.sls`` is referred to as
``webserver``.

View File

@ -51,13 +51,13 @@ pkgver() {
#build() {
# cd "${srcdir}/${_gitname}"
# python2 setup.py build
# python2 setup.py build
# no need to build setup.py install will do this
#}
package() {
cd "${srcdir}/${_gitname}"
python2 setup.py install --root=${pkgdir}/ --optimize=1
install -Dm644 ${srcdir}/salt/pkg/arch/salt-master.service ${pkgdir}/usr/lib/systemd/system/salt-master.service

View File

@ -17,7 +17,7 @@ depends=('python2'
'python2-psutil')
makedepends=('git')
provides=()
backup=('etc/salt/master'
backup=('etc/salt/master'
'etc/salt/minion')
options=()
srcdir="$PWD/../.."
@ -26,9 +26,9 @@ package() {
cd "$srcdir"
python2 setup.py install --root=$pkgdir/ --optimize=1
mkdir -p $pkgdir/etc/rc.d/
cp $srcdir/pkg/arch/salt-master $pkgdir/etc/rc.d/
cp $srcdir/pkg/arch/salt-minion $pkgdir/etc/rc.d/
chmod +x $pkgdir/etc/rc.d/*
}
}

View File

@ -54,7 +54,7 @@ pkgver() {
#build() {
# cd "${srcdir}/${_gitname}"
# python2 setup.py build
# python2 setup.py build
# no need to build setup.py install will do this
#}

View File

@ -26,7 +26,7 @@ md5sums=('e9239a7184ced5d426696735456ee829'
package() {
cd ${srcdir}/${pkgname}-${pkgver}
python2 setup.py install --root=${pkgdir}/ --optimize=1
install -Dm644 ${srcdir}/salt-api.service ${pkgdir}/usr/lib/systemd/system/salt-api.service
}

View File

@ -43,7 +43,7 @@ pkgver() {
#build() {
# cd "${srcdir}/${_gitname}"
# python2 setup.py build
# python2 setup.py build
# no need to build setup.py install will do this
#}
@ -51,7 +51,7 @@ package() {
cd "${srcdir}/${_gitname}"
export USE_SETUPTOOLS=true
python2 setup.py install --root=${pkgdir}/ --optimize=1
install -Dm644 ${srcdir}/salt-api/pkg/salt-api.service ${pkgdir}/usr/lib/systemd/system/salt-api.service
# remove vcs leftovers

View File

@ -3,4 +3,4 @@
# hack to load functions from salt_common completion
complete --do-complete='salt_common --' >/dev/null

View File

@ -173,7 +173,7 @@ end
function __fish_salt_save_first_commandline_token_not_matching_args_to
if status --is-interactive
set -l cli (commandline -pco)
set -l cli (commandline -pco)
for i in $cli
if echo "$i" | grep -Ev (__fish_salt_join '|' $argv)
set -g $argv[1] $i
@ -257,7 +257,7 @@ set -g __fish_salt_format_options --no-color --log-level=quiet
function __fish_salt_exec
set -l program (__fish_salt_program)
set -l exe $program $__fish_salt_format_options $__fish_salt_format_options_temp
set -l exe $program $__fish_salt_format_options $__fish_salt_format_options_temp
if [ $program = salt ]
set exe $exe (__fish_salt_minion)
end
@ -350,7 +350,7 @@ function __fish_salt_argspec_function
end
function __fish_salt_argspec_args
__fish_salt_lines_between '^\s*args:' '^\s*defaults:' | grep -v ':'
__fish_salt_lines_between '^\s*args:' '^\s*defaults:' | grep -v ':'
end
function __fish_salt_list_arg_name
@ -431,7 +431,7 @@ function __fish_salt_prefix_with_arg_name
if [ $arg_name != '_' ]
sed "p;s/^/$arg_name=/g"
else
# leave stdout as is; don't remove this line, because if construction
# leave stdout as is; don't remove this line, because if construction
# clears stdout if condition fails
tee
end

View File

@ -91,7 +91,7 @@ This port configures a LaunchItem for salt-minion.
It also installs LaunchItems for the salt-master and the salt-syndic.
To start the salt-master via launchd, run
sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.master.plist
To start the salt-syndic via launchd, run

View File

@ -6,7 +6,7 @@ Salt runs well on the Mac, but does have some limitations.
In this directory you will find scripts and collateral to build an OSX
.pkg-style package that uses a custom-built Python. This process has
been tested on Mac OSX Lion (10.7) and following.
been tested on Mac OSX Lion (10.7) and following.
In addition, because of changes in launchd from version
to version of the OS, a simpler approach is taken for

View File

@ -18,7 +18,7 @@
# This script can be passed 3 parameters
# $1 : <package dir> : the staging area for the package
# defaults to /tmp/salt-pkg
# $2 : <version> : the version of salt to build
# $2 : <version> : the version of salt to build
# (a git tag, not a branch)
# (defaults to git-repo state)
#

View File

@ -127,7 +127,7 @@ cp $PKGRESOURCES/scripts/com.saltstack.salt.syndic.plist $PKGDIR/Library/LaunchD
cp $PKGRESOURCES/scripts/com.saltstack.salt.api.plist $PKGDIR/Library/LaunchDaemons
############################################################################
# Remove pkg-config files from the distro
# Remove pkg-config files from the distro
############################################################################
echo -n -e "\033]0;Build_Pkg: Remove pkg-config files\007"

View File

@ -1,11 +1,11 @@
These packages are *optional* dependencies for salt. By default, they are not included in the salt RPMs.
Install any of these packages to enable the functionality within salt.
MySQL-python
libvirt-python
MySQL-python
libvirt-python
python-mako
pymongo
python-redis / redis
A semi-canonical list of the optional salt modules can be found at
A semi-canonical list of the optional salt modules can be found at
https://github.com/saltstack/salt/blob/develop/doc/conf.py#L30

View File

@ -20,7 +20,7 @@
# chkconfig header
# chkconfig: 345 99 99
# chkconfig: 345 99 99
# description: This is a daemon that controls the Salt API.
#
# processname: /usr/bin/salt-api
@ -40,7 +40,7 @@ DEBIAN_VERSION=/etc/debian_version
SUSE_RELEASE=/etc/SuSE-release
# Source function library.
if [ -f $DEBIAN_VERSION ]; then
break
break
elif [ -f $SUSE_RELEASE -a -r /etc/rc.status ]; then
. /etc/rc.status
else
@ -61,17 +61,17 @@ start() {
rc_status -v
elif [ -e $DEBIAN_VERSION ]; then
if [ -f $LOCKFILE ]; then
echo -n "already started, lock file found"
echo -n "already started, lock file found"
RETVAL=1
elif $PYTHON $SALTAPI; then
echo -n "OK"
RETVAL=0
fi
else
if status $PROCESS &> /dev/null; then
if status $PROCESS &> /dev/null; then
failure "Already running."
RETVAL=1
else
else
daemon --pidfile=$PID_FILE --check $SERVICE $SALTAPI $CONFIG_ARGS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SERVICE

View File

@ -28,7 +28,7 @@ DEBIAN_VERSION=/etc/debian_version
SUSE_RELEASE=/etc/SuSE-release
# Source function library.
if [ -f $DEBIAN_VERSION ]; then
break
break
elif [ -f $SUSE_RELEASE -a -r /etc/rc.status ]; then
. /etc/rc.status
else
@ -56,7 +56,7 @@ start() {
rc_status -v
elif [ -e $DEBIAN_VERSION ]; then
if [ -f $LOCKFILE ]; then
echo -n "already started, lock file found"
echo -n "already started, lock file found"
RETVAL=1
elif $PYTHON $SALTMASTER -d $MASTER_ARGS >& /dev/null; then
echo -n "OK"

View File

@ -8,7 +8,7 @@
### BEGIN INIT INFO
# Provides: salt-syndic
# Required-Start: $all
# Required-Stop:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Salt syndic master-minion passthrough daemon
@ -19,7 +19,7 @@
# chkconfig header
# chkconfig: - 99 99
# chkconfig: - 99 99
# description: This is a the Salt syndic daemon that enables Salt master-minion remote control passthrough.
#
# processname: /usr/bin/salt-syndic
@ -29,7 +29,7 @@ DEBIAN_VERSION=/etc/debian_version
SUSE_RELEASE=/etc/SuSE-release
# Source function library.
if [ -f $DEBIAN_VERSION ]; then
break
break
elif [ -f $SUSE_RELEASE -a -r /etc/rc.status ]; then
. /etc/rc.status
else
@ -57,7 +57,7 @@ start() {
rc_status -v
elif [ -e $DEBIAN_VERSION ]; then
if [ -f $LOCKFILE ]; then
echo -n "already started, lock file found"
echo -n "already started, lock file found"
RETVAL=1
elif $PYTHON $SALTSYNDIC -d $SYNDIC_ARGS >& /dev/null; then
echo -n "OK"

View File

@ -117,15 +117,15 @@ Requires: systemd-python
%endif
%description
Salt is a distributed remote execution system used to execute commands and
query data. It was developed in order to bring the best solutions found in
the world of remote execution together and make them better, faster and more
malleable. Salt accomplishes this via its ability to handle larger loads of
information, and not just dozens, but hundreds or even thousands of individual
Salt is a distributed remote execution system used to execute commands and
query data. It was developed in order to bring the best solutions found in
the world of remote execution together and make them better, faster and more
malleable. Salt accomplishes this via its ability to handle larger loads of
information, and not just dozens, but hundreds or even thousands of individual
servers, handle them quickly and through a simple and manageable interface.
%package master
Summary: Management component for salt, a parallel remote execution system
Summary: Management component for salt, a parallel remote execution system
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
%if (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
@ -136,7 +136,7 @@ Requires: systemd-python
The Salt master is the central server to which all minions connect.
%package minion
Summary: Client component for Salt, a parallel remote execution system
Summary: Client component for Salt, a parallel remote execution system
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
@ -145,7 +145,7 @@ The Salt minion is the agent component of Salt. It listens for instructions
from the master, runs jobs, and returns results back to the master.
%package syndic
Summary: Master-of-master component for Salt, a parallel remote execution system
Summary: Master-of-master component for Salt, a parallel remote execution system
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}

View File

@ -13,7 +13,7 @@
_salt_get_grains(){
if [ "$1" = 'local' ] ; then
if [ "$1" = 'local' ] ; then
salt-call --out=txt -- grains.ls | sed 's/^.*\[//' | tr -d ",']" |sed 's:\([a-z0-9]\) :\1\: :g'
else
salt '*' --timeout 2 --out=txt -- grains.ls | sed 's/^.*\[//' | tr -d ",']" |sed 's:\([a-z0-9]\) :\1\: :g'
@ -22,15 +22,15 @@ _salt_get_grains(){
_salt_get_grain_values(){
if [ "$1" = 'local' ] ; then
salt-call --out=txt -- grains.item $1 |sed 's/^\S*:\s//' |grep -v '^\s*$'
salt-call --out=txt -- grains.item $1 |sed 's/^\S*:\s//' |grep -v '^\s*$'
else
salt '*' --timeout 2 --out=txt -- grains.item $1 |sed 's/^\S*:\s//' |grep -v '^\s*$'
salt '*' --timeout 2 --out=txt -- grains.item $1 |sed 's/^\S*:\s//' |grep -v '^\s*$'
fi
}
_salt(){
local cur prev opts _salt_grains _salt_coms pprev ppprev
local cur prev opts _salt_grains _salt_coms pprev ppprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
@ -62,7 +62,7 @@ _salt(){
return 0
fi
;;
esac
esac
case "${ppprev}" in
-G|--grain|--grain-pcre)
if [ "${prev}" = ":" ]; then
@ -70,17 +70,17 @@ _salt(){
return 0
fi
;;
esac
esac
if [ "${cur}" = "=" ] && [[ "${prev}" == --* ]]; then
cur=""
cur=""
fi
if [ "${prev}" = "=" ] && [[ "${pprev}" == --* ]]; then
prev="${pprev}"
fi
case "${prev}" in
-c|--config)
COMPREPLY=($(compgen -f -- ${cur}))
return 0
@ -89,12 +89,12 @@ _salt(){
COMPREPLY=($(compgen -W "\'*\' ${opts} `salt-key --no-color -l acc`" -- ${cur}))
return 0
;;
-E|--pcre)
-E|--pcre)
COMPREPLY=($(compgen -W "`salt-key --no-color -l acc`" -- ${cur}))
return 0
;;
-G|--grain|--grain-pcre)
COMPREPLY=($(compgen -W "$(_salt_get_grains)" -- ${cur}))
COMPREPLY=($(compgen -W "$(_salt_get_grains)" -- ${cur}))
return 0
;;
-C|--compound)
@ -109,10 +109,10 @@ _salt(){
COMPREPLY=($(compgen -W "1 2 3 4 5 6 7 8 9 10 15 20 30 40 50 60 70 80 90 100 120 150 200"))
return 0
;;
-N|--nodegroup)
-N|--nodegroup)
MASTER_CONFIG='/etc/salt/master'
COMPREPLY=($(compgen -W "`awk -F ':' 'BEGIN {print_line = 0}; /^nodegroups/ {print_line = 1;getline } print_line && /^ */ {print $1} /^[^ ]/ {print_line = 0}' <${MASTER_CONFIG}`" -- ${cur}))
return 0
COMPREPLY=($(compgen -W "`awk -F ':' 'BEGIN {print_line = 0}; /^nodegroups/ {print_line = 1;getline } print_line && /^ */ {print $1} /^[^ ]/ {print_line = 0}' <${MASTER_CONFIG}`" -- ${cur}))
return 0
;;
esac
@ -133,8 +133,8 @@ _saltkey(){
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-c --config-dir= -h --help --version --versions-report -q --quiet \
-y --yes --gen-keys= --gen-keys-dir= --keysize= --key-logfile= \
-l --list= -L --list-all -a --accept= -A --accept-all \
-r --reject= -R --reject-all -p --print= -P --print-all \
-l --list= -L --list-all -a --accept= -A --accept-all \
-r --reject= -R --reject-all -p --print= -P --print-all \
-d --delete= -D --delete-all -f --finger= -F --finger-all \
--out=pprint --out=yaml --out=overstatestage --out=json --out=raw \
--out=highstate --out=key --out=txt --no-color --out-indent= "
@ -150,13 +150,13 @@ _saltkey(){
fi
if [ "${cur}" = "=" ] && [[ "${prev}" == --* ]]; then
cur=""
cur=""
fi
if [ "${prev}" = "=" ] && [[ "${pprev}" == --* ]]; then
prev="${pprev}"
fi
case "${prev}" in
case "${prev}" in
-a|--accept)
COMPREPLY=($(compgen -W "$(salt-key -l un --no-color; salt-key -l rej --no-color)" -- ${cur}))
return 0
@ -177,7 +177,7 @@ _saltkey(){
COMPREPLY=($(compgen -W "2048 3072 4096 5120 6144" -- ${cur}))
return 0
;;
--gen-keys)
--gen-keys)
return 0
;;
--gen-keys-dir)
@ -221,14 +221,14 @@ _saltcall(){
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
if [ "${cur}" = "=" ] && [[ ${prev} == --* ]]; then
cur=""
fi
if [ "${prev}" = "=" ] && [[ ${pprev} == --* ]]; then
prev="${pprev}"
fi
case ${prev} in
-m|--module-dirs)
COMPREPLY=( $(compgen -d ${cur} ))
@ -262,7 +262,7 @@ _saltcp(){
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-t --timeout= -s --static -b --batch= --batch-size= \
-h --help --version --versions-report -c --config-dir= \
-E --pcre -L --list -G --grain --grain-pcre -N --nodegroup \
-E --pcre -L --list -G --grain --grain-pcre -N --nodegroup \
-R --range -C --compound -I --pillar \
--out=pprint --out=yaml --out=overstatestage --out=json --out=raw \
--out=highstate --out=key --out=txt --no-color --out-indent= "
@ -270,19 +270,19 @@ _saltcp(){
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
if [ "${cur}" = "=" ] && [[ "${prev}" == --* ]]; then
cur=""
cur=""
fi
if [ "${prev}" = "=" ] && [[ "${pprev}" == --* ]]; then
prev=${pprev}
fi
case ${prev} in
salt-cp)
COMPREPLY=($(compgen -W "${opts} `salt-key -l acc --no-color`" -- ${cur}))
return 0
;;
;;
-t|--timeout)
# those numbers are just a hint
COMPREPLY=($(compgen -W "2 3 4 8 10 15 20 25 30 40 60 90 120 180 240 300" -- ${cur} ))
@ -303,7 +303,7 @@ _saltcp(){
return 0
;;
-G|--grain|--grain-pcre)
COMPREPLY=($(compgen -W "$(_salt_get_grains)" -- ${cur}))
COMPREPLY=($(compgen -W "$(_salt_get_grains)" -- ${cur}))
return 0
;;
# FIXME
@ -320,7 +320,7 @@ _saltcp(){
return 0
;;
esac
# default is using opts:
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
}

View File

@ -2,5 +2,5 @@
# firewall rules to systems with UFW. Activate with 'ufw allow salt'
[Salt]
title=salt
description=fast and powerful configuration management and remote execution
description=fast and powerful configuration management and remote execution
ports=4505,4506/tcp

View File

@ -21,7 +21,7 @@ if test -z "$pyver"; then
elif test -f /etc/arch-release; then
python=python2
fi
if test -z "$pyver"; then
test -z "$python" && python=python
pyver=`/usr/bin/env $python -V 2>&1 | cut -f2 -d' ' | cut -f1,2 -d.`

View File

@ -2,10 +2,10 @@ These packages are *optional* dependencies for salt. By default, they are not in
Install any of these packages to enable the functionality within salt.
python-psutils
python-mysql
python-mysql
python-mako
python-pymongo
python-redis / redis
A semi-canonical list of the optional salt modules can be found at
A semi-canonical list of the optional salt modules can be found at
https://github.com/saltstack/salt/blob/develop/doc/conf.py#L30

View File

@ -30,7 +30,7 @@ DEBIAN_VERSION=/etc/debian_version
SUSE_RELEASE=/etc/SuSE-release
# Source function library.
if [ -f $DEBIAN_VERSION ]; then
break
break
elif [ -f $SUSE_RELEASE -a -r /etc/rc.status ]; then
. /etc/rc.status
else
@ -58,7 +58,7 @@ start() {
rc_status -v
elif [ -e $DEBIAN_VERSION ]; then
if [ -f $LOCKFILE ]; then
echo -n "already started, lock file found"
echo -n "already started, lock file found"
RETVAL=1
elif $PYTHON $SALTMASTER -d $MASTER_ARGS >& /dev/null; then
echo -n "OK"

View File

@ -21,7 +21,7 @@
# chkconfig header
# chkconfig: - 99 99
# chkconfig: - 99 99
# description: This is a the Salt syndic daemon that enables Salt master-minion remote control passthrough.
#
# processname: /usr/bin/salt-syndic
@ -31,7 +31,7 @@ DEBIAN_VERSION=/etc/debian_version
SUSE_RELEASE=/etc/SuSE-release
# Source function library.
if [ -f $DEBIAN_VERSION ]; then
break
break
elif [ -f $SUSE_RELEASE -a -r /etc/rc.status ]; then
. /etc/rc.status
else
@ -59,7 +59,7 @@ start() {
rc_status -v
elif [ -e $DEBIAN_VERSION ]; then
if [ -f $LOCKFILE ]; then
echo -n "already started, lock file found"
echo -n "already started, lock file found"
RETVAL=1
elif $PYTHON $SALTSYNDIC -d $SYNDIC_ARGS >& /dev/null; then
echo -n "OK"

View File

@ -2,9 +2,9 @@
Sat May 23 18:31:44 UTC 2015 - aboe76@gmail.com
- New Bugfix release 2015.5.1
salt.runners.cloud.action() has changed the fun keyword argument to func.
salt.runners.cloud.action() has changed the fun keyword argument to func.
Please update any calls to this function in the cloud runner.
for more details:
http://docs.saltstack.com/en/latest/topics/releases/2015.5.1.html
@ -92,8 +92,8 @@ Changes:
+ Fixed argument passing to the reactor
+ Fixed glibc caching to prevent bug where salt-minion getaddrinfo in dns_check() never got updated nameservers
Known Issues:
+ In multimaster mode, a minion may become temporarily unresponsive if modules or pillars are refreshed at the
same time that one or more masters are down. This can be worked around by setting 'auth_timeout' and 'auth_tries'
+ In multimaster mode, a minion may become temporarily unresponsive if modules or pillars are refreshed at the
same time that one or more masters are down. This can be worked around by setting 'auth_timeout' and 'auth_tries'
down to shorter periods.
-------------------------------------------------------------------
@ -187,11 +187,11 @@ Thu Feb 12 19:35:34 UTC 2015 - aboe76@gmail.com
- keep sle 11 sp3 support.
+ Fix erroneous warnings for systemd service enabled check (issue 19606)
+ Fix FreeBSD kernel module loading, listing, and persistence kmod (issue 197151, issue 19682)
+ Allow case-sensitive npm package names in the npm state. This may break behavior
for people expecting the state to lowercase their npm package names for them.
+ Allow case-sensitive npm package names in the npm state. This may break behavior
for people expecting the state to lowercase their npm package names for them.
The npm module was never affected by mandatory lowercasing. (issue 20329)
+ Deprecate the activate parameter for pip.install for both the module and the state.
If bin_env is given and points to a virtualenv, there is no need to activate that virtualenv
+ Deprecate the activate parameter for pip.install for both the module and the state.
If bin_env is given and points to a virtualenv, there is no need to activate that virtualenv
in a shell for pip to install to the virtualenv.
+ Fix a file-locking bug in gitfs (issue 18839)
@ -261,7 +261,7 @@ Mon Nov 3 21:35:31 UTC 2014 - aboe76@gmail.com
+ New hgfs Features
+ mountpoints support
+ New svnfs Features:
+ mountpoints
+ mountpoints
+ minionfs Featuressupport
+ mountpoints
- New Salt Modules:
@ -295,7 +295,7 @@ Thu Oct 16 19:26:57 UTC 2014 - aboe76@gmail.com
- Updated to 2014.1.13 a bugfix release on 2014.1.12
+ fix module run exit code (issue 16420)
+ salt cloud Check the exit status code of scp before assuming it has failed. (issue 16599)
-------------------------------------------------------------------
Fri Oct 10 18:47:07 UTC 2014 - aboe76@gmail.com
@ -316,7 +316,7 @@ Wed Sep 10 18:10:50 UTC 2014 - aboe76@gmail.com
+ Fix json outputter null case
+ Fix for minion error if one of multiple masters are down (issue 14099)
+ Updated the use-forking-daemon.patch with the right version
-------------------------------------------------------------------
Mon Aug 18 13:06:07 UTC 2014 - tserong@suse.com
@ -390,7 +390,7 @@ Sat Jul 19 07:58:18 UTC 2014 - aboe76@gmail.com
Thu Jul 10 18:25:05 UTC 2014 - aboe76@gmail.com
- Update to 2014.7
This release was a hotfix release for the regression listed above which was present in the 2014.1.6
This release was a hotfix release for the regression listed above which was present in the 2014.1.6
- Fix batch mode regression (issue 14046)
-------------------------------------------------------------------
@ -510,11 +510,11 @@ Thu Apr 17 18:06:56 UTC 2014 - aboe76@gmail.com
- Fix git.latest with test=True (issue 11595)
- Fix file.check_perms hardcoded follow_symlinks (issue 11387)
- Fix certain pkg states for RHEL5/Cent5 machines (issue 11719)
- Packaging:
- Packaging:
- python-psutil depencies (more functional modules out of the box)
- python-yaml depencies (more functional modules out of the box)
- python-requests depencies (salt-cloud)
-------------------------------------------------------------------
Wed Mar 19 19:29:13 UTC 2014 - aboe76@gmail.com
@ -676,7 +676,7 @@ Thu Nov 14 22:05:06 UTC 2013 - aboe76@gmail.com
- Fix for matching minions under syndics (issue 7671)
- Improve exception handling for missing ID (issue 8259)
- Add configuration option for minion_id_caching
- Fix open mode auth errors (issue 8402)
- Fix open mode auth errors (issue 8402)
-------------------------------------------------------------------
Sun Nov 10 07:52:54 UTC 2013 - aboe76@gmail.com
@ -795,30 +795,30 @@ Thu Sep 19 17:18:06 UTC 2013 - aboe76@gmail.com
Minor features:
- 0.17.0 release wil be last release for 0.XX.X numbering system
Next release will be <Year>.<Month>.<Minor>
-------------------------------------------------------------------
Sat Sep 7 22:44:41 UTC 2013 - aboe76@gmail.com
- Update 0.16.4 bugfix release:
- Multiple documentation improvements/additions
- Added the osfinger and osarch grains
- Fix bug in :mod:`hg.latest <salt.states.hg.latest>` state
- Fix bug in :mod:`hg.latest <salt.states.hg.latest>` state
that would erroneously delete directories (:issue:`6661`)
- Fix bug related to pid not existing for
- Fix bug related to pid not existing for
:mod:`ps.top <salt.modules.ps.top>` (:issue:`6679`)
- Fix regression in :mod:`MySQL returner <salt.returners.mysql>`
- Fix regression in :mod:`MySQL returner <salt.returners.mysql>`
(:issue:`6695`)
- Fix IP addresses grains (ipv4 and ipv6) to include all addresses
(:issue:`6656`)
- Fix regression preventing authenticated FTP (:issue:`6733`)
- Fix :mod:`file.contains <salt.modules.file.contains>` on values
- Fix :mod:`file.contains <salt.modules.file.contains>` on values
YAML parses as non-string (:issue:`6817`)
- Fix :mod:`file.get_gid <salt.modules.file.get_gid>`,
:mod:`file.get_uid <salt.modules.file.get_uid>`, and
:mod:`file.chown <salt.modules.file.chown>` for broken symlinks
- Fix :mod:`file.get_gid <salt.modules.file.get_gid>`,
:mod:`file.get_uid <salt.modules.file.get_uid>`, and
:mod:`file.chown <salt.modules.file.chown>` for broken symlinks
(:issue:`6826`)
- Fix comment for service reloads in service state (:issue:`6851`)
-------------------------------------------------------------------
Fri Aug 9 18:08:12 UTC 2013 - aboe76@gmail.com
@ -881,7 +881,7 @@ Mon Jul 29 18:06:03 UTC 2013 - aboe76@gmail.com
- http authentication issues fixed #6356
- warning of deprecation runas in favor of user
- more information at https://github.com/saltstack/salt/commits/v0.16.1
-------------------------------------------------------------------
Fri Jul 5 21:24:21 UTC 2013 - aboe76@gmail.com
@ -946,7 +946,7 @@ Wed May 29 16:10:42 UTC 2013 - aboe76@gmail.com
xinetd service name not appended
virt-module uses qemu-img
publish.publish returns same info as salt-master
updated gitfs module
updated gitfs module
-------------------------------------------------------------------
Mon May 27 20:42:06 UTC 2013 - aboe76@gmail.com
@ -1046,7 +1046,7 @@ Wed Mar 13 22:04:43 UTC 2013 - aboe76@gmail.com
-------------------------------------------------------------------
Mon Feb 25 17:52:59 UTC 2013 - aboe76@gmail.com
- Updated spec file, postun removal of init.d files
- Updated spec file, postun removal of init.d files
-------------------------------------------------------------------
Sat Feb 16 09:25:30 UTC 2013 - aboe76@gmail.com

View File

@ -91,7 +91,7 @@ pki_dir: /conf/pki/minion
# seconds, between those reconnection attempts.
#acceptance_wait_time: 10
# If this is set, the time between reconnection attempts will increase by
# If this is set, the time between reconnection attempts will increase by
# acceptance_wait_time seconds per iteration, up to this maximum. If this
# is not set, the time between reconnection attempts will stay constant.
#acceptance_wait_time_max: None
@ -192,11 +192,11 @@ pki_dir: /conf/pki/minion
# Run states when the minion daemon starts. To enable, set startup_states to:
# 'highstate' -- Execute state.highstate
# 'sls' -- Read in the sls_list option and execute the named sls files
# 'top' -- Read top_file option and execute based on that file on the Master
# 'top' -- Read top_file option and execute based on that file on the Master
#startup_states: ''
#
# list of states to run when the minion starts up if startup_states is 'sls'
#sls_list:
#sls_list:
# - edit.vim
# - hyper
#
@ -377,12 +377,12 @@ pki_dir: /conf/pki/minion
# without informing either party that their connection has been taken away.
# Enabling TCP Keepalives prevents this from happening.
#
# Overall state of TCP Keepalives, enable (1 or True), disable (0 or False)
# Overall state of TCP Keepalives, enable (1 or True), disable (0 or False)
# or leave to the OS defaults (-1), on Linux, typically disabled. Default True, enabled.
#tcp_keepalive: True
#
# How long before the first keepalive should be sent in seconds. Default 300
# to send the first keepalive after 5 minutes, OS default (-1) is typically 7200 seconds
# to send the first keepalive after 5 minutes, OS default (-1) is typically 7200 seconds
# on Linux see /proc/sys/net/ipv4/tcp_keepalive_time.
#tcp_keepalive_idle: 300
#
@ -390,8 +390,8 @@ pki_dir: /conf/pki/minion
# to use OS defaults, typically 9 on Linux, see /proc/sys/net/ipv4/tcp_keepalive_probes.
#tcp_keepalive_cnt: -1
#
# How often, in seconds, to send keepalives after the first one. Default -1 to
# use OS defaults, typically 75 seconds on Linux, see
# How often, in seconds, to send keepalives after the first one. Default -1 to
# use OS defaults, typically 75 seconds on Linux, see
# /proc/sys/net/ipv4/tcp_keepalive_intvl.
#tcp_keepalive_intvl: -1

View File

@ -1,4 +1,4 @@
Salt - Remote execution system
Salt - Remote execution system
Copyright 2011 Thomas S Hatch

View File

@ -32,10 +32,10 @@ modification, Salt can be fine-tuned to meet specific needs.
Granular Controls
=================
Salt also introduces powerful granular controls to the realm of remote execution.
By default, commands are executed in parallel. However, using more advanced
options, commands can be executed in batch groups or even in serial. By using
simple built-in filters or regular expression matching, systems can be targeted by
Salt also introduces powerful granular controls to the realm of remote execution.
By default, commands are executed in parallel. However, using more advanced
options, commands can be executed in batch groups or even in serial. By using
simple built-in filters or regular expression matching, systems can be targeted by
hostname, metadata or system properties such as number of cpus or OS type.
Building on Proven Technology

View File

@ -15,7 +15,7 @@ EOF
# add-apt-repository requires an additional dep and is in different packages
# on different systems. Although seemingly ubiquitous it is not a standard,
# and is only a convenience script intended to accomplish the below two steps
# and is only a convenience script intended to accomplish the below two steps
# doing it this way is universal across all debian and ubuntu systems.
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | tee /etc/apt/sources.list.d/saltstack.list
wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" | apt-key add -

View File

@ -15,7 +15,7 @@ EOF
# add-apt-repository requires an additional dep and is in different packages
# on different systems. Although seemingly ubiquitous it is not a standard,
# and is only a convenience script intended to accomplish the below two steps
# and is only a convenience script intended to accomplish the below two steps
# doing it this way is universal across all debian and ubuntu systems.
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | tee /etc/apt/sources.list.d/saltstack.list
wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" | apt-key add -

View File

@ -4,7 +4,7 @@
# This is a generic wrapper for the salt-bootstrap script at:
#
# https://github.com/saltstack/salt-bootstrap
#
#
# It has been designed as an example, to be customized for your own needs.
curl -L https://bootstrap.saltstack.com | sudo sh -s -- "$@" git develop

View File

@ -4,7 +4,7 @@
# This is a generic wrapper for the salt-bootstrap script at:
#
# https://github.com/saltstack/salt-bootstrap
#
#
# It has been designed as an example, to be customized for your own needs.
curl -L https://bootstrap.saltstack.com | sudo sh -s -- "$@"

View File

@ -4,7 +4,7 @@
# This is a generic wrapper for the salt-bootstrap script at:
#
# https://github.com/saltstack/salt-bootstrap
#
#
# It has been designed as an example, to be customized for your own needs.
python -c 'import urllib; print urllib.urlopen("https://bootstrap.saltstack.com").read()' | sudo sh -s -- "$@"

View File

@ -4,7 +4,7 @@
# This is a generic wrapper for the salt-bootstrap script at:
#
# https://github.com/saltstack/salt-bootstrap
#
#
# It has been designed as an example, to be customized for your own needs.
wget --no-check-certificate -O - https://bootstrap.saltstack.com | sudo sh -s -- "$@"

View File

@ -4,7 +4,7 @@
# This is a generic wrapper for the salt-bootstrap script at:
#
# https://github.com/saltstack/salt-bootstrap
#
#
# It has been designed as an example, to be customized for your own needs.
wget -O - https://bootstrap.saltstack.com | sudo sh -s -- "$@"

View File

@ -1,24 +1,24 @@
{%- set iface = data.data.inet -%}
{% if iface['user'] %}user {{ iface['user']}}
{% if iface['password']%}password {{ iface['password'] }} {% endif %}
plugin rp-pppoe.so {{iface['pppoe_iface']|default('eth0')}}
plugin rp-pppoe.so {{iface['pppoe_iface']|default('eth0')}}
{% if iface['noipdefault']!="False"|default("True") %}noipdefault{% endif %}
{% if iface['usepeerdns']!="False"|default("True") %}usepeerdns {% endif %}
{% if iface['noipdefault']!="False"|default("True") %}noipdefault{% endif %}
{% if iface['usepeerdns']!="False"|default("True") %}usepeerdns {% endif %}
{% if iface['defaultroute']!="False"|default("True") %}defaultroute{% endif %}
{% if iface['holdoff']!=""|default('15') %}holdoff {{iface['holdoff']|default('15')}}{% endif %}
{% if iface['maxfail']!=""|default('0') %}maxfail {{iface['maxfail']|default('0')}}{% endif %}
{% if iface['hide-password']!="False"|default("True") %}hide-password{% endif %}
{% if iface['lcp-echo-interval']!=""|default('20') %}lcp-echo-interval {{ iface['lcp-echo-interval']|default('20')}} {% endif %}
{% if iface['lcp-echo-interval']!=""|default('20') %}lcp-echo-interval {{ iface['lcp-echo-interval']|default('20')}} {% endif %}
{% if iface['lcp-echo-failure']!=""|default('3') %}lcp-echo-failure {{iface['lcp-echo-failure']|default('3')}} {% endif %}
{% if iface['noauth']!="False"|default("True") %}noauth{% endif %}
{% if iface['persist']!="False"|default("True") %}persist{% endif %}
{% if iface['mtu']!=""|default('1492') %}mtu {{iface['mtu']|default('1492')}} {% endif %}
{% if iface['noaccomp']!="False"|default("True") %}noaccomp{% endif %}
{% if iface['default-asyncmap'] %}default-asyncmap{% endif %}
{% if iface['persist']!="False"|default("True") %}persist{% endif %}
{% if iface['mtu']!=""|default('1492') %}mtu {{iface['mtu']|default('1492')}} {% endif %}
{% if iface['noaccomp']!="False"|default("True") %}noaccomp{% endif %}
{% if iface['default-asyncmap'] %}default-asyncmap{% endif %}
{% if iface['linkname'] is defined %}
linkname {{ iface['linkname'] }}
{% endif %}

View File

@ -5,4 +5,4 @@
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

View File

@ -5,4 +5,4 @@
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi

View File

@ -11,7 +11,7 @@ A:
- connection_pass: poney
- connection_use_unicode: True
- connection_charset: utf8
- saltenv:
- saltenv:
- LC_ALL: "en_US.utf8"
B:
mysql_database.absent:
@ -22,7 +22,7 @@ B:
- connection_pass: poney
- connection_use_unicode: True
- connection_charset: utf8
- saltenv:
- saltenv:
- LC_ALL: "en_US.utf8"
- require:
- mysql_database: A

View File

@ -4,7 +4,7 @@ fail_stage:
- failparse
req_fail:
match: '*'
sls:
sls:
- fail
require:
- fail_stage