Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ external_resources:
- '[SaltStack Git Fileserver Documentation](https://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html#tutorial-gitfs)'
- '[SaltStack Salt Formulas Documentation](https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html)'
- '[GitHub Developer - Webhooks](https://developer.github.com/webhooks/)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

This guide will walk through the deployment of a static site using [SaltStack](https://github.com/saltstack/salt), which is a flexible configuration management system. The configuration files created for Salt will be version controlled using Git. Updates to your static site's code will be automatically communicated to the production system using webhooks, an event notification system for the web.
Expand Down Expand Up @@ -1035,4 +1035,4 @@ The current Salt configuration can be used as a foundation for more complex depl

- Load balance your site by creating more minions and apply the same Pillar data and Salt states to them. Then, set up a [NodeBalancer](https://www.linode.com/nodebalancers) to direct traffic to the minions.

- Set up a separate development branch and development server with Salt's environments feature.
- Set up a separate development branch and development server with Salt's environments feature.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ published: 2018-10-16
title: A Beginner's Guide to Salt
external_resources:
- '[SaltStack Documentation](https://docs.saltstack.com/)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

[Salt](https://www.saltstack.com) (also referred to as *SaltStack*) is a Python-based configuration management and orchestration system. Salt uses a master/client model in which a dedicated Salt *master* server manages one or more Salt *minion* servers. Two of Salt's primary jobs are:
Expand Down Expand Up @@ -332,4 +332,4 @@ Beacons can trigger [reactors](https://docs.saltstack.com/en/latest/topics/react

Now that you're familiar with some of Salt's basic terminology and components, move on to our guide [Getting Started with Salt - Basic Installation and Setup](https://www.linode.com/docs/applications/configuration-management/getting-started-with-salt-basic-installation-and-setup/) to set up a configuration to start running commands and provisioning minion servers.

The SaltStack documentation also contains a page of [best practices](https://docs.saltstack.com/en/latest/topics/best_practices.html) to be mindful of when working with Salt. You should review this page and implement those practices into your own workflow whenever possible.
The SaltStack documentation also contains a page of [best practices](https://docs.saltstack.com/en/latest/topics/best_practices.html) to be mindful of when working with Salt. You should review this page and implement those practices into your own workflow whenever possible.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ modified_by:
title: 'Configure and Use Salt Cloud and Cloud Maps to Provision Systems'
contributor:
name: Sergey Bulavintsev
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

![Salt Cloud](SaltCloud.jpg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ modified_by:
title: 'Configure and Use Salt SSH to Manage Your Linodes'
contributor:
name: Sergey Bulavintsev
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

## Introduction to Salt SSH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ external_resources:
- '[Salt Apache_Conf State Module](https://docs.saltstack.com/en/latest/ref/states/all/salt.states.apache_conf.html)'
- '[Salt Apache_Site State Module](https://docs.saltstack.com/en/latest/ref/states/all/salt.states.apache_site.html)'
- '[Using Grains in SLS Modules](https://docs.saltstack.com/en/latest/topics/tutorials/states_pt3.html#using-grains-in-sls-modules)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

Salt is a powerful configuration management tool. In this guide you will create Salt state files that are capable of installing and configuring Apache on Ubuntu 18.04, Debian 9, or CentOS 7.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ title: "Create a Salt Execution Module"
external_resources:
- '[Writing Execution Modules](https://docs.saltstack.com/en/latest/ref/modules/)'
- '[Execution of Salt Modules From Within States](https://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html#execution-of-salt-modules-from-within-states)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

A Salt *execution module* is a Python module that runs on a Salt minion. It perform tasks and returns data to the Salt master. In this tutorial you will create and install an execution module that will call the [US National Weather Service API](https://forecast-v3.weather.gov/documentation) and return the current temperature at a specified weather station. This example could easily be adapted to access any API.
Expand Down Expand Up @@ -241,4 +241,4 @@ local:
16.7
{{< /output >}}

You have now successfully created and installed a Salt execution module.
You have now successfully created and installed a Salt execution module.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ modified_by:
name: Linode
published: 2015-09-22
title: Getting Started with Salt - Basic Installation and Setup
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

[Salt](https://saltstack.com/) is a Python-based configuration management platform designed to control a number of slave servers (called Minions in Salt terminology) from a single master server. This guide walks you through configuring a Salt Master and Minion, and is relevant to any supported Linux distribution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ external_resources:
- '[Salt Best Practices](https://docs.saltstack.com/en/latest/topics/best_practices.html#modularity-within-states)'
- '[Salt States Tutorial](https://docs.saltstack.com/en/latest/topics/tutorials/states_pt1.html)'
- '[Jinja Template Designer Documentation](http://jinja.pocoo.org/docs/2.10/templates/#import)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---
## Introduction to Templating Languages

Expand Down Expand Up @@ -386,4 +386,4 @@ If Jinja is overused, its power and versatility can create unmaintainable Salt s

{% import_yaml "users.yml" as users %}

- Use Salt [Pillars](https://docs.saltstack.com/en/latest/topics/tutorials/pillar.html) to store general or sensitive data as variables. Access these variables inside state files and template files.
- Use Salt [Pillars](https://docs.saltstack.com/en/latest/topics/tutorials/pillar.html) to store general or sensitive data as variables. Access these variables inside state files and template files.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ external_resources:
- '[Salt Beacons Documentation](https://docs.saltstack.com/en/latest/topics/beacons/)'
- '[Salt Beacon Modules](https://docs.saltstack.com/en/latest/ref/beacons/all/index.html)'
- '[Salt Reactors Documentation](https://docs.saltstack.com/en/latest/topics/reactor/)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

Every action performed by Salt, such as applying a highstate or restarting a minion, generates an event. *Beacons* emit events for non-salt processes, such as system state changes or file changes. This guide will use Salt beacons to notify the Salt master of changes to minions, and Salt *reactors* to react to those changes.
Expand Down Expand Up @@ -290,4 +290,4 @@ salt/job/20181010161053393111/ret/salt-minion {

1. Open Slack and you should see that your app has notified the room.

Congratulations, you now know how to monitor your Salt minion's memory usage with Slack integration. Salt can also monitor CPU load, disk usage, and a number of other things. Refer to the More Information section below for additional resources.
Congratulations, you now know how to monitor your Salt minion's memory usage with Slack integration. Salt can also monitor CPU load, disk usage, and a number of other things. Refer to the More Information section below for additional resources.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ contributor:
external_resources:
- '[SaltStack Command Line Documentation](https://docs.saltstack.com/en/latest/ref/cli/index.html)'
- '[Linode Cloud Module](https://docs.saltstack.com/en/latest/ref/clouds/all/salt.cloud.clouds.linode.html)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

[SaltStack](https://github.com/saltstack/salt) is a powerful configuration management tool. The following is a quick-reference guide for Salt's command line interface (CLI).
Expand Down Expand Up @@ -298,4 +298,4 @@ Used to start the Salt API
|`--pid-file`|Specify the file path of the pidfile. Default is `/var/run/salt-api.pid`|`salt-api --pid-file /path/to/new/pid`|
|`-l`, `--log-level`|Change console log level. Defaults to `warning`. Available options are `all`, `garbage`, `trace`, `debug`, `info`, `warning`, `error`, and `quiet`.|`salt-api -l info`|
|`--log-file`|Change the log file path. Defaults to `/var/log/salt/api`|`salt-api --log-file /home/salt/log`|
|`--log-file-level`|Change the logging level of the log file. Same options as `--log-level`|`salt-api --log-level all`|
|`--log-file-level`|Change the logging level of the log file. Same options as `--log-level`|`salt-api --log-level all`|
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ external_resources:
- '[Salt GPG Renderer](https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.gpg.html)'
- '[Salt SDB Documentation](https://docs.saltstack.com/en/latest/topics/sdb/)'
- '[Salt SDB Modules](https://docs.saltstack.com/en/latest/ref/sdb/all/index.html)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

Salt is a powerful configuration management tool which helps you manage your server deployments with configuration *state* files. These files are easily shared with others on your team and can be checked in to version control systems like Git.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ external_resources:
- '[Salt Formulas](https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html)'
- '[Writing a Test](https://kitchen.ci/docs/getting-started/writing-test/)'
- '[Sample Pytest tests](https://github.com/gtmanfred/wordpress-formula/tree/master/tests/integration)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

KitchenSalt allows you to use Test Kitchen to test your Salt configurations locally without a Salt master or minions. In this guide you will install KitchenSalt and use Docker to test a Salt state. This guide was created using a system running Ubuntu 18.04.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ contributor:
external_resources:
- '[Salt Formulas](https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html)'
- '[Git Fileserver Backend Walkthrough](https://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

## Salt State Files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ modified_by:
name: Linode
published: 2015-07-02
title: Use Salt States to Configure a LAMP Stack on a Minion
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

This tutorial will configure a Minion's LAMP stack with further use of Salt States. This tutorial is written for Debian 8 but can easily be adjusted for other Linux Distributions. You will need a working Salt master and minion configuration before starting this guide. If you need to set up that prerequisite, see our [Salt installation guide](/docs/applications/configuration-management/getting-started-with-salt-basic-installation-and-setup/) to get started.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ modified_by:
name: Linode
published: 2015-07-02
title: Use Salt States to Create LAMP Stack and Fail2ban Across Salt minions
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

Salt States can install and define a server setup on other servers. This tutorial demonstrates the use of Salt States to create a LAMP stack across all Salt Minions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ external_resources:
- '[Salt Masterless Walkthough](https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html)'
- '[Salt Fileserver Backend Walthrough](https://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html)'
- '[Plex Media Server Quick State](https://support.plex.tv/articles/200264746-quick-start-step-by-step-guides/)'
promo_code_amount: '50'
promo_code: 'Salt50'
promo_code_amount: '20'
promo_code: 'Salt20'
---

Plex is a media server that allows you to stream video and audio content that you own to many different types of devices. In this guide you will learn how to use a masterless Salt minion to set up a Plex server, attach and use a Block Storage Volume, and how to connect to your media server to stream content to your devices.
Expand Down