Forge Home

salt

Module to manage a salt installation server/client

59,212 downloads

10,293 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Oct 12th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.5.0 < 5.0.0
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'aboe-salt', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aboe-salt
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aboe-salt --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

aboe/salt — version 0.2.0 Oct 12th 2017

#puppet-salt

Build Status

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with salt
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.

salt Puppet Module

Manage salt client and server via Puppet.

##Module Description

This module can be used to install a single salt master/minion or both on one machine.

##Setup

###What salt affects

  • salt master/minion package.
  • salt master/minion configuration files.
  • salt master/minion service.

###Beginning with salt

Just add manifest:

include salt

Or if you want to change params you need to include the underlying modules:

class { 'salt::minion': minion_package_name => 'salt-minion-git', }
class { 'salt::master': master_package_name => 'salt-master-git', }

##Usage

All interaction with the salt module can be done through the main salt class.

###I just want salt, what's the minimum I need?

include '::salt'

###I just want a salt minion?

include '::salt::minion'

###I just want a salt master?

this will install a salt master and a minion for itself.

include '::salt'

##Reference

###Classes

  • salt: Main class, includes all the rest.
  • salt::minion: Handles the minion.
  • salt::master: Handles the master
  • salt::params: all parameters needed for the rest.

###Parameters salt::minion

Here are just a few parameters that are available in the salt::minion module The rest you can look up in salt::params

####minion_config

This sets the file to write minion configuration into.

####minion_package_name

This determines the name of the package to install.

####minion_service_name

This selects the name of the salt minion service for puppet to manage.

###Parameters salt::master

Here are just a few parameters that are available in the salt::master module The rest you can look up in salt::params

####master_service_name

This selects the name of the salt minion service for puppet to manage.

####master_package_name

This determines the name of the package to install.

####master_config

This sets the file to write salt master configuration into.

##Limitations

This module has been built on and tested against Puppet 3.2.3 and higher.