% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
  \usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
  \usepackage{unicode-math} % this also loads fontspec
  \defaultfontfeatures{Scale=MatchLowercase}
  \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
  % xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
  \usepackage[]{microtype}
  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
  \IfFileExists{parskip.sty}{%
    \usepackage{parskip}
  }{% else
    \setlength{\parindent}{0pt}
    \setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
  \KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\ifLuaTeX
  \usepackage{selnolig}  % disable illegal ligatures
\fi
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same}
\hypersetup{
  pdftitle={pour-some-salt-on-me},
  hidelinks,
  pdfcreator={LaTeX via pandoc}}

\title{pour-some-salt-on-me}
\author{}
\date{}

\begin{document}
\maketitle

\hypertarget{pour-some-salt-on-me}{%
\section{pour-some-salt-on-me}\label{pour-some-salt-on-me}}

Pour some salt on me
\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#

Messing with salt-stack

.. contents::

\hypertarget{setup-salt-master-on-ubuntu}{%
\section{Setup salt-master on
ubuntu}\label{setup-salt-master-on-ubuntu}}

.. code-block:: bash

sudo apt-get -y install python-software-properties sudo
add-apt-repository -y ppa:saltstack/salt sudo apt-get update sudo
apt-get -y install salt-master sudo apt-get -y install salt-minion

\hypertarget{salt-master-ports}{%
\subsection{salt-master ports}\label{salt-master-ports}}

The salt-master must make the following ports available to it's
salt-minions:

\begin{itemize}
\tightlist
\item
  4505
\item
  4506
\end{itemize}

salt-minions do not need any special firewall rules

\hypertarget{setup-salt-minion-on-ubuntu}{%
\section{Setup salt-minion on
ubuntu}\label{setup-salt-minion-on-ubuntu}}

.. code-block:: bash

MASTER=master.foxhop.net \# put your master here

sudo apt-get -y install python-software-properties sudo
add-apt-repository -y ppa:saltstack/salt sudo apt-get update sudo
apt-get -y install salt-minion

sudo sed -i ``s/\#master: salt/\#master: salt\nmaster: \$MASTER/''
/etc/salt/minion

sudo service salt-minion restart

or this

.. code-block:: bash

wget --no-check-certificate -O - http://bootstrap.saltstack.org
\textbar{} sudo sh \&\& echo ``master: master.foxhop.net''
\textgreater\textgreater{} /etc/salt/minion.d/foxhop.conf \&\& echo
``append\_domain: foxhop.net'' \textgreater\textgreater{}
/etc/salt/minion.d/foxhop.conf;

\hypertarget{minion-log}{%
\subsection{minion log}\label{minion-log}}

/var/log/salt/minion

\hypertarget{salt-keys}{%
\section{Salt keys}\label{salt-keys}}

keys and ids

\hypertarget{list-the-accepted-and-unaccepted-salt-keys}{%
\subsection{List the accepted and unaccepted Salt
keys}\label{list-the-accepted-and-unaccepted-salt-keys}}

.. code-block:: bash

salt-key -L

\hypertarget{accept-a-minion-key}{%
\subsection{Accept a minion key}\label{accept-a-minion-key}}

.. code-block:: bash

salt-key -a

\hypertarget{accept-all-unaccepted-minion-keys}{%
\subsection{Accept all unaccepted minion
keys}\label{accept-all-unaccepted-minion-keys}}

.. code-block:: bash

salt-key -A

\end{document}
