Navigation
index
modules
|
next
|
« SaltStack.org
|
Documentation home
Full Table of Contents
ΒΆ
Introduction to Salt
Distributed remote execution
Simplicity
Parallel execution
Building on proven technology
Python client interface
Fast, flexible, scalable
Open
Installation
Dependencies
Optional Dependencies
Platform-specific installation instructions
Arch Linux
Debian
Ubuntu Installation
Fedora & CentOS / Enterprise Linux
FreeBSD
Gentoo
Windows
Solaris
Developing Salt
Setting a Github pull request
Posting patches to the mailing list
Contributions Welcome!
Editing and Previewing the Docs
Installing Salt for development
Running a self-contained development version
File descriptor limit
Running the tests
Configuring Salt
Running Salt
Manage Salt Public Keys
Targeting
Matching the
minion
id
Globbing
Regular Expressions
Lists
Grains
Grains in the Minion Config
Writing Grains
Node groups
Compound matchers
Batch Size
Remote execution tutorial
Order your minions around
target
function
arguments
How Do I Use Salt States?
It is All Just Data
Default Data - YAML
Adding Configs and Users
Moving Beyond a Single SLS
Extending Included SLS Data
Understanding the Render System
Getting to Know the Default - yaml_jinja
Introducing the Python Renderer
Running and debugging salt states.
States tutorial, part 1
Setting up the Salt State Tree
Preparing the Top File
Create an
sls
module
Install the package
Next steps
States tutorial, part 2
Call multiple States
Expand the SLS module
Require other states
Next steps
States tutorial, part 3
Templating SLS modules
Using Grains in SLS modules
Calling Salt modules from templates
Advanced SLS module syntax
Include
declaration
Extend
declaration
Name
declaration
Names
declaration
Continue learning
Access Control System
External Authentication System
Tokens
Opening the Firewall up for Salt
RHEL 6 / CENTOS 6
iptables
pf.conf
Bootstrapping Salt on Linux EC2 with Cloud-Init
Used With Boto
Additional Notes
Automatic Updates / Frozen Deployments
Getting Started
Building and Freezing
Windows
Using the Frozen Build
Gotchas
My Windows minion isn't responding
Windows and the Visual Studio Redist
Mixed Linux environments and Yum
Automatic (Python) module discovery
Preseed Minion with Accepted Key
Standalone Minion
Telling Salt Call to Run Masterless
Running States Masterless
Pillar of Salt
Declaring the Master Pillar
Viewing Minion Pillar
Footnotes
Refreshing Pillar Data
Targeting with Pillar
Master Tops System
Job Management
The Minion proc System
Functions in the saltutil Module
The jobs Runner
active
lookup_jid
list_jobs
Running the Salt Master as Unprivileged User
Troubleshooting
Running in the Foreground
What Ports do the Master and Minion Need Open?
Using salt-call
Too many open files
Salt Master Stops Responding
Salt and SELinux
Red Hat Enterprise Linux 5
Common YAML Gotchas
Live Python Debug Output
YAML Idiosyncrasies
Spaces vs Tabs
Indentation
Nested Dicts (key=value)
Integers are Parsed as Integers
YAML does not like "Double Short Decs"
YAML support only plain ASCII
Community
Mailing List
IRC
Salt development
Follow on Github
The Red45 Blog
Example Salt States
Follow on ohloh
Developing Salt
Setting a Github pull request
Posting patches to the mailing list
Contributions Welcome!
Editing and Previewing the Docs
Installing Salt for development
Salt Based Projects
Salt Sandbox
Salt Event System
Listening for Events
Writing Tests
Integration Tests
Unit Tests
Integration Tests
Integration Classes
ModuleCase
SyndicCase
ShellCase
Examples
Module Example via ModuleCase Class
Shell Example via ShellCase
Introduction to Extending Salt
Client API
Adding Loadable Plugins
Minion Execution Modules
Grains
States
Renderers
Returners
Runners
Modules
Easy Modules to write
Cross Calling Modules
Preloaded Modules Data
Grains Data
Module Configuration
Printout Configuration
Virtual Modules
Documentation
Adding Documentation to Salt Modules
How Functions are Read
Objects Loaded Into the Salt Minion
Objects NOT Loaded into the Salt Minion
Examples of Salt Modules
Full list of builtin execution modules
salt.modules.pkg
salt.modules.sys
salt.modules.aliases
salt.modules.apache
salt.modules.apt
salt.modules.archive
salt.modules.at
salt.modules.augeas_cfg
salt.modules.bluez
salt.modules.brew
salt.modules.butterkvm
salt.modules.cassandra
salt.modules.cluster
salt.modules.cmdmod
salt.modules.config
salt.modules.cp
salt.modules.cron
salt.modules.daemontools
salt.modules.data
salt.modules.debconfmod
salt.modules.debian_service
salt.modules.disk
salt.modules.djangomod
salt.modules.ebuild
salt.modules.event
salt.modules.file
salt.modules.freebsdjail
salt.modules.freebsdkmod
salt.modules.freebsdpkg
salt.modules.freebsdservice
salt.modules.freebsd_sysctl
salt.modules.gem
salt.modules.gentoo_service
salt.modules.git
salt.modules.glance
salt.modules.grains
salt.modules.groupadd
salt.modules.grub
salt.modules.hg
salt.modules.hosts
salt.modules.keystone
salt.modules.kmod
salt.modules.kvm_hyper
salt.modules.launchctl
salt.modules.ldapmod
salt.modules.linux_sysctl
salt.modules.mdadm
salt.modules.mongodb
salt.modules.monit
salt.modules.moosefs
salt.modules.mount
salt.modules.mysql
salt.modules.network
salt.modules.nginx
salt.modules.nova
salt.modules.nzbget
salt.modules.openbsdpkg
salt.modules.openbsdservice
salt.modules.osxdesktop
salt.modules.pacman
salt.modules.pecl
salt.modules.pillar
salt.modules.pip
salt.modules.pkgng
salt.modules.pkgutil
salt.modules.postgres
salt.modules.poudriere
salt.modules.ps
salt.modules.publish
salt.modules.puppet
salt.modules.pw_group
salt.modules.pw_user
salt.modules.rabbitmq
salt.modules.reg
salt.modules.ret
salt.modules.rh_ip
salt.modules.rh_service
salt.modules.rvm
salt.modules.saltutil
salt.modules.selinux
salt.modules.service
salt.modules.shadow
salt.modules.smf
salt.modules.solaris_group
salt.modules.solarispkg
salt.modules.solaris_shadow
salt.modules.solaris_user
salt.modules.solr
Apache Solr Salt Module
salt.modules.sqlite3
salt.modules.ssh
salt.modules.state
salt.modules.status
salt.modules.supervisord
salt.modules.svn
salt.modules.systemd
salt.modules.test
salt.modules.tls
salt.modules.tomcat
salt.modules.upstart
salt.modules.useradd
salt.modules.virt
salt.modules.virtualenv
salt.modules.win_disk
salt.modules.win_file
salt.modules.win_groupadd
salt.modules.win_network
salt.modules.win_pkg
salt.modules.win_service
salt.modules.win_shadow
salt.modules.win_useradd
salt.modules.yumpkg5
salt.modules.yumpkg
salt.modules.zpool
salt.modules.zypper
Returners
Using Returners
Writing a Returner
Examples
Full list of builtin returner modules
salt.returners.local
salt.returners.cassandra_return
salt.returners.mongo_return
salt.returners.redis_return
State File Backups
Backed up Files
Extending External SLS Data
The Extend Declaration
Extend is a Top Level Declaration
The Requisite "in" Statement
Rules to Extend By
Failhard Global Option
State Level Failhard
Global Failhard
Highstate data structure definitions
The Salt State Tree
Include declaration
Module reference
ID declaration
Extend declaration
State declaration
Requisite declaration
Requisite reference
Function declaration
Function arg declaration
Name declaration
Names declaration
Large example
Include and Exclude
Exclude
State Enforcement
State management
Understanding the Salt State System Components
Salt SLS System
Renderer System
Ordering States
Requisite Statements
Multiple Requisites
The Require Requisite
The Watch Requisite
Watch and the mod_watch Function
The Order Option
State Providers
Arbitrary Module Redirects
Requisites
Requisite and Requisite in types
Require
Watch
Use
Require In
Watch In
Startup States
Examples:
State Testing
Default Test
The Top File
Environments
Other Ways of Targeting Minions
State Modules
States are - Easy to Write!
Using Custom State Modules
Cross Calling Modules
Return Data
Test State
Watcher Function
Mod_init Interface
Full list of builtin state modules
salt.states.alias
Configuration of email aliases.
salt.states.cmd
Execution of arbitrary commands.
salt.states.cron
Management of cron, the Unix command scheduler.
salt.states.file
Operations on files, directories and symlinks.
salt.states.gem
Installation of Ruby modules packaged as gems.
salt.states.git
Interaction with Git repositories.
salt.states.group
Management of user groups.
salt.states.hg
Interaction with Mercurial repositories.
salt.states.host
Management of addresses and names in hosts file.
salt.states.kmod
Loading and unloading of kernel modules.
salt.states.module
Execution of Salt modules from within states.
salt.states.mongodb_database
salt.states.mongodb_user
Management of Mongodb users
salt.states.mount
Mounting of filesystems.
salt.states.mysql_database
Management of MySQL databases (schemas).
salt.states.mysql_grants
Management of MySQL grants (user permissions).
salt.states.mysql_user
Management of MySQL users.
salt.states.network
Configuration of network interfaces.
salt.states.pecl
Installation of PHP pecl extensions.
salt.states.pip
Installation of Python packages using pip.
salt.states.pkgng
Manage package remote repo using FreeBSD pkgng.
salt.states.pkg
Installation of packages using OS package managers such as yum or apt-get.
salt.states.postgres_database
Management of PostgreSQL databases (schemas).
salt.states.postgres_user
Management of PostgreSQL users (roles).
salt.states.rabbitmq_user
salt.states.rabbitmq_vhost
salt.states.rvm
Managing Ruby installations and gemsets with Ruby Version Manager (RVM).
salt.states.selinux
Management of SELinux rules.
salt.states.service
Starting or restarting of services and daemons.
salt.states.ssh_auth
Control of entries in SSH authorized_key files.
salt.states.ssh_known_hosts
Control of SSH known_hosts entries.
salt.states.stateconf
Stateconf System
salt.states.supervisord
Interaction with the Supervisor daemon.
salt.states.svn
Manage SVN repositories
salt.states.sysctl
Configuration of the Linux kernel using sysctrl.
salt.states.user
Management of user accounts.
salt.states.virtualenv
Setup of Python virtualenv sandboxes.
Renderers
Multiple Renderers
Composing Renderers
Writing Renderers
Examples
Full list of builtin renderer modules
salt.renderers.jinja
salt.renderers.json
salt.renderers.mako
salt.renderers.py
salt.renderers.stateconf
salt.renderers.wempy
salt.renderers.yaml
Pillars
Full list of builtin pillar modules
salt.pillar.cmd_yaml
salt.pillar.hiera
salt.pillar.mongo
Salt Master Mongo Configuration
Configuring the Mongo ext_pillar
Module Documentation
salt.pillar.pillar_ldap
Master Tops
Full list of builtin master tops modules
salt.tops.ext_nodes
External Nodes Classifier
Salt Runners
Writing Salt Runners
Examples
Full list of runner modules
salt.runners.jobs
salt.runners.launchd
salt.runners.manage
salt.runners.network
Full list of builtin wheel modules
salt.wheel.config
salt.wheel.file_roots
salt.wheel.key
Full list of builtin output modules
salt.output.highstate
salt.output.json_out
salt.output.key
salt.output.pprint_out
salt.output.raw
salt.output.txt
salt.output.yaml_out
Peer Communication
Peer Configuration
Peer Runner Communication
Using Peer Communiction
Client ACL system
Permission Issues
Salt Syndic
Configuring the Syndic
Running the Syndic
Python client API
Using the LocalClient API
Compound Command Execution With the Salt API
Salt Caller API
Salt File Server
The cp Module
Environments
get_file
get_dir
File Server Client API
FileClient Class
File Server Configuration
Environments
Directory Overlay
Local File Server
Dynamic Module Distribution
Sync Via States
Sync Via the saltutil Module
Configuration file examples
Example master configuration file
Example minion configuration file
Configuring the Salt Master
Primary Master Configuration
interface
publish_port
pub_refresh
user
max_open_files
worker_threads
ret_port
pidfile
root_dir
pki_dir
cachedir
keep_jobs
job_cache
sock_dir
Master Security Settings
open_mode
auto_accept
autosign_file
client_acl
Master Module Management
runner_dirs
cython_enable
Master State System Settings
state_top
external_nodes
renderer
failhard
test
Master File Server Settings
file_roots
hash_type
file_buffer_size
Pillar Configuration
pillar_roots
ext_pillar
Syndic Server Settings
order_masters
syndic_master
Peer Publish Settings
peer
peer_run
Node Groups
Master Logging Settings
log_file
log_level
log_granular_levels
default_include
Configuring the Salt Minion
Minion Primary Configuration
master
master_port
user
pki_dir
id
sub_timeout
cachedir
backup_mode
cache_jobs
acceptance_wait_time
Minion Module Management
disable_modules
disable_returners
module_dirs
returner_dirs
states_dirs
render_dirs
cython_enable
providers
State Management Settings
renderer
state_verbose
autoload_dynamic_modules
environment
Security Settings
open_mode
Thread Settings
Minion Logging Settings
log_file
log_level
log_granular_levels
default_include
include
Frozen Build Update Settings
update_url
update_restart_services
Salt code and internals
Contents
Exceptions
salt.exceptions
Command Line Reference
Using the Salt Command
Defining the Target Minions
More Powerful Targets
Calling the Function
Compound Command Execution
salt
Synopsis
Description
Options
See also
salt-master
Synopsis
Description
Options
See also
salt-minion
Synopsis
Description
Options
See also
salt-key
Synopsis
Description
Options
salt-cp
Synopsis
Description
Options
See also
salt-call
Synopsis
Description
Options
See also
salt-run
Synopsis
Description
Options
See also
salt-syndic
Synopsis
Description
Options
See also
Abstract on Salt Authentication and Encryption
Message Formatting
PubKey Handshake
Regular Communication
Source Files Implimenting Components
Conclusion
Release notes and upgrade instructions
Salt 0.10.5 Release Notes
Major Features
Noteworthy Changes
Salt 0.10.4 Release Notes
Major Features
Security
Salt 0.10.3 Release Notes
Major Features
Security Fix
Salt 0.10.2 Release Notes
Major Features
Test Updates
Many Fixes
Salt 0.10.0 Release Notes
Major Features
State Call Data Files
Turning Off the Job Cache
Test Updates
Many Fixes
Salt 0.9.9 Release Notes
Major Features
New Tests
Salt 0.9.8 Release Notes
Upgrade Considerations
Major Features
In Progress Development
Salt 0.9.7 Release Notes
Major Features
Salt 0.9.6 Release Notes
New Features
Salt 0.9.5 Release Notes
Community
Major Features
Packaging Updates
Refinement
Salt 0.9.4 Release Notes
Download!
New Features
Salt 0.9.3 Release Notes
Download!
New Features
Module and State Additions
Salt 0.9.2 Release Notes
Download!
New Features
Notable Bug Fixes
Salt 0.9.0 Release Notes
Download!
New Features
New Modules
Salt 0.8.9 Release Notes
Download!
New Features
New Modules
Salt 0.8.8 release notes
Salt 0.8.7 release notes
Salt 0.8.0 release notes
Salt-cp -
Cython minion modules -
Dynamic Returners -
Configurable Minion Modules -
Advanced Minion Threading:
Salt 0.7.0 release notes
Salt 0.6.0 release notes
Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus
Next topic
Introduction to Salt
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
« SaltStack.org
|
Documentation home