User Tools

Site Tools


linux:salt-stack:using_execution_modules

This is an old revision of the document!


Using execution modules with salt

Documentation
Name: Using execution modules with salt
Description: How to use (and install) wonderful execution modules in salt-stack
Modification date :19/10/2018
Owner:dodger@ciberterminal.net
Notify changes to:dodger@ciberterminal.net & warlock86@gmail.com
Tags: salt, salt-stack

Official documentation

Module specific documentation

pkg module

Some of the functions of pkg module does not work. List of working functions:

  • cleanrepo * delrepo
  • diff
  • download
  • filedict * filelist
  • getrepo * groupdiff
  • groupinfo * groupinstall
  • grouplist * hold * install * latest-version * listholds
  • listpkgs * listrepopkgs * listrepos
  • listupgrades * modrepo
  • modified
  • normalizename * owner * purge * refreshdb
  • move
  • upgrade
  • upgradeavailable * verify * version * versioncmp

List of non-working functions:

  • infoinstalled * listdownloaded
  • listinstalledpatches
  • list_patches

Debugging non-working modules

Set minion loggging to debug:

echo "log_level_logfile: debug" >> /etc/salt/minion

Restart minion:

systemctl restart salt-minion

Watch log:

tail -f /var/log/salt/minion 
linux/salt-stack/using_execution_modules.1644577946.txt.gz · Last modified: 2022/02/11 11:12 by dodger