Saltstack

Overview

This is a flavour containing the salt configuration management and orchestration tool.

The flavour expects a local consul agent instance to be available that it can connect to (see configuration below). You can e.g. use the consul pot flavour on this site to run consul. If no consul instance is available at first, make sure it’s up within an hour and the certificate renewal process will restart consul. You can also connect to this host and service consul restart manually.

Installation

  • [cluster node] Create a ZFS data set on the parent system beforehand:
    zfs create -o mountpoint=/mnt/saltdata zroot/saltdata
  • Create your local jail from the image or the flavour files.
  • Mount in the ZFS data set you created:
    pot mount-in -p <jailname> -m /mnt -d /mnt/saltdata
  • [optional] Copy in the primary keys from an existing master:
    pot copy-in -p <jailname> -s /path/to/master.pem -d /root/master.pem
    pot copy-in -p <jailname> -s /path/to/master.pub -d /root/master.pub
    
  • Adjust to your environment:
    sudo pot set-env -p <jailname> -E DATACENTER=<datacentername> -E NODENAME=<nodename> \
    -E IP=<IP address of this node> -E PKIPATH="/mnt/salt/pki/master" -E STATEPATH="/mnt/salt/state" \
    -E PILLARPATH="/mnt/salt/pillar" -E SSHUSER=<username> \
    [ -E ENABLECONSUL=1 -E CONSULSERVERS=<correctly-quoted-array-consul-IPs> ] \
    [ -E GOSSIPKEY="<32 byte Base64 key from consul keygen>" ] \
    [ -E REMOTELOG=<remote syslog IP> ]
    

The PKIPATH parameter is the location of the mounted-in persistent storage, ideally /mnt/salt/pki/master/. Please quote the path.

If existing keys are copied in, they will overwrite the data in /mnt/salt/pki/master/.

The STATEPATH parameter is the location of the mounted-in persistent storage for state files, ideally /mnt/salt/state. Please quote the path.

The PILLARPATH parameter is the location of mounted-in persistent storage for private data, ideally /mnt/salt/pillar. Please quote the path.

The CONSULSERVERS parameter defines the consul server instances, and must be set as CONSULSERVERS='"10.0.0.2"' or CONSULSERVERS='"10.0.0.2", "10.0.0.3", "10.0.0.4"' or CONSULSERVERS='"10.0.0.2", "10.0.0.3", "10.0.0.4", "10.0.0.5", "10.0.0.6"'

The GOSSIPKEY parameter is the gossip encryption key for consul agent. We’re using a default key if the parameter is not set, do not use the default key for production encryption, instead provide your own.

The REMOTELOG parameter is the IP address of a remote syslog server to send logs to, such as for the loki flavour on this site.

The SSHUSER parameter is used to create a user with SSH keys for remote access.

The SSHPORT parameter is to custom set the port SSH runs on. It defaults to port 7777 which is not a standard SSH port.

Usage

SSH to host and run salt commands:

• salt-key -L                                       :: List minions
• salt-key -A -y                                    :: Register new minions after the minion service has been started 
• salt '*' test.ping                                :: Test all minions
• salt 'minion.intra.domain.org' cmd.run 'uname -r' :: Run command on a minion
• salt '*' state.highstate                          :: Apply high state to all minions

Getting Started

How To Use The Ready-Made Image

FreeBSD 13.0:
pot import -p saltstack-amd64-13_0 -t 0.0.3 -U https://potluck.honeyguide.net/saltstack

FreeBSD 12.2:
pot import -p saltstack-amd64-12_2 -t 0.0.3 -U https://potluck.honeyguide.net/saltstack

If you don’t want to use the default pot bridged network configuration but instead need an individual network setup (e.g. assign a host IP address), after importing it you can simply clone the jail like that (em0 is the host network adapter in this example):
pot clone -P saltstack-amd64-13_0 -p my-cloned-jail -N alias -i "em0|10.10.10.10"

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Alternatively: Create a Jail With This Flavour Yourself

1. Create Flavour Files

Save all files and directories from https://github.com/hny-gd/potluck/tree/master/saltstack to /usr/local/etc/pot/flavours/

2. Create Jail From Flavour

Run
pot create -b <FreeBSD Version> -p <jailname> -t single -N public-bridge -f fbsd-update

with your FreeBSD version (e.g. 12.1) and the name your jail should get.

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Version History

0.0.3

  • Adding gossip key to consul config

0.0.2

  • Updates for primary key management and simple multi-master implementation

0.0.1

  • First saltstack image

0.0

  • initiate file

These images were built on Fri Sep 10 22:09:39 UTC 2021

Manual Image Download Links

saltstack-amd64-13_0_0.0.3.xz ( 438.266 MB )
saltstack-amd64-13_0_0.0.3.xz.skein ( 0.250977 KB )

saltstack-amd64-12_2_0.0.3.xz ( 489.985 MB )
saltstack-amd64-12_2_0.0.3.xz.skein ( 0.250977 KB )

Jenkins Pot Creation Logs

saltstack-amd64-13_0_0.0.3:


saltstack/saltstack:
copy-in -s /usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf -d /root
copy-in -s /usr/local/etc/pot/flavours/saltstack.d/master.cfg -d /root
saltstack/saltstack.sh:
#!/bin/sh

# Based on POTLUCK TEMPLATE v3.0
# Altered by Michael Gmelin
#
# EDIT THE FOLLOWING FOR NEW FLAVOUR:
# 1. RUNS_IN_NOMAD - true or false
# 2. If RUNS_IN_NOMAD is false, can delete the <flavour>+4 file, else
#    make sure pot create command doesn't include it
# 3. Create a matching <flavour> file with this <flavour>.sh file that
#    contains the copy-in commands for the config files from <flavour>.d/
#    Remember that the package directories don't exist yet, so likely copy
#    to /root
# 4. Adjust package installation between BEGIN & END PACKAGE SETUP
# 5. Adjust jail configuration script generation between BEGIN & END COOK
#    Configure the config files that have been copied in where necessary

# Set this to true if this jail flavour is to be created as a nomad (i.e. blocking) jail.
# You can then query it in the cook script generation below and the script is installed
# appropriately at the end of this script
RUNS_IN_NOMAD=false

# set the cook log path/filename
COOKLOG=/var/log/cook.log

# check if cooklog exists, create it if not
if [ ! -e $COOKLOG ]
then
    echo "Creating $COOKLOG" | tee -a $COOKLOG
else
    echo "WARNING $COOKLOG already exists"  | tee -a $COOKLOG
fi
date >> $COOKLOG

# -------------------- COMMON ---------------

STEPCOUNT=0
step() {
  STEPCOUNT=$(expr "$STEPCOUNT" + 1)
  STEP="$@"
  echo "Step $STEPCOUNT: $STEP" | tee -a $COOKLOG
}

exit_ok() {
  trap - EXIT
  exit 0
}

FAILED=" failed"
exit_error() {
  STEP="$@"
  FAILED=""
  exit 1
}

set -e
trap 'echo ERROR: $STEP$FAILED | (>&2 tee -a $COOKLOG)' EXIT

# -------------- BEGIN PACKAGE SETUP -------------

step "Bootstrap package repo"
mkdir -p /usr/local/etc/pkg/repos
#echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' \
echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly" }' \
  >/usr/local/etc/pkg/repos/FreeBSD.conf
ASSUME_ALWAYS_YES=yes pkg bootstrap

step "Touch /etc/rc.conf"
touch /etc/rc.conf

# this is important, otherwise running /etc/rc from cook will
# overwrite the IP address set in tinirc
step "Remove ifconfig_epair0b from config"
sysrc -cq ifconfig_epair0b && sysrc -x ifconfig_epair0b || true

step "Disable sendmail"
service sendmail onedisable

step "Enable SSH"
sysrc sshd_enable="YES"

step "Create /usr/local/etc/rc.d"
mkdir -p /usr/local/etc/rc.d

# we need consul for consul agent
step "Install package consul"
pkg install -y consul

step "Install package sudo"
pkg install -y sudo

step "Install package node_exporter"
pkg install -y node_exporter

step "Install package jq"
pkg install -y jq

step "Install package jo"
pkg install -y jo

step "Install package curl"
pkg install -y curl

step "Install package openssl"
pkg install -y openssl

step "Install package syslog-ng"
pkg install -y syslog-ng

step "Install package py38-salt"
pkg install -y py38-salt

step "Install package git-lite"
pkg install -y git-lite

step "Install package go"
pkg install -y go

step "Install package gmake"
pkg install -y gmake

step "Install package curl"
pkg install -y curl

step "Install package nano"
pkg install -y nano

step "Install package tmux"
pkg install -y tmux

step "Clean package installation"
pkg autoremove -y
pkg clean -y

# -------------- END PACKAGE SETUP -------------

#
# Create configurations
#

#
# Now generate the run command script "cook"
# It configures the system on the first run by creating the config file(s)
# On subsequent runs, it only starts sleeps (if nomad-jail) or simply exits
#

# clear any old cook runtime file
step "Remove pre-existing cook script (if any)"
rm -f /usr/local/bin/cook

# this runs when image boots
# ----------------- BEGIN COOK ------------------

step "Create cook script"
echo "#!/bin/sh
RUNS_IN_NOMAD=$RUNS_IN_NOMAD
# declare this again for the pot image, might work carrying variable through like
# with above
COOKLOG=/var/log/cook.log
# No need to change this, just ensures configuration is done only once
if [ -e /usr/local/etc/pot-is-seasoned ]
then
    # If this pot flavour is blocking (i.e. it should not return),
    # we block indefinitely
    if [ \"\$RUNS_IN_NOMAD\" = \"true\" ]
    then
        /bin/sh /etc/rc
        tail -f /dev/null
    fi
    exit 0
fi

# ADJUST THIS: STOP SERVICES AS NEEDED BEFORE CONFIGURATION

# No need to adjust this:
# If this pot flavour is not blocking, we need to read the environment first from /tmp/environment.sh
# where pot is storing it in this case
if [ -e /tmp/environment.sh ]
then
    . /tmp/environment.sh
fi

#
# ADJUST THIS BY CHECKING FOR ALL VARIABLES YOUR FLAVOUR NEEDS:
#

# Check config variables are set
#
# datacenter check
if [ -z \${DATACENTER+x} ]; then
    echo 'DATACENTER is unset - see documentation to configure this flavour with the datacenter name.'
    exit 1
fi
# nodename check
if [ -z \${NODENAME+x} ];
then
    echo 'NODENAME is unset - see documentation to configure this flavour with a name for this node.'
    exit 1
fi
# IP address check
if [ -z \${IP+x} ]; then
    echo 'IP is unset - see documentation to configure this flavour for an IP address.'
    exit 1
fi
# enable consul check
if [ -z \${ENABLECONSUL+x} ];
then
    echo 'ENABLECONSUL is unset - please pass in 1 to enable consul or 0 to disable consul setup. Defaulting to 0. If enabled you must pass in a list of consul servers.'
    ENABLECONSUL=0
fi
# consul check
if [ -z \${CONSULSERVERS+x} ] && [ \$ENABLECONSUL != 0 ];
then
    echo 'CONSULSERVERS is unset - please pass in one or more correctly-quoted, comma-separated addresses for consul peer IPs. Refer to documentation.'
    exit 1
fi
# GOSSIPKEY is a 32 byte, Base64 encoded key generated with consul keygen for the consul flavour.
# Re-used for nomad, which is usually 16 byte key but supports 32 byte, Base64 encoded keys
# We'll re-use the one from the consul flavour
if [ -z \${GOSSIPKEY+x} ];
then
    echo 'GOSSIPKEY is unset - see documentation how to configure this flavour, defaulting to preset encrypt key. Do not use this in production!'
    GOSSIPKEY='BY+vavBUSEmNzmxxS3k3bmVFn1giS4uEudc774nBhIw='
fi
# SSHUSER credentials check
if [ -z \${SSHUSER+x} ];
then
    echo 'SSHUSER is unset - please provide a username to use for the SSH user.'
    exit 1
fi
# SSHPORT credentials check
if [ -z \${SSHPORT+x} ];
then
    echo 'SSHPORT is unset - please provide a port number for SSH. Default for this pot image is 7777.'
    SSHPORT=7777
fi
# PKIPATH check
if [ -z \${PKIPATH+x} ];
then
    echo 'PKIPATH is unset - please provide a path for mounted in persistent storage to use for salt PKI files.'
    exit 1
fi
# STATEPATH check
if [ -z \${STATEPATH+x} ];
then
    echo 'STATEPATH is unset - please provide a path for mounted in persistent storage to use for salt state files.'
    exit 1
fi
# PILLARPATH check
if [ -z \${PILLARPATH+x} ];
then
    echo 'PILLARPATH is unset - please provide a path for mounted in persistent storage to use for salt pillar files.'
    exit 1
fi
# optional logging to remote syslog server check
if [ -z \${REMOTELOG+x} ];
then
    echo 'REMOTELOG is unset - please provide the IP address of a loki server, or set a null value.'
    REMOTELOG=\"null\"
fi

# ADJUST THIS BELOW: NOW ALL THE CONFIGURATION FILES NEED TO BE CREATED:
# Don't forget to double(!)-escape quotes and dollar signs in the config files

# setup directories for salt usage
mkdir -p /mnt/salt/pki/master
mkdir -p /mnt/salt/state
mkdir -p /mnt/salt/pillar
mkdir -p /mnt/home

## start ssh setup

# begin SSHUSER configuration
echo \"Setting up custom ssh parameters\"

echo \"Port \$SSHPORT
PubkeyAuthentication yes
AuthorizedKeysFile       .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
StrictModes no
UseDNS no
Banner none
#LogLevel DEBUG
AllowAgentForwarding yes
PermitTTY yes
#AllowUsers \$SSHUSER
#Match User \$SSHUSER
#  ChrootDirectory /dir-name
#  X11Forwarding no
#  AllowTcpForwarding no
#  ForceCommand internal-sftp
\" >> /etc/ssh/sshd_config

# setup host keys
echo \"Manually setting up host keys\"
cd /etc/ssh
/usr/bin/ssh-keygen -A
cd /

# setup a user
/usr/sbin/pw useradd -n \$SSHUSER -c 'ssh user' -d /mnt/home/\$SSHUSER -G wheel -m -s /bin/sh -h -

# setup user ssh key to be exported for use elsewhere
echo \"Setting up \$SSHUSER ssh keys\"
mkdir -p /mnt/home/\$SSHUSER/.ssh
/usr/bin/ssh-keygen -q -N '' -f /mnt/home/\$SSHUSER/.ssh/id_rsa -t rsa
chmod 700 /mnt/home/\$SSHUSER/.ssh
cat /mnt/home/\$SSHUSER/.ssh/id_rsa.pub > /mnt/home/\$SSHUSER/.ssh/authorized_keys
chmod 700 /mnt/home/\$SSHUSER/.ssh
chmod 600 /mnt/home/\$SSHUSER/.ssh/id_rsa
chmod 644 /mnt/home/\$SSHUSER/.ssh/authorized_keys
chown \$SSHUSER:wheel /mnt/home/\$SSHUSER/.ssh

# restart ssh
echo \"Restarting ssh\"
/etc/rc.d/sshd restart

## end ssh setup

## start remote logging setup

# optional remote logging
if [ ! -z \$REMOTELOG ] && [ \$REMOTELOG != \"null\" ]; then
    if [ -f /root/syslog-ng.conf ]; then
        /usr/bin/sed -i .orig \"s/REMOTELOGIP/\$REMOTELOG/g\" /root/syslog-ng.conf
        cp -f /root/syslog-ng.conf /usr/local/etc/syslog-ng.conf
        # stop syslogd
        service syslogd onestop || true
        # setup sysrc entries to start and set parameters to accept logs from remote subnet
        sysrc syslogd_enable=\"NO\"
        sysrc syslog_ng_enable=\"YES\"
        #sysrc syslog_ng_flags=\"-u daemon\"
        sysrc syslog_ng_flags=\"-R /tmp/syslog-ng.persist\"
        service syslog-ng start
        echo \"syslog-ng setup complete\"
    else
        echo \"/root/syslog-ng.conf is missing?\"
    fi
else
    echo \"REMOTELOG parameter is not set to an IP address. syslog-ng won't operate.\"
fi

## end remote logging setup

## start consul setup

if [ \$ENABLECONSUL = 1 ]; then
    # make consul configuration directory and set permissions
    mkdir -p /usr/local/etc/consul.d
    chown consul /usr/local/etc/consul.d
    chmod 750 /usr/local/etc/consul.d

    # Create the consul agent config file with imported variables
    echo \"{
\\\"advertise_addr\\\": \\\"\$IP\\\",
\\\"datacenter\\\": \\\"\$DATACENTER\\\",
\\\"node_name\\\": \\\"\$NODENAME\\\",
\\\"data_dir\\\":  \\\"/var/db/consul\\\",
\\\"dns_config\\\": {
  \\\"a_record_limit\\\": 3,
  \\\"enable_truncate\\\": true
},
\\\"verify_incoming\\\": false,
\\\"verify_outgoing\\\": false,
\\\"verify_server_hostname\\\": false,
\\\"verify_incoming_rpc\\\": false,
\\\"log_file\\\": \\\"/var/log/consul/\\\",
\\\"log_level\\\": \\\"WARN\\\",
\\\"encrypt\\\": \\\"\$GOSSIPKEY\\\",
\\\"start_join\\\": [ \$CONSULSERVERS ],
\\\"service\\\": {
  \\\"name\\\": \\\"node-exporter\\\",
  \\\"tags\\\": [\\\"_app=saltstack\\\", \\\"_service=node-exporter\\\", \\\"_hostname=\$NODENAME\\\"],
  \\\"port\\\": 9100
}
}\" | (umask 177; cat > /usr/local/etc/consul.d/agent.json)

    # set owner and perms on _directory_ /usr/local/etc/consul.d with agent.json
    chown -R consul:wheel /usr/local/etc/consul.d/
    #chmod 640 /usr/local/etc/consul.d/agent.json

    # enable consul
    service consul enable

    # set load parameter for consul config
    sysrc consul_args=\"-config-file=/usr/local/etc/consul.d/agent.json\"
    # not needed
    #sysrc consul_datadir=\"/var/db/consul\"
    #sysrc consul_group=\"wheel\"

    # setup consul logs, might be redundant if not specified in agent.json above
    mkdir -p /var/log/consul
    touch /var/log/consul/consul.log
    chown -R consul:wheel /var/log/consul

    # add the consul user to the wheel group, this is old behaviour and may be fixed
    /usr/sbin/pw usermod consul -G wheel

    # start consul agent
    service consul start

    ## end consul setup

    ## start node exporter setup

    ## DISABLED as not using TLS
    ## node exporter needs tls setup
    ##echo \"tls_server_config:
    ##  cert_file: /mnt/certs/cert.pem
    ##  key_file: /mnt/certs/key.pem
    ##\" > /usr/local/etc/node-exporter.yml

    ## replacement to above disabled bit with empty file
    touch /usr/local/etc/node-exporter.yml

    # add node_exporter user
    /usr/sbin/pw useradd -n nodeexport -c 'nodeexporter user' -m -s /usr/bin/nologin -h -

    # enable node_exporter service
    service node_exporter enable
    sysrc node_exporter_args=\"--web.config=/usr/local/etc/node-exporter.yml\"
    sysrc node_exporter_user=nodeexport
    sysrc node_exporter_group=nodeexport

    # start node_exporter
    service node_exporter start

    ## end node exporter setup
else
    echo \"Consul is not being enabled.\"
fi
## end consul optional

## start saltstack setup

# check if copied in file exists, and make path changes from variables
if [ -f /root/master.cfg ]; then
    # set the PKIPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|PKIPATH|'\$PKIPATH'|g' /root/master.cfg
    # set the STATEPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|STATEPATH|'\$STATEPATH'|g' /root/master.cfg
    # set the PILLARPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|PILLARPATH|'\$PILLARPATH'|g' /root/master.cfg
    # copy to /usr/local/etc/salt
    cp -f /root/master.cfg /usr/local/etc/salt/master
fi

# check for copied in master.pem and master.pub and copy to PKIPATH location, overwriting any keys there
if [ -f /root/master.pem ]; then
    # backup existing key and set destination to readwrite
    if [ -f \$PKIPATH/master.pem ]; then
        cp -f \$PKIPATH/master.pem \$PKIPATH/master.pem.old
        chmod 400 \$PKIPATH/master.pem.old
        chmod 600 \$PKIPATH/master.pem
    fi
    # copy key over
    cp -f /root/master.pem \$PKIPATH/master.pem
    # set destination to read only
    chmod 400 \$PKIPATH/master.pem
else
    echo \"There is no master.pem file to copy into salt\"
fi

# copy over pubkey
if [ -f /root/master.pub ]; then
    if [ -f \$PKIPATH/master.pub ]; then
        cp -f \$PKIPATH/master.pub \$PKIPATH/master.pub.old
    fi
    cp -f /root/master.pub \$PKIPATH/master.pub
    chmod 644 \$PKIPATH/master.pub
else
    echo \"There is no master.pub file to copy into salt\"
fi
# make sure ownership is correct
chown root:wheel \$PKIPATH

# enable salt master
service salt_master enable

# start salt master service
service salt_master start

## end saltstack setup

## notice
echo \"================================================================\"
echo \" Copy out /mnt/home/\$SSHUSER/.ssh/id_rsa to use as SSH private \"
echo \"            key for remote access without password.             \"
echo \"================================================================\"


# ADJUST THIS: START THE SERVICES AGAIN AFTER CONFIGURATION

# Do not touch this:
touch /usr/local/etc/pot-is-seasoned

# If this pot flavour is blocking (i.e. it should not return), there is no /tmp/environment.sh
# created by pot and we now after configuration block indefinitely
if [ \"\$RUNS_IN_NOMAD\" = \"true\" ]
then
    /bin/sh /etc/rc
    tail -f /dev/null
fi
" > /usr/local/bin/cook

# ----------------- END COOK ------------------


# ---------- NO NEED TO EDIT BELOW ------------

step "Make cook script executable"
if [ -e /usr/local/bin/cook ]
then
    echo "setting executable bit on /usr/local/bin/cook" | tee -a $COOKLOG
    chmod u+x /usr/local/bin/cook
else
    exit_error "there is no /usr/local/bin/cook to make executable"
fi

#
# There are two ways of running a pot jail: "Normal", non-blocking mode and
# "Nomad", i.e. blocking mode (the pot start command does not return until
# the jail is stopped).
# For the normal mode, we create a /usr/local/etc/rc.d script that starts
# the "cook" script generated above each time, for the "Nomad" mode, the cook
# script is started by pot (configuration through flavour file), therefore
# we do not need to do anything here.
#

# Create rc.d script for "normal" mode:
step "Create rc.d script to start cook"
echo "creating rc.d script to start cook" | tee -a $COOKLOG

echo "#!/bin/sh
#
# PROVIDE: cook
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
. /etc/rc.subr
name=\"cook\"
rcvar=\"cook_enable\"
load_rc_config \$name
: \${cook_enable:=\"NO\"}
: \${cook_env:=\"\"}
command=\"/usr/local/bin/cook\"
command_args=\"\"
run_rc_command \"\$1\"
" > /usr/local/etc/rc.d/cook

step "Make rc.d script to start cook executable"
if [ -e /usr/local/etc/rc.d/cook ]
then
  echo "Setting executable bit on cook rc file" | tee -a $COOKLOG
  chmod u+x /usr/local/etc/rc.d/cook
else
  exit_error "/usr/local/etc/rc.d/cook does not exist"
fi

if [ "$RUNS_IN_NOMAD" != "true" ]
then
  step "Enable cook service"
  # This is a non-nomad (non-blocking) jail, so we need to make sure the script
  # gets started when the jail is started:
  # Otherwise, /usr/local/bin/cook will be set as start script by the pot flavour
  echo "enabling cook" | tee -a $COOKLOG
  service cook enable
fi

# -------------------- DONE ---------------
exit_ok

saltstack/saltstack+1:
saltstack/saltstack+1.sh:

saltstack/saltstack+2:
saltstack/saltstack+2.sh:

saltstack/saltstack+3:
saltstack/saltstack+3.sh:

saltstack/saltstack+4:
saltstack/saltstack+4.sh:
Password:===>  Creating a new pot
===>  pot name : saltstack-amd64-13_0
===>  type : single
===>  base : 13.0
===>  pot_base :
===>  level : 0
===>  network-type : public-bridge
===>  network-stack: ipv4
===>  ip : 10.192.0.3
===>  bridge :
===>  dns : inherit
===>  flavours : fbsd-update saltstack saltstack+1 saltstack+2 saltstack+3 saltstack+4
===>  Fetching FreeBSD 13.0
===>  Extract the tarball
=====>  Flavour: fbsd-update
=====>  Starting saltstack-amd64-13_0 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
defaultrouter: NO -> 10.192.0.1
===>  Starting the pot saltstack-amd64-13_0
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:34:f2:d8:8e:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Fri Sep 10 21:53:08 UTC 2021
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp/fbsd-update.sh
=====>  Executing fbsd-update script on saltstack-amd64-13_0
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update2.freebsd.org... done.
Fetching metadata signature for 13.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 24 patches.....10....20.. done.
Applying patches... done.
Fetching 6 files... ... done.
The following files will be added as part of updating to
13.0-RELEASE-p4:
/usr/include/c++/v1/barrier
/usr/include/c++/v1/concepts
/usr/include/c++/v1/execution
/usr/include/c++/v1/latch
/usr/include/c++/v1/numbers
/usr/include/c++/v1/semaphore
/usr/include/c++/v1/tr1/barrier
/usr/include/c++/v1/tr1/concepts
/usr/include/c++/v1/tr1/execution
/usr/include/c++/v1/tr1/latch
/usr/include/c++/v1/tr1/numbers
/usr/include/c++/v1/tr1/semaphore
The following files will be updated as part of updating to
13.0-RELEASE-p4:
/bin/freebsd-version
/lib/libcasper.so.1
/lib/libcrypto.so.111
/rescue/[
/rescue/bectl
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/unzstd
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/rescue/zstd
/rescue/zstdcat
/rescue/zstdmt
/sbin/ggatec
/usr/bin/bc
/usr/bin/dc
/usr/bin/openssl
/usr/include/openssl/opensslv.h
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libfetch.a
/usr/lib/libfetch.so.6
/usr/lib/libfetch_p.a
/usr/lib/libradius.a
/usr/lib/libradius.so.4
/usr/lib/libradius_p.a
/usr/lib/libssl.a
/usr/lib/libssl.so.111
/usr/lib/libssl_p.a
/usr/sbin/bhyve
/usr/sbin/hostapd
/usr/sbin/ntp-keygen
/usr/sbin/wpa_cli
/usr/sbin/wpa_supplicant
Installing updates...Scanning //usr/share/certs/blacklisted for certificates...
Scanning //usr/share/certs/trusted for certificates...
 done.
=====>  Stop the pot saltstack-amd64-13_0
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/dev
=====>  Flavour: saltstack
=====>  Executing saltstack pot commands on saltstack-amd64-13_0
=====>  mount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
/usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf -> /mnt/data/pot/jails/saltstack-amd64-13_0/m/root/syslog-ng.conf
=====>  Source /usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf copied in the pot saltstack-amd64-13_0
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
=====>  /mnt/data/pot/jails/saltstack-amd64-13_0/m/dev is already unmounted
=====>  mount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
/usr/local/etc/pot/flavours/saltstack.d/master.cfg -> /mnt/data/pot/jails/saltstack-amd64-13_0/m/root/master.cfg
=====>  Source /usr/local/etc/pot/flavours/saltstack.d/master.cfg copied in the pot saltstack-amd64-13_0
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
=====>  /mnt/data/pot/jails/saltstack-amd64-13_0/m/dev is already unmounted
=====>  Starting saltstack-amd64-13_0 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===>  Starting the pot saltstack-amd64-13_0
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:93:26:07:27:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Fri Sep 10 21:53:50 UTC 2021
/usr/local/etc/pot/flavours/saltstack.sh -> /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp/saltstack.sh
=====>  Executing saltstack script on saltstack-amd64-13_0
Creating /var/log/cook.log
Step 1: Bootstrap package repo
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Installing pkg-1.16.3...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Extracting pkg-1.16.3: .......... done
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
Step 2: Touch /etc/rc.conf
Step 3: Remove ifconfig_epair0b from config
Step 4: Disable sendmail
sendmail disabled in /etc/rc.conf
sendmail_submit disabled in /etc/rc.conf
sendmail_msp_queue disabled in /etc/rc.conf
Step 5: Enable SSH
sshd_enable: NO -> YES
Step 6: Create /usr/local/etc/rc.d
Step 7: Install package consul
Updating FreeBSD repository catalogue...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Fetching meta.conf: . done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Fetching packagesite.txz: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 30745 packages processed.
All repositories are up to date.
Updating database digests format: . done
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	consul: 1.9.5

Number of packages to be installed: 1

The process will require 78 MiB more space.
27 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching consul-1.9.5.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing consul-1.9.5...
===> Creating groups.
Creating group 'consul' with gid '469'.
===> Creating users
Creating user 'consul' with uid '469'.
===> Creating homedir(s)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting consul-1.9.5: ..... done
Step 8: Install package sudo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	gettext-runtime: 0.21
	indexinfo: 0.3.1
	sudo: 1.9.7p1

Number of packages to be installed: 3

The process will require 7 MiB more space.
2 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching sudo-1.9.7p1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching gettext-runtime-0.21.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching indexinfo-0.3.1.txz: . done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Installing indexinfo-0.3.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting indexinfo-0.3.1: .... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Installing gettext-runtime-0.21...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting gettext-runtime-0.21: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Installing sudo-1.9.7p1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting sudo-1.9.7p1: .......... done
Step 9: Install package node_exporter
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	node_exporter: 1.1.2

Number of packages to be installed: 1

The process will require 11 MiB more space.
3 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching node_exporter-1.1.2.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing node_exporter-1.1.2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting node_exporter-1.1.2: .......... done
=====
Message from node_exporter-1.1.2:

--
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.
Step 10: Install package jq
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	jq: 1.6
	oniguruma: 6.9.7.1

Number of packages to be installed: 2

The process will require 2 MiB more space.
499 KiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching jq-1.6.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching oniguruma-6.9.7.1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Installing oniguruma-6.9.7.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting oniguruma-6.9.7.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Installing jq-1.6...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting jq-1.6: .......... done
Step 11: Install package jo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	jo: 1.4

Number of packages to be installed: 1

19 KiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching jo-1.4.txz: ... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing jo-1.4...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting jo-1.4: ...... done
Step 12: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	ca_root_nss: 3.63
	curl: 7.78.0
	libnghttp2: 1.43.0

Number of packages to be installed: 3

The process will require 5 MiB more space.
2 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching curl-7.78.0.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching libnghttp2-1.43.0.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching ca_root_nss-3.63.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Installing libnghttp2-1.43.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting libnghttp2-1.43.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Installing ca_root_nss-3.63...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting ca_root_nss-3.63: ........ done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Installing curl-7.78.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting curl-7.78.0: .......... done
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
Step 13: Install package openssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	openssl: 1.1.1l,1

Number of packages to be installed: 1

The process will require 14 MiB more space.
4 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching openssl-1.1.1l,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing openssl-1.1.1l,1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting openssl-1.1.1l,1: .......... done
Step 14: Install package syslog-ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 11 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	e2fsprogs-libuuid: 1.46.4
	glib: 2.66.8,2
	json-c: 0.15_1
	libffi: 3.3_1
	libiconv: 1.16
	libxml2: 2.9.12
	mpdecimal: 2.5.1
	pcre: 8.44
	python38: 3.8.10
	readline: 8.1.1
	syslog-ng: 3.32.1

Number of packages to be installed: 11

The process will require 160 MiB more space.
24 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/11] Fetching syslog-ng-3.32.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/11] Fetching e2fsprogs-libuuid-1.46.4.txz: ..... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/11] Fetching pcre-8.44.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/11] Fetching json-c-0.15_1.txz: ........ done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/11] Fetching glib-2.66.8,2.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/11] Fetching libxml2-2.9.12.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/11] Fetching python38-3.8.10.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/11] Fetching mpdecimal-2.5.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/11] Fetching readline-8.1.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/11] Fetching libffi-3.3_1.txz: ..... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/11] Fetching libiconv-1.16.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/11] Installing mpdecimal-2.5.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/11] Extracting mpdecimal-2.5.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/11] Installing readline-8.1.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/11] Extracting readline-8.1.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/11] Installing libffi-3.3_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/11] Extracting libffi-3.3_1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/11] Installing pcre-8.44...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/11] Extracting pcre-8.44: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/11] Installing libxml2-2.9.12...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/11] Extracting libxml2-2.9.12: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/11] Installing python38-3.8.10...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/11] Extracting python38-3.8.10: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/11] Installing libiconv-1.16...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/11] Extracting libiconv-1.16: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/11] Installing e2fsprogs-libuuid-1.46.4...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/11] Extracting e2fsprogs-libuuid-1.46.4: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/11] Installing json-c-0.15_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/11] Extracting json-c-0.15_1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/11] Installing glib-2.66.8,2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/11] Extracting glib-2.66.8,2: .......... done
No schema files found: doing nothing.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/11] Installing syslog-ng-3.32.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/11] Extracting syslog-ng-3.32.1: .......... done
=====
Message from python38-3.8.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
=====
Message from syslog-ng-3.32.1:

--
syslog-ng is now installed!  To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:

1. Create a configuration file named /usr/local/etc/syslog-ng.conf
   (a sample named syslog-ng.conf.sample has been included in
   /usr/local/etc). Note that this is a change in 2.0.2
   version, previous ones put the config file in
   /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
   move that file in the right place

2. Configure syslog-ng to start automatically by adding the following
   to /etc/rc.conf:

        syslog_ng_enable="YES"

3. Prevent the standard FreeBSD syslogd from starting automatically by
   adding a line to the end of your /etc/rc.conf file that reads:

        syslogd_enable="NO"

4. Shut down the standard FreeBSD syslogd:

     kill `cat /var/run/syslog.pid`

5. Start syslog-ng:

     /usr/local/etc/rc.d/syslog-ng start
Step 15: Install package py38-salt
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 31 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	libinotify: 20180201_2
	libyaml: 0.2.5
	libzmq4: 4.3.4
	norm: 1.5r6_1
	openpgm: 5.2.122_6
	py38-Babel: 2.9.1
	py38-Jinja2: 2.11.2_1
	py38-certifi: 2021.5.30
	py38-cffi: 1.14.5
	py38-chardet: 4.0.0,1
	py38-cryptography: 3.3.2
	py38-distro: 1.5.0
	py38-idna: 2.10
	py38-libcloud: 3.3.1
	py38-markupsafe: 1.1.1_1
	py38-msgpack: 1.0.2
	py38-openssl: 20.0.1
	py38-progressbar: 2.5
	py38-psutil: 5.8.0
	py38-pycparser: 2.20
	py38-pycryptodomex: 3.10.1
	py38-pyinotify: 0.9.6
	py38-pysocks: 1.7.1
	py38-pytz: 2021.1,1
	py38-pyzmq: 22.1.0
	py38-requests: 2.25.1
	py38-salt: 3003.3_1
	py38-setuptools: 57.0.0
	py38-six: 1.16.0
	py38-urllib3: 1.25.11,1
	py38-yaml: 5.4.1

Number of packages to be installed: 31

The process will require 142 MiB more space.
24 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/31] Fetching py38-salt-3003.3_1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/31] Fetching py38-requests-2.25.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/31] Fetching py38-chardet-4.0.0,1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/31] Fetching py38-setuptools-57.0.0.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/31] Fetching py38-certifi-2021.5.30.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/31] Fetching py38-urllib3-1.25.11,1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/31] Fetching py38-openssl-20.0.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/31] Fetching py38-cryptography-3.3.2.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/31] Fetching py38-six-1.16.0.txz: ... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/31] Fetching py38-cffi-1.14.5.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/31] Fetching py38-pycparser-2.20.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [12/31] Fetching py38-pysocks-1.7.1.txz: ... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [13/31] Fetching py38-idna-2.10.txz: ......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [14/31] Fetching py38-markupsafe-1.1.1_1.txz: ... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [15/31] Fetching py38-psutil-5.8.0.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [16/31] Fetching py38-distro-1.5.0.txz: ... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [17/31] Fetching py38-pycryptodomex-3.10.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [18/31] Fetching py38-pyzmq-22.1.0.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [19/31] Fetching libzmq4-4.3.4.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [20/31] Fetching openpgm-5.2.122_6.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [21/31] Fetching norm-1.5r6_1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [22/31] Fetching py38-libcloud-3.3.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [23/31] Fetching py38-progressbar-2.5.txz: .. done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [24/31] Fetching py38-yaml-5.4.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [25/31] Fetching libyaml-0.2.5.txz: ......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [26/31] Fetching py38-pyinotify-0.9.6.txz: ..... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [27/31] Fetching libinotify-20180201_2.txz: .... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [28/31] Fetching py38-msgpack-1.0.2.txz: ........ done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [29/31] Fetching py38-Jinja2-2.11.2_1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [30/31] Fetching py38-Babel-2.9.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [31/31] Fetching py38-pytz-2021.1,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/31] Installing py38-setuptools-57.0.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/31] Extracting py38-setuptools-57.0.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/31] Installing py38-pycparser-2.20...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/31] Extracting py38-pycparser-2.20: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/31] Installing py38-six-1.16.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/31] Extracting py38-six-1.16.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/31] Installing py38-cffi-1.14.5...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [4/31] Extracting py38-cffi-1.14.5: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/31] Installing py38-cryptography-3.3.2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [5/31] Extracting py38-cryptography-3.3.2: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/31] Installing py38-certifi-2021.5.30...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [6/31] Extracting py38-certifi-2021.5.30: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/31] Installing py38-openssl-20.0.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [7/31] Extracting py38-openssl-20.0.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/31] Installing py38-pysocks-1.7.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [8/31] Extracting py38-pysocks-1.7.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/31] Installing py38-idna-2.10...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [9/31] Extracting py38-idna-2.10: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/31] Installing openpgm-5.2.122_6...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [10/31] Extracting openpgm-5.2.122_6: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/31] Installing norm-1.5r6_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [11/31] Extracting norm-1.5r6_1: .... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [12/31] Installing py38-pytz-2021.1,1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [12/31] Extracting py38-pytz-2021.1,1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [13/31] Installing py38-chardet-4.0.0,1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [13/31] Extracting py38-chardet-4.0.0,1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [14/31] Installing py38-urllib3-1.25.11,1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [14/31] Extracting py38-urllib3-1.25.11,1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [15/31] Installing py38-markupsafe-1.1.1_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [15/31] Extracting py38-markupsafe-1.1.1_1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [16/31] Installing libzmq4-4.3.4...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [16/31] Extracting libzmq4-4.3.4: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [17/31] Installing libyaml-0.2.5...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [17/31] Extracting libyaml-0.2.5: ......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [18/31] Installing libinotify-20180201_2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [18/31] Extracting libinotify-20180201_2: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [19/31] Installing py38-Babel-2.9.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [19/31] Extracting py38-Babel-2.9.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [20/31] Installing py38-requests-2.25.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [20/31] Extracting py38-requests-2.25.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [21/31] Installing py38-psutil-5.8.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [21/31] Extracting py38-psutil-5.8.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [22/31] Installing py38-distro-1.5.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [22/31] Extracting py38-distro-1.5.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [23/31] Installing py38-pycryptodomex-3.10.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [23/31] Extracting py38-pycryptodomex-3.10.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [24/31] Installing py38-pyzmq-22.1.0...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [24/31] Extracting py38-pyzmq-22.1.0: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [25/31] Installing py38-libcloud-3.3.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [25/31] Extracting py38-libcloud-3.3.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [26/31] Installing py38-progressbar-2.5...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [26/31] Extracting py38-progressbar-2.5: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [27/31] Installing py38-yaml-5.4.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [27/31] Extracting py38-yaml-5.4.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [28/31] Installing py38-pyinotify-0.9.6...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [28/31] Extracting py38-pyinotify-0.9.6: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [29/31] Installing py38-msgpack-1.0.2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [29/31] Extracting py38-msgpack-1.0.2: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [30/31] Installing py38-Jinja2-2.11.2_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [30/31] Extracting py38-Jinja2-2.11.2_1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [31/31] Installing py38-salt-3003.3_1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [31/31] Extracting py38-salt-3003.3_1: .......... done
=====
Message from openpgm-5.2.122_6:

--
===>   NOTICE:

The openpgm port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from py38-urllib3-1.25.11,1:

--
Since version 1.25 HTTPS connections are now verified by default which is done
via "cert_reqs = 'CERT_REQUIRED'".  While certificate verification can be
disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on.

Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g. via
configuration settings, CLI arguments, etc.).

Yet it may happen that there are still some consumers which don't explicitly
enable/disable certificate verification for HTTPS connections which could then
lead to errors (as is often the case with self-signed certificates).

In case of an error one should try first to temporarily disable certificate
verification of the problematic urllib3 consumer to see if that approach will
remedy the issue.
=====
Message from libinotify-20180201_2:

--
Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from py38-salt-3003.3_1:

--
To configure a Salt Master, do the following:

  o Copy /usr/local/etc/salt/master.sample to /usr/local/etc/salt/master
  o Update to meet your needs
  o sysrc salt_master_enable="YES"



To configure a Salt Minion, do the following:

  o Copy /usr/local/etc/salt/minion.sample to /usr/local/etc/salt/minion
  o Update 'master: salt' to point to your Salt Master's hostname or IP
  o sysrc salt_minion_enable="YES"



To configure a Salt Proxy Minion, do the following:

  o sysrc salt_proxy_enable="YES"
  o sysrc salt_proxy_list=""
  o Update the salt_proxy_list with the proxy minion name(s)



To change the Transport method from the default option of Zeromq to either TCP or RAET:

  o Re-build the port with the desired options enabled to install the correct runtime dependencies
  o Ensure the master and minions all have salt installed with these same options and dependencies
  o Add the line 'transport: [tcp|raet]' to both the master and minion configuration files
  o Restart salt on the master and minions
Step 16: Install package git-lite
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	expat: 2.4.1
	git-lite: 2.32.0_1
	pcre2: 10.37

Number of packages to be installed: 3

The process will require 34 MiB more space.
6 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching git-lite-2.32.0_1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching expat-2.4.1.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching pcre2-10.37.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Installing expat-2.4.1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting expat-2.4.1: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Installing pcre2-10.37...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting pcre2-10.37: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Installing git-lite-2.32.0_1...
===> Creating groups.
Creating group 'git_daemon' with gid '964'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting git-lite-2.32.0_1: .......... done
=====
Message from git-lite-2.32.0_1:

--
If you installed the GITWEB option please follow these instructions:

In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.

All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
   /usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
   /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.


If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
Step 17: Install package go
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	go: 1.16.7,1

Number of packages to be installed: 1

The process will require 285 MiB more space.
74 MiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching go-1.16.7,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing go-1.16.7,1...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting go-1.16.7,1: .......... done
Step 18: Install package gmake
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	gmake: 4.3_2

Number of packages to be installed: 1

The process will require 2 MiB more space.
416 KiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching gmake-4.3_2.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing gmake-4.3_2...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting gmake-4.3_2: .......... done
Step 19: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 20: Install package nano
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nano: 5.8

Number of packages to be installed: 1

The process will require 3 MiB more space.
556 KiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching nano-5.8.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Installing nano-5.8...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting nano-5.8: .......... done
Step 21: Install package tmux
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	libevent: 2.1.12
	tmux: 3.2a

Number of packages to be installed: 2

The process will require 3 MiB more space.
710 KiB to be downloaded.
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching tmux-3.2a.txz: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching libevent-2.1.12.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Installing libevent-2.1.12...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting libevent-2.1.12: .......... done
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Installing tmux-3.2a...
[saltstack-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting tmux-3.2a: .......... done
Step 22: Clean package installation
Checking integrity... done (0 conflicting)
Nothing to do.
The following package files will be deleted:
	/var/cache/pkg/py38-openssl-20.0.1.txz
	/var/cache/pkg/readline-8.1.1~2dc4d9e3e0.txz
	/var/cache/pkg/libiconv-1.16~3b8525196b.txz
	/var/cache/pkg/py38-pycryptodomex-3.10.1~e9ef491ff9.txz
	/var/cache/pkg/py38-pyzmq-22.1.0~e8747ce35c.txz
	/var/cache/pkg/python38-3.8.10~8959742dc8.txz
	/var/cache/pkg/nano-5.8.txz
	/var/cache/pkg/py38-pytz-2021.1,1.txz
	/var/cache/pkg/libevent-2.1.12~f8c4de7486.txz
	/var/cache/pkg/go-1.16.7,1~0a5eb04d91.txz
	/var/cache/pkg/gettext-runtime-0.21.txz
	/var/cache/pkg/sudo-1.9.7p1~8ae5eb61e5.txz
	/var/cache/pkg/libxml2-2.9.12.txz
	/var/cache/pkg/openssl-1.1.1l,1.txz
	/var/cache/pkg/pcre-8.44~25574e4b27.txz
	/var/cache/pkg/libinotify-20180201_2.txz
	/var/cache/pkg/pcre2-10.37.txz
	/var/cache/pkg/py38-requests-2.25.1.txz
	/var/cache/pkg/consul-1.9.5.txz
	/var/cache/pkg/sudo-1.9.7p1.txz
	/var/cache/pkg/py38-libcloud-3.3.1~4ee8766258.txz
	/var/cache/pkg/py38-pycryptodomex-3.10.1.txz
	/var/cache/pkg/py38-markupsafe-1.1.1_1.txz
	/var/cache/pkg/jo-1.4~f48e1848f6.txz
	/var/cache/pkg/syslog-ng-3.32.1~6e1f4ba5fb.txz
	/var/cache/pkg/py38-distro-1.5.0.txz
	/var/cache/pkg/py38-cffi-1.14.5~81e9853b46.txz
	/var/cache/pkg/py38-certifi-2021.5.30.txz
	/var/cache/pkg/py38-psutil-5.8.0~fd312bed63.txz
	/var/cache/pkg/libiconv-1.16.txz
	/var/cache/pkg/pcre2-10.37~7736e099b0.txz
	/var/cache/pkg/py38-msgpack-1.0.2~c76e23b620.txz
	/var/cache/pkg/py38-certifi-2021.5.30~3ea06439df.txz
	/var/cache/pkg/nano-5.8~87a6c85c05.txz
	/var/cache/pkg/libxml2-2.9.12~87730d2e6c.txz
	/var/cache/pkg/libffi-3.3_1~27d92ddc78.txz
	/var/cache/pkg/py38-cryptography-3.3.2.txz
	/var/cache/pkg/py38-Jinja2-2.11.2_1.txz
	/var/cache/pkg/openpgm-5.2.122_6.txz
	/var/cache/pkg/e2fsprogs-libuuid-1.46.4~751dc46968.txz
	/var/cache/pkg/py38-chardet-4.0.0,1.txz
	/var/cache/pkg/libnghttp2-1.43.0.txz
	/var/cache/pkg/jq-1.6~5d4b2e9711.txz
	/var/cache/pkg/py38-salt-3003.3_1.txz
	/var/cache/pkg/py38-urllib3-1.25.11,1~49447edef8.txz
	/var/cache/pkg/node_exporter-1.1.2.txz
	/var/cache/pkg/oniguruma-6.9.7.1~d4943aa0a1.txz
	/var/cache/pkg/git-lite-2.32.0_1.txz
	/var/cache/pkg/py38-salt-3003.3_1~8266c5f453.txz
	/var/cache/pkg/py38-pycparser-2.20~3f74cca89d.txz
	/var/cache/pkg/py38-requests-2.25.1~0e2bc31c86.txz
	/var/cache/pkg/openpgm-5.2.122_6~f6162d1a25.txz
	/var/cache/pkg/expat-2.4.1.txz
	/var/cache/pkg/py38-openssl-20.0.1~7a53cf701f.txz
	/var/cache/pkg/tmux-3.2a~de9b14c31c.txz
	/var/cache/pkg/indexinfo-0.3.1~222426c854.txz
	/var/cache/pkg/py38-Babel-2.9.1~f33170ebfd.txz
	/var/cache/pkg/expat-2.4.1~1181ed1c26.txz
	/var/cache/pkg/ca_root_nss-3.63~a88f7b64ab.txz
	/var/cache/pkg/curl-7.78.0~4cace95162.txz
	/var/cache/pkg/py38-msgpack-1.0.2.txz
	/var/cache/pkg/py38-six-1.16.0~c37b559434.txz
	/var/cache/pkg/py38-pycparser-2.20.txz
	/var/cache/pkg/gmake-4.3_2~df50b67573.txz
	/var/cache/pkg/jq-1.6.txz
	/var/cache/pkg/py38-Babel-2.9.1.txz
	/var/cache/pkg/py38-distro-1.5.0~cc639ff2df.txz
	/var/cache/pkg/py38-yaml-5.4.1~6566d535e1.txz
	/var/cache/pkg/node_exporter-1.1.2~ee4b6a019c.txz
	/var/cache/pkg/py38-pysocks-1.7.1.txz
	/var/cache/pkg/py38-setuptools-57.0.0~5bc6c1b61b.txz
	/var/cache/pkg/norm-1.5r6_1.txz
	/var/cache/pkg/consul-1.9.5~19366b72a6.txz
	/var/cache/pkg/norm-1.5r6_1~a5e53610b9.txz
	/var/cache/pkg/py38-idna-2.10~f9f563316a.txz
	/var/cache/pkg/libyaml-0.2.5~0a173988c2.txz
	/var/cache/pkg/py38-pyzmq-22.1.0.txz
	/var/cache/pkg/tmux-3.2a.txz
	/var/cache/pkg/python38-3.8.10.txz
	/var/cache/pkg/mpdecimal-2.5.1~8564ebe5a9.txz
	/var/cache/pkg/libzmq4-4.3.4.txz
	/var/cache/pkg/libffi-3.3_1.txz
	/var/cache/pkg/py38-psutil-5.8.0.txz
	/var/cache/pkg/py38-progressbar-2.5~27509be428.txz
	/var/cache/pkg/py38-pyinotify-0.9.6.txz
	/var/cache/pkg/py38-setuptools-57.0.0.txz
	/var/cache/pkg/glib-2.66.8,2.txz
	/var/cache/pkg/curl-7.78.0.txz
	/var/cache/pkg/py38-pysocks-1.7.1~01059c4726.txz
	/var/cache/pkg/e2fsprogs-libuuid-1.46.4.txz
	/var/cache/pkg/indexinfo-0.3.1.txz
	/var/cache/pkg/py38-idna-2.10.txz
	/var/cache/pkg/mpdecimal-2.5.1.txz
	/var/cache/pkg/glib-2.66.8,2~b949106ee4.txz
	/var/cache/pkg/syslog-ng-3.32.1.txz
	/var/cache/pkg/py38-libcloud-3.3.1.txz
	/var/cache/pkg/py38-cryptography-3.3.2~fefd927a12.txz
	/var/cache/pkg/ca_root_nss-3.63.txz
	/var/cache/pkg/libevent-2.1.12.txz
	/var/cache/pkg/py38-pyinotify-0.9.6~c1fb903596.txz
	/var/cache/pkg/py38-pytz-2021.1,1~a232d13feb.txz
	/var/cache/pkg/json-c-0.15_1~9c2cd10d1b.txz
	/var/cache/pkg/py38-markupsafe-1.1.1_1~bd9c49ec47.txz
	/var/cache/pkg/py38-urllib3-1.25.11,1.txz
	/var/cache/pkg/gettext-runtime-0.21~e9d9b87fa7.txz
	/var/cache/pkg/libinotify-20180201_2~d01754ae35.txz
	/var/cache/pkg/openssl-1.1.1l,1~0c99739f09.txz
	/var/cache/pkg/oniguruma-6.9.7.1.txz
	/var/cache/pkg/libzmq4-4.3.4~6a59bb96f4.txz
	/var/cache/pkg/py38-Jinja2-2.11.2_1~063c86be73.txz
	/var/cache/pkg/jo-1.4.txz
	/var/cache/pkg/readline-8.1.1.txz
	/var/cache/pkg/libyaml-0.2.5.txz
	/var/cache/pkg/pcre-8.44.txz
	/var/cache/pkg/py38-chardet-4.0.0,1~57207692fa.txz
	/var/cache/pkg/py38-yaml-5.4.1.txz
	/var/cache/pkg/py38-progressbar-2.5.txz
	/var/cache/pkg/git-lite-2.32.0_1~4d2104a08d.txz
	/var/cache/pkg/py38-cffi-1.14.5.txz
	/var/cache/pkg/json-c-0.15_1.txz
	/var/cache/pkg/go-1.16.7,1.txz
	/var/cache/pkg/py38-six-1.16.0.txz
	/var/cache/pkg/gmake-4.3_2.txz
	/var/cache/pkg/libnghttp2-1.43.0~dbe0ca29ea.txz
The cleanup will free 168 MiB
Deleting files: .......... done
All done
Step 23: Remove pre-existing cook script (if any)
Step 24: Create cook script
Step 25: Make cook script executable
setting executable bit on /usr/local/bin/cook
Step 26: Create rc.d script to start cook
creating rc.d script to start cook
Step 27: Make rc.d script to start cook executable
Setting executable bit on cook rc file
Step 28: Enable cook service
enabling cook
cook enabled in /etc/rc.conf
=====>  Stop the pot saltstack-amd64-13_0
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/tmp
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-13_0/m/dev
=====>  Flavour: saltstack+1
=====>  Executing saltstack+1 pot commands on saltstack-amd64-13_0
=====>  No shell script available for the flavour saltstack+1
=====>  Flavour: saltstack+2
=====>  Executing saltstack+2 pot commands on saltstack-amd64-13_0
=====>  No shell script available for the flavour saltstack+2
=====>  Flavour: saltstack+3
=====>  Executing saltstack+3 pot commands on saltstack-amd64-13_0
=====>  No shell script available for the flavour saltstack+3
=====>  Flavour: saltstack+4
=====>  Executing saltstack+4 pot commands on saltstack-amd64-13_0
=====>  No shell script available for the flavour saltstack+4

saltstack-amd64-12_2_0.0.3:


saltstack/saltstack:
copy-in -s /usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf -d /root
copy-in -s /usr/local/etc/pot/flavours/saltstack.d/master.cfg -d /root
saltstack/saltstack.sh:
#!/bin/sh

# Based on POTLUCK TEMPLATE v3.0
# Altered by Michael Gmelin
#
# EDIT THE FOLLOWING FOR NEW FLAVOUR:
# 1. RUNS_IN_NOMAD - true or false
# 2. If RUNS_IN_NOMAD is false, can delete the <flavour>+4 file, else
#    make sure pot create command doesn't include it
# 3. Create a matching <flavour> file with this <flavour>.sh file that
#    contains the copy-in commands for the config files from <flavour>.d/
#    Remember that the package directories don't exist yet, so likely copy
#    to /root
# 4. Adjust package installation between BEGIN & END PACKAGE SETUP
# 5. Adjust jail configuration script generation between BEGIN & END COOK
#    Configure the config files that have been copied in where necessary

# Set this to true if this jail flavour is to be created as a nomad (i.e. blocking) jail.
# You can then query it in the cook script generation below and the script is installed
# appropriately at the end of this script
RUNS_IN_NOMAD=false

# set the cook log path/filename
COOKLOG=/var/log/cook.log

# check if cooklog exists, create it if not
if [ ! -e $COOKLOG ]
then
    echo "Creating $COOKLOG" | tee -a $COOKLOG
else
    echo "WARNING $COOKLOG already exists"  | tee -a $COOKLOG
fi
date >> $COOKLOG

# -------------------- COMMON ---------------

STEPCOUNT=0
step() {
  STEPCOUNT=$(expr "$STEPCOUNT" + 1)
  STEP="$@"
  echo "Step $STEPCOUNT: $STEP" | tee -a $COOKLOG
}

exit_ok() {
  trap - EXIT
  exit 0
}

FAILED=" failed"
exit_error() {
  STEP="$@"
  FAILED=""
  exit 1
}

set -e
trap 'echo ERROR: $STEP$FAILED | (>&2 tee -a $COOKLOG)' EXIT

# -------------- BEGIN PACKAGE SETUP -------------

step "Bootstrap package repo"
mkdir -p /usr/local/etc/pkg/repos
#echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' \
echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly" }' \
  >/usr/local/etc/pkg/repos/FreeBSD.conf
ASSUME_ALWAYS_YES=yes pkg bootstrap

step "Touch /etc/rc.conf"
touch /etc/rc.conf

# this is important, otherwise running /etc/rc from cook will
# overwrite the IP address set in tinirc
step "Remove ifconfig_epair0b from config"
sysrc -cq ifconfig_epair0b && sysrc -x ifconfig_epair0b || true

step "Disable sendmail"
service sendmail onedisable

step "Enable SSH"
sysrc sshd_enable="YES"

step "Create /usr/local/etc/rc.d"
mkdir -p /usr/local/etc/rc.d

# we need consul for consul agent
step "Install package consul"
pkg install -y consul

step "Install package sudo"
pkg install -y sudo

step "Install package node_exporter"
pkg install -y node_exporter

step "Install package jq"
pkg install -y jq

step "Install package jo"
pkg install -y jo

step "Install package curl"
pkg install -y curl

step "Install package openssl"
pkg install -y openssl

step "Install package syslog-ng"
pkg install -y syslog-ng

step "Install package py38-salt"
pkg install -y py38-salt

step "Install package git-lite"
pkg install -y git-lite

step "Install package go"
pkg install -y go

step "Install package gmake"
pkg install -y gmake

step "Install package curl"
pkg install -y curl

step "Install package nano"
pkg install -y nano

step "Install package tmux"
pkg install -y tmux

step "Clean package installation"
pkg autoremove -y
pkg clean -y

# -------------- END PACKAGE SETUP -------------

#
# Create configurations
#

#
# Now generate the run command script "cook"
# It configures the system on the first run by creating the config file(s)
# On subsequent runs, it only starts sleeps (if nomad-jail) or simply exits
#

# clear any old cook runtime file
step "Remove pre-existing cook script (if any)"
rm -f /usr/local/bin/cook

# this runs when image boots
# ----------------- BEGIN COOK ------------------

step "Create cook script"
echo "#!/bin/sh
RUNS_IN_NOMAD=$RUNS_IN_NOMAD
# declare this again for the pot image, might work carrying variable through like
# with above
COOKLOG=/var/log/cook.log
# No need to change this, just ensures configuration is done only once
if [ -e /usr/local/etc/pot-is-seasoned ]
then
    # If this pot flavour is blocking (i.e. it should not return),
    # we block indefinitely
    if [ \"\$RUNS_IN_NOMAD\" = \"true\" ]
    then
        /bin/sh /etc/rc
        tail -f /dev/null
    fi
    exit 0
fi

# ADJUST THIS: STOP SERVICES AS NEEDED BEFORE CONFIGURATION

# No need to adjust this:
# If this pot flavour is not blocking, we need to read the environment first from /tmp/environment.sh
# where pot is storing it in this case
if [ -e /tmp/environment.sh ]
then
    . /tmp/environment.sh
fi

#
# ADJUST THIS BY CHECKING FOR ALL VARIABLES YOUR FLAVOUR NEEDS:
#

# Check config variables are set
#
# datacenter check
if [ -z \${DATACENTER+x} ]; then
    echo 'DATACENTER is unset - see documentation to configure this flavour with the datacenter name.'
    exit 1
fi
# nodename check
if [ -z \${NODENAME+x} ];
then
    echo 'NODENAME is unset - see documentation to configure this flavour with a name for this node.'
    exit 1
fi
# IP address check
if [ -z \${IP+x} ]; then
    echo 'IP is unset - see documentation to configure this flavour for an IP address.'
    exit 1
fi
# enable consul check
if [ -z \${ENABLECONSUL+x} ];
then
    echo 'ENABLECONSUL is unset - please pass in 1 to enable consul or 0 to disable consul setup. Defaulting to 0. If enabled you must pass in a list of consul servers.'
    ENABLECONSUL=0
fi
# consul check
if [ -z \${CONSULSERVERS+x} ] && [ \$ENABLECONSUL != 0 ];
then
    echo 'CONSULSERVERS is unset - please pass in one or more correctly-quoted, comma-separated addresses for consul peer IPs. Refer to documentation.'
    exit 1
fi
# GOSSIPKEY is a 32 byte, Base64 encoded key generated with consul keygen for the consul flavour.
# Re-used for nomad, which is usually 16 byte key but supports 32 byte, Base64 encoded keys
# We'll re-use the one from the consul flavour
if [ -z \${GOSSIPKEY+x} ];
then
    echo 'GOSSIPKEY is unset - see documentation how to configure this flavour, defaulting to preset encrypt key. Do not use this in production!'
    GOSSIPKEY='BY+vavBUSEmNzmxxS3k3bmVFn1giS4uEudc774nBhIw='
fi
# SSHUSER credentials check
if [ -z \${SSHUSER+x} ];
then
    echo 'SSHUSER is unset - please provide a username to use for the SSH user.'
    exit 1
fi
# SSHPORT credentials check
if [ -z \${SSHPORT+x} ];
then
    echo 'SSHPORT is unset - please provide a port number for SSH. Default for this pot image is 7777.'
    SSHPORT=7777
fi
# PKIPATH check
if [ -z \${PKIPATH+x} ];
then
    echo 'PKIPATH is unset - please provide a path for mounted in persistent storage to use for salt PKI files.'
    exit 1
fi
# STATEPATH check
if [ -z \${STATEPATH+x} ];
then
    echo 'STATEPATH is unset - please provide a path for mounted in persistent storage to use for salt state files.'
    exit 1
fi
# PILLARPATH check
if [ -z \${PILLARPATH+x} ];
then
    echo 'PILLARPATH is unset - please provide a path for mounted in persistent storage to use for salt pillar files.'
    exit 1
fi
# optional logging to remote syslog server check
if [ -z \${REMOTELOG+x} ];
then
    echo 'REMOTELOG is unset - please provide the IP address of a loki server, or set a null value.'
    REMOTELOG=\"null\"
fi

# ADJUST THIS BELOW: NOW ALL THE CONFIGURATION FILES NEED TO BE CREATED:
# Don't forget to double(!)-escape quotes and dollar signs in the config files

# setup directories for salt usage
mkdir -p /mnt/salt/pki/master
mkdir -p /mnt/salt/state
mkdir -p /mnt/salt/pillar
mkdir -p /mnt/home

## start ssh setup

# begin SSHUSER configuration
echo \"Setting up custom ssh parameters\"

echo \"Port \$SSHPORT
PubkeyAuthentication yes
AuthorizedKeysFile       .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
StrictModes no
UseDNS no
Banner none
#LogLevel DEBUG
AllowAgentForwarding yes
PermitTTY yes
#AllowUsers \$SSHUSER
#Match User \$SSHUSER
#  ChrootDirectory /dir-name
#  X11Forwarding no
#  AllowTcpForwarding no
#  ForceCommand internal-sftp
\" >> /etc/ssh/sshd_config

# setup host keys
echo \"Manually setting up host keys\"
cd /etc/ssh
/usr/bin/ssh-keygen -A
cd /

# setup a user
/usr/sbin/pw useradd -n \$SSHUSER -c 'ssh user' -d /mnt/home/\$SSHUSER -G wheel -m -s /bin/sh -h -

# setup user ssh key to be exported for use elsewhere
echo \"Setting up \$SSHUSER ssh keys\"
mkdir -p /mnt/home/\$SSHUSER/.ssh
/usr/bin/ssh-keygen -q -N '' -f /mnt/home/\$SSHUSER/.ssh/id_rsa -t rsa
chmod 700 /mnt/home/\$SSHUSER/.ssh
cat /mnt/home/\$SSHUSER/.ssh/id_rsa.pub > /mnt/home/\$SSHUSER/.ssh/authorized_keys
chmod 700 /mnt/home/\$SSHUSER/.ssh
chmod 600 /mnt/home/\$SSHUSER/.ssh/id_rsa
chmod 644 /mnt/home/\$SSHUSER/.ssh/authorized_keys
chown \$SSHUSER:wheel /mnt/home/\$SSHUSER/.ssh

# restart ssh
echo \"Restarting ssh\"
/etc/rc.d/sshd restart

## end ssh setup

## start remote logging setup

# optional remote logging
if [ ! -z \$REMOTELOG ] && [ \$REMOTELOG != \"null\" ]; then
    if [ -f /root/syslog-ng.conf ]; then
        /usr/bin/sed -i .orig \"s/REMOTELOGIP/\$REMOTELOG/g\" /root/syslog-ng.conf
        cp -f /root/syslog-ng.conf /usr/local/etc/syslog-ng.conf
        # stop syslogd
        service syslogd onestop || true
        # setup sysrc entries to start and set parameters to accept logs from remote subnet
        sysrc syslogd_enable=\"NO\"
        sysrc syslog_ng_enable=\"YES\"
        #sysrc syslog_ng_flags=\"-u daemon\"
        sysrc syslog_ng_flags=\"-R /tmp/syslog-ng.persist\"
        service syslog-ng start
        echo \"syslog-ng setup complete\"
    else
        echo \"/root/syslog-ng.conf is missing?\"
    fi
else
    echo \"REMOTELOG parameter is not set to an IP address. syslog-ng won't operate.\"
fi

## end remote logging setup

## start consul setup

if [ \$ENABLECONSUL = 1 ]; then
    # make consul configuration directory and set permissions
    mkdir -p /usr/local/etc/consul.d
    chown consul /usr/local/etc/consul.d
    chmod 750 /usr/local/etc/consul.d

    # Create the consul agent config file with imported variables
    echo \"{
\\\"advertise_addr\\\": \\\"\$IP\\\",
\\\"datacenter\\\": \\\"\$DATACENTER\\\",
\\\"node_name\\\": \\\"\$NODENAME\\\",
\\\"data_dir\\\":  \\\"/var/db/consul\\\",
\\\"dns_config\\\": {
  \\\"a_record_limit\\\": 3,
  \\\"enable_truncate\\\": true
},
\\\"verify_incoming\\\": false,
\\\"verify_outgoing\\\": false,
\\\"verify_server_hostname\\\": false,
\\\"verify_incoming_rpc\\\": false,
\\\"log_file\\\": \\\"/var/log/consul/\\\",
\\\"log_level\\\": \\\"WARN\\\",
\\\"encrypt\\\": \\\"\$GOSSIPKEY\\\",
\\\"start_join\\\": [ \$CONSULSERVERS ],
\\\"service\\\": {
  \\\"name\\\": \\\"node-exporter\\\",
  \\\"tags\\\": [\\\"_app=saltstack\\\", \\\"_service=node-exporter\\\", \\\"_hostname=\$NODENAME\\\"],
  \\\"port\\\": 9100
}
}\" | (umask 177; cat > /usr/local/etc/consul.d/agent.json)

    # set owner and perms on _directory_ /usr/local/etc/consul.d with agent.json
    chown -R consul:wheel /usr/local/etc/consul.d/
    #chmod 640 /usr/local/etc/consul.d/agent.json

    # enable consul
    service consul enable

    # set load parameter for consul config
    sysrc consul_args=\"-config-file=/usr/local/etc/consul.d/agent.json\"
    # not needed
    #sysrc consul_datadir=\"/var/db/consul\"
    #sysrc consul_group=\"wheel\"

    # setup consul logs, might be redundant if not specified in agent.json above
    mkdir -p /var/log/consul
    touch /var/log/consul/consul.log
    chown -R consul:wheel /var/log/consul

    # add the consul user to the wheel group, this is old behaviour and may be fixed
    /usr/sbin/pw usermod consul -G wheel

    # start consul agent
    service consul start

    ## end consul setup

    ## start node exporter setup

    ## DISABLED as not using TLS
    ## node exporter needs tls setup
    ##echo \"tls_server_config:
    ##  cert_file: /mnt/certs/cert.pem
    ##  key_file: /mnt/certs/key.pem
    ##\" > /usr/local/etc/node-exporter.yml

    ## replacement to above disabled bit with empty file
    touch /usr/local/etc/node-exporter.yml

    # add node_exporter user
    /usr/sbin/pw useradd -n nodeexport -c 'nodeexporter user' -m -s /usr/bin/nologin -h -

    # enable node_exporter service
    service node_exporter enable
    sysrc node_exporter_args=\"--web.config=/usr/local/etc/node-exporter.yml\"
    sysrc node_exporter_user=nodeexport
    sysrc node_exporter_group=nodeexport

    # start node_exporter
    service node_exporter start

    ## end node exporter setup
else
    echo \"Consul is not being enabled.\"
fi
## end consul optional

## start saltstack setup

# check if copied in file exists, and make path changes from variables
if [ -f /root/master.cfg ]; then
    # set the PKIPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|PKIPATH|'\$PKIPATH'|g' /root/master.cfg
    # set the STATEPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|STATEPATH|'\$STATEPATH'|g' /root/master.cfg
    # set the PILLARPATH placeholder to the passed in mounted path for persistent storage
    /usr/bin/sed -i .orig 's|PILLARPATH|'\$PILLARPATH'|g' /root/master.cfg
    # copy to /usr/local/etc/salt
    cp -f /root/master.cfg /usr/local/etc/salt/master
fi

# check for copied in master.pem and master.pub and copy to PKIPATH location, overwriting any keys there
if [ -f /root/master.pem ]; then
    # backup existing key and set destination to readwrite
    if [ -f \$PKIPATH/master.pem ]; then
        cp -f \$PKIPATH/master.pem \$PKIPATH/master.pem.old
        chmod 400 \$PKIPATH/master.pem.old
        chmod 600 \$PKIPATH/master.pem
    fi
    # copy key over
    cp -f /root/master.pem \$PKIPATH/master.pem
    # set destination to read only
    chmod 400 \$PKIPATH/master.pem
else
    echo \"There is no master.pem file to copy into salt\"
fi

# copy over pubkey
if [ -f /root/master.pub ]; then
    if [ -f \$PKIPATH/master.pub ]; then
        cp -f \$PKIPATH/master.pub \$PKIPATH/master.pub.old
    fi
    cp -f /root/master.pub \$PKIPATH/master.pub
    chmod 644 \$PKIPATH/master.pub
else
    echo \"There is no master.pub file to copy into salt\"
fi
# make sure ownership is correct
chown root:wheel \$PKIPATH

# enable salt master
service salt_master enable

# start salt master service
service salt_master start

## end saltstack setup

## notice
echo \"================================================================\"
echo \" Copy out /mnt/home/\$SSHUSER/.ssh/id_rsa to use as SSH private \"
echo \"            key for remote access without password.             \"
echo \"================================================================\"


# ADJUST THIS: START THE SERVICES AGAIN AFTER CONFIGURATION

# Do not touch this:
touch /usr/local/etc/pot-is-seasoned

# If this pot flavour is blocking (i.e. it should not return), there is no /tmp/environment.sh
# created by pot and we now after configuration block indefinitely
if [ \"\$RUNS_IN_NOMAD\" = \"true\" ]
then
    /bin/sh /etc/rc
    tail -f /dev/null
fi
" > /usr/local/bin/cook

# ----------------- END COOK ------------------


# ---------- NO NEED TO EDIT BELOW ------------

step "Make cook script executable"
if [ -e /usr/local/bin/cook ]
then
    echo "setting executable bit on /usr/local/bin/cook" | tee -a $COOKLOG
    chmod u+x /usr/local/bin/cook
else
    exit_error "there is no /usr/local/bin/cook to make executable"
fi

#
# There are two ways of running a pot jail: "Normal", non-blocking mode and
# "Nomad", i.e. blocking mode (the pot start command does not return until
# the jail is stopped).
# For the normal mode, we create a /usr/local/etc/rc.d script that starts
# the "cook" script generated above each time, for the "Nomad" mode, the cook
# script is started by pot (configuration through flavour file), therefore
# we do not need to do anything here.
#

# Create rc.d script for "normal" mode:
step "Create rc.d script to start cook"
echo "creating rc.d script to start cook" | tee -a $COOKLOG

echo "#!/bin/sh
#
# PROVIDE: cook
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
. /etc/rc.subr
name=\"cook\"
rcvar=\"cook_enable\"
load_rc_config \$name
: \${cook_enable:=\"NO\"}
: \${cook_env:=\"\"}
command=\"/usr/local/bin/cook\"
command_args=\"\"
run_rc_command \"\$1\"
" > /usr/local/etc/rc.d/cook

step "Make rc.d script to start cook executable"
if [ -e /usr/local/etc/rc.d/cook ]
then
  echo "Setting executable bit on cook rc file" | tee -a $COOKLOG
  chmod u+x /usr/local/etc/rc.d/cook
else
  exit_error "/usr/local/etc/rc.d/cook does not exist"
fi

if [ "$RUNS_IN_NOMAD" != "true" ]
then
  step "Enable cook service"
  # This is a non-nomad (non-blocking) jail, so we need to make sure the script
  # gets started when the jail is started:
  # Otherwise, /usr/local/bin/cook will be set as start script by the pot flavour
  echo "enabling cook" | tee -a $COOKLOG
  service cook enable
fi

# -------------------- DONE ---------------
exit_ok

saltstack/saltstack+1:
saltstack/saltstack+1.sh:

saltstack/saltstack+2:
saltstack/saltstack+2.sh:

saltstack/saltstack+3:
saltstack/saltstack+3.sh:

saltstack/saltstack+4:
saltstack/saltstack+4.sh:
Password:===>  Creating a new pot
===>  pot name : saltstack-amd64-12_2
===>  type : single
===>  base : 12.2
===>  pot_base :
===>  level : 0
===>  network-type : public-bridge
===>  network-stack: ipv4
===>  ip : 10.192.0.4
===>  bridge :
===>  dns : inherit
===>  flavours : fbsd-update saltstack saltstack+1 saltstack+2 saltstack+3 saltstack+4
===>  Fetching FreeBSD 12.2
===>  Extract the tarball
=====>  Flavour: fbsd-update
=====>  Starting saltstack-amd64-12_2 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
defaultrouter: NO -> 10.192.0.1
===>  Starting the pot saltstack-amd64-12_2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:0d:6a:93:36:0b
	inet 10.192.0.4 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Fri Sep 10 22:01:09 UTC 2021
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp/fbsd-update.sh
=====>  Executing fbsd-update script on saltstack-amd64-12_2
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 12.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 88 patches.....10....20....30....40....50....60....70....80.... done.
Applying patches... done.
Fetching 1 files...  done.
The following files will be removed as part of updating to
12.2-RELEASE-p10:
/etc/ssl/certs/2c543cd1.0
/etc/ssl/certs/2e4eed3c.0
/etc/ssl/certs/480720ec.0
/etc/ssl/certs/7d0b38bd.0
/etc/ssl/certs/8867006a.0
/etc/ssl/certs/ad088e1d.0
/etc/ssl/certs/b204d74a.0
/etc/ssl/certs/ba89ed3b.0
/etc/ssl/certs/c089bbbd.0
/etc/ssl/certs/e2799e36.0
/usr/share/certs/trusted/GeoTrust_Global_CA.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/trusted/GeoTrust_Universal_CA.pem
/usr/share/certs/trusted/GeoTrust_Universal_CA_2.pem
/usr/share/certs/trusted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
/usr/share/certs/trusted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA_-_G2.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA_-_G3.pem
The following files will be added as part of updating to
12.2-RELEASE-p10:
/etc/ssl/blacklisted/2c543cd1.0
/etc/ssl/blacklisted/2e4eed3c.0
/etc/ssl/blacklisted/480720ec.0
/etc/ssl/blacklisted/7d0b38bd.0
/etc/ssl/blacklisted/8867006a.0
/etc/ssl/blacklisted/ad088e1d.0
/etc/ssl/blacklisted/b204d74a.0
/etc/ssl/blacklisted/ba89ed3b.0
/etc/ssl/blacklisted/c089bbbd.0
/etc/ssl/blacklisted/e2799e36.0
/etc/ssl/certs/3fb36b73.0
/usr/share/certs/blacklisted/GeoTrust_Global_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA_2.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G2.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G3.pem
/usr/share/certs/trusted/NAVER_Global_Root_Certification_Authority.pem
The following files will be updated as part of updating to
12.2-RELEASE-p10:
/bin/freebsd-version
/lib/libcasper.so.1
/lib/libcrypto.so.111
/lib/libzfs.so.3
/lib/libzfs_core.so.2
/lib/libzpool.so.2
/rescue/[
/rescue/bectl
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/unzstd
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/rescue/zstd
/rescue/zstdcat
/rescue/zstdmt
/sbin/ggatec
/sbin/ipfw
/sbin/rtsol
/sbin/zpool
/usr/bin/lldb
/usr/bin/openssl
/usr/bin/zinject
/usr/bin/ztest
/usr/include/net/if_var.h
/usr/include/openssl/asn1err.h
/usr/include/openssl/evperr.h
/usr/include/openssl/opensslv.h
/usr/include/sys/filedesc.h
/usr/include/sys/jail.h
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libfetch.a
/usr/lib/libfetch.so.6
/usr/lib/libfetch_p.a
/usr/lib/libpam.a
/usr/lib/libradius.a
/usr/lib/libradius.so.4
/usr/lib/libradius_p.a
/usr/lib/libssl.a
/usr/lib/libssl.so.111
/usr/lib/libssl_p.a
/usr/lib/libzfs.a
/usr/lib/libzfs_core.a
/usr/lib/libzfs_core_p.a
/usr/lib/libzfs_p.a
/usr/lib/libzpool.a
/usr/lib/pam_login_access.so.6
/usr/sbin/bhyve
/usr/sbin/freebsd-update
/usr/sbin/hostapd
/usr/sbin/ntp-keygen
/usr/sbin/rtsold
/usr/sbin/wpa_cli
/usr/sbin/wpa_supplicant
/usr/sbin/zdb
/usr/sbin/zfsd
/usr/sbin/zhack
/usr/share/man/man2/jail.2.gz
/usr/share/man/man2/jail_attach.2.gz
/usr/share/man/man2/jail_get.2.gz
/usr/share/man/man2/jail_remove.2.gz
/usr/share/man/man2/jail_set.2.gz
/usr/share/zoneinfo/Africa/Accra
/usr/share/zoneinfo/Africa/Addis_Ababa
/usr/share/zoneinfo/Africa/Algiers
/usr/share/zoneinfo/Africa/Asmara
/usr/share/zoneinfo/Africa/Asmera
/usr/share/zoneinfo/Africa/Bangui
/usr/share/zoneinfo/Africa/Brazzaville
/usr/share/zoneinfo/Africa/Casablanca
/usr/share/zoneinfo/Africa/Dar_es_Salaam
/usr/share/zoneinfo/Africa/Djibouti
/usr/share/zoneinfo/Africa/Douala
/usr/share/zoneinfo/Africa/El_Aaiun
/usr/share/zoneinfo/Africa/Juba
/usr/share/zoneinfo/Africa/Kampala
/usr/share/zoneinfo/Africa/Kinshasa
/usr/share/zoneinfo/Africa/Lagos
/usr/share/zoneinfo/Africa/Libreville
/usr/share/zoneinfo/Africa/Luanda
/usr/share/zoneinfo/Africa/Malabo
/usr/share/zoneinfo/Africa/Mogadishu
/usr/share/zoneinfo/Africa/Nairobi
/usr/share/zoneinfo/Africa/Niamey
/usr/share/zoneinfo/Africa/Porto-Novo
/usr/share/zoneinfo/America/Belize
/usr/share/zoneinfo/America/Dawson
/usr/share/zoneinfo/America/Grand_Turk
/usr/share/zoneinfo/America/Nassau
/usr/share/zoneinfo/America/Whitehorse
/usr/share/zoneinfo/Antarctica/Casey
/usr/share/zoneinfo/Antarctica/Macquarie
/usr/share/zoneinfo/Asia/Gaza
/usr/share/zoneinfo/Asia/Hebron
/usr/share/zoneinfo/Asia/Jerusalem
/usr/share/zoneinfo/Asia/Tel_Aviv
/usr/share/zoneinfo/Atlantic/Bermuda
/usr/share/zoneinfo/Australia/ACT
/usr/share/zoneinfo/Australia/Adelaide
/usr/share/zoneinfo/Australia/Brisbane
/usr/share/zoneinfo/Australia/Broken_Hill
/usr/share/zoneinfo/Australia/Canberra
/usr/share/zoneinfo/Australia/Currie
/usr/share/zoneinfo/Australia/Darwin
/usr/share/zoneinfo/Australia/Eucla
/usr/share/zoneinfo/Australia/Hobart
/usr/share/zoneinfo/Australia/Lindeman
/usr/share/zoneinfo/Australia/Melbourne
/usr/share/zoneinfo/Australia/NSW
/usr/share/zoneinfo/Australia/North
/usr/share/zoneinfo/Australia/Perth
/usr/share/zoneinfo/Australia/Queensland
/usr/share/zoneinfo/Australia/South
/usr/share/zoneinfo/Australia/Sydney
/usr/share/zoneinfo/Australia/Tasmania
/usr/share/zoneinfo/Australia/Victoria
/usr/share/zoneinfo/Australia/West
/usr/share/zoneinfo/Australia/Yancowinna
/usr/share/zoneinfo/Canada/Yukon
/usr/share/zoneinfo/Europe/Budapest
/usr/share/zoneinfo/Europe/Monaco
/usr/share/zoneinfo/Europe/Paris
/usr/share/zoneinfo/Europe/Volgograd
/usr/share/zoneinfo/Indian/Antananarivo
/usr/share/zoneinfo/Indian/Comoro
/usr/share/zoneinfo/Indian/Mahe
/usr/share/zoneinfo/Indian/Mayotte
/usr/share/zoneinfo/Israel
/usr/share/zoneinfo/Pacific/Efate
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/zone.tab
/usr/share/zoneinfo/zone1970.tab
Installing updates...Scanning //usr/share/certs/blacklisted for certificates...
Scanning //usr/share/certs/trusted for certificates...
 done.
=====>  Stop the pot saltstack-amd64-12_2
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/dev
=====>  Flavour: saltstack
=====>  Executing saltstack pot commands on saltstack-amd64-12_2
=====>  mount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
/usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf -> /mnt/data/pot/jails/saltstack-amd64-12_2/m/root/syslog-ng.conf
=====>  Source /usr/local/etc/pot/flavours/saltstack.d/syslog-ng.conf copied in the pot saltstack-amd64-12_2
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
=====>  /mnt/data/pot/jails/saltstack-amd64-12_2/m/dev is already unmounted
=====>  mount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
/usr/local/etc/pot/flavours/saltstack.d/master.cfg -> /mnt/data/pot/jails/saltstack-amd64-12_2/m/root/master.cfg
=====>  Source /usr/local/etc/pot/flavours/saltstack.d/master.cfg copied in the pot saltstack-amd64-12_2
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
=====>  /mnt/data/pot/jails/saltstack-amd64-12_2/m/dev is already unmounted
=====>  Starting saltstack-amd64-12_2 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===>  Starting the pot saltstack-amd64-12_2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:ca:02:d1:d3:0b
	inet 10.192.0.4 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Fri Sep 10 22:02:20 UTC 2021
/usr/local/etc/pot/flavours/saltstack.sh -> /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp/saltstack.sh
=====>  Executing saltstack script on saltstack-amd64-12_2
Creating /var/log/cook.log
Step 1: Bootstrap package repo
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Installing pkg-1.16.3...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Extracting pkg-1.16.3: .......... done
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
Step 2: Touch /etc/rc.conf
Step 3: Remove ifconfig_epair0b from config
Step 4: Disable sendmail
sendmail disabled in /etc/rc.conf
sendmail_submit disabled in /etc/rc.conf
sendmail_msp_queue disabled in /etc/rc.conf
Step 5: Enable SSH
sshd_enable: NO -> YES
Step 6: Create /usr/local/etc/rc.d
Step 7: Install package consul
Updating FreeBSD repository catalogue...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Fetching meta.conf: . done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Fetching packagesite.txz: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 30850 packages processed.
All repositories are up to date.
Updating database digests format: . done
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	consul: 1.9.5

Number of packages to be installed: 1

The process will require 78 MiB more space.
27 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching consul-1.9.5.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing consul-1.9.5...
===> Creating groups.
Creating group 'consul' with gid '469'.
===> Creating users
Creating user 'consul' with uid '469'.
===> Creating homedir(s)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting consul-1.9.5: ..... done
Step 8: Install package sudo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	gettext-runtime: 0.21
	indexinfo: 0.3.1
	sudo: 1.9.7p1

Number of packages to be installed: 3

The process will require 7 MiB more space.
2 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching sudo-1.9.7p1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching gettext-runtime-0.21.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching indexinfo-0.3.1.txz: . done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Installing indexinfo-0.3.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting indexinfo-0.3.1: .... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Installing gettext-runtime-0.21...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting gettext-runtime-0.21: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Installing sudo-1.9.7p1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting sudo-1.9.7p1: .......... done
Step 9: Install package node_exporter
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	node_exporter: 1.1.2

Number of packages to be installed: 1

The process will require 11 MiB more space.
3 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching node_exporter-1.1.2.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing node_exporter-1.1.2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting node_exporter-1.1.2: .......... done
=====
Message from node_exporter-1.1.2:

--
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.
Step 10: Install package jq
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	jq: 1.6
	oniguruma: 6.9.7.1

Number of packages to be installed: 2

The process will require 2 MiB more space.
497 KiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching jq-1.6.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching oniguruma-6.9.7.1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Installing oniguruma-6.9.7.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting oniguruma-6.9.7.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Installing jq-1.6...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting jq-1.6: .......... done
Step 11: Install package jo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	jo: 1.4

Number of packages to be installed: 1

19 KiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching jo-1.4.txz: ... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing jo-1.4...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting jo-1.4: ...... done
Step 12: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	ca_root_nss: 3.63
	curl: 7.78.0
	libnghttp2: 1.43.0

Number of packages to be installed: 3

The process will require 5 MiB more space.
2 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching curl-7.78.0.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching libnghttp2-1.43.0.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching ca_root_nss-3.63.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Installing libnghttp2-1.43.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting libnghttp2-1.43.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Installing ca_root_nss-3.63...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting ca_root_nss-3.63: ........ done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Installing curl-7.78.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting curl-7.78.0: .......... done
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
Step 13: Install package openssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	openssl: 1.1.1l,1

Number of packages to be installed: 1

The process will require 14 MiB more space.
4 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching openssl-1.1.1l,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing openssl-1.1.1l,1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting openssl-1.1.1l,1: .......... done
Step 14: Install package syslog-ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 11 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	e2fsprogs-libuuid: 1.46.4
	glib: 2.66.8,2
	json-c: 0.15_1
	libffi: 3.3_1
	libiconv: 1.16
	libxml2: 2.9.12
	mpdecimal: 2.5.1
	pcre: 8.44
	python38: 3.8.10
	readline: 8.1.1
	syslog-ng: 3.32.1

Number of packages to be installed: 11

The process will require 160 MiB more space.
24 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/11] Fetching syslog-ng-3.32.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/11] Fetching e2fsprogs-libuuid-1.46.4.txz: ..... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/11] Fetching pcre-8.44.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/11] Fetching json-c-0.15_1.txz: ........ done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/11] Fetching glib-2.66.8,2.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/11] Fetching libxml2-2.9.12.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/11] Fetching python38-3.8.10.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/11] Fetching mpdecimal-2.5.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/11] Fetching readline-8.1.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/11] Fetching libffi-3.3_1.txz: ..... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/11] Fetching libiconv-1.16.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/11] Installing mpdecimal-2.5.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/11] Extracting mpdecimal-2.5.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/11] Installing readline-8.1.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/11] Extracting readline-8.1.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/11] Installing libffi-3.3_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/11] Extracting libffi-3.3_1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/11] Installing pcre-8.44...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/11] Extracting pcre-8.44: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/11] Installing libxml2-2.9.12...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/11] Extracting libxml2-2.9.12: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/11] Installing python38-3.8.10...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/11] Extracting python38-3.8.10: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/11] Installing libiconv-1.16...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/11] Extracting libiconv-1.16: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/11] Installing e2fsprogs-libuuid-1.46.4...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/11] Extracting e2fsprogs-libuuid-1.46.4: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/11] Installing json-c-0.15_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/11] Extracting json-c-0.15_1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/11] Installing glib-2.66.8,2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/11] Extracting glib-2.66.8,2: .......... done
No schema files found: doing nothing.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/11] Installing syslog-ng-3.32.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/11] Extracting syslog-ng-3.32.1: .......... done
=====
Message from python38-3.8.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
=====
Message from syslog-ng-3.32.1:

--
syslog-ng is now installed!  To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:

1. Create a configuration file named /usr/local/etc/syslog-ng.conf
   (a sample named syslog-ng.conf.sample has been included in
   /usr/local/etc). Note that this is a change in 2.0.2
   version, previous ones put the config file in
   /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
   move that file in the right place

2. Configure syslog-ng to start automatically by adding the following
   to /etc/rc.conf:

        syslog_ng_enable="YES"

3. Prevent the standard FreeBSD syslogd from starting automatically by
   adding a line to the end of your /etc/rc.conf file that reads:

        syslogd_enable="NO"

4. Shut down the standard FreeBSD syslogd:

     kill `cat /var/run/syslog.pid`

5. Start syslog-ng:

     /usr/local/etc/rc.d/syslog-ng start
Step 15: Install package py38-salt
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 31 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	libinotify: 20180201_2
	libyaml: 0.2.5
	libzmq4: 4.3.4
	norm: 1.5r6_1
	openpgm: 5.2.122_6
	py38-Babel: 2.9.1
	py38-Jinja2: 2.11.2_1
	py38-certifi: 2021.5.30
	py38-cffi: 1.14.5
	py38-chardet: 4.0.0,1
	py38-cryptography: 3.3.2
	py38-distro: 1.5.0
	py38-idna: 2.10
	py38-libcloud: 3.3.1
	py38-markupsafe: 1.1.1_1
	py38-msgpack: 1.0.2
	py38-openssl: 20.0.1
	py38-progressbar: 2.5
	py38-psutil: 5.8.0
	py38-pycparser: 2.20
	py38-pycryptodomex: 3.10.1
	py38-pyinotify: 0.9.6
	py38-pysocks: 1.7.1
	py38-pytz: 2021.1,1
	py38-pyzmq: 22.1.0
	py38-requests: 2.25.1
	py38-salt: 3003.3_1
	py38-setuptools: 57.0.0
	py38-six: 1.16.0
	py38-urllib3: 1.25.11,1
	py38-yaml: 5.4.1

Number of packages to be installed: 31

The process will require 142 MiB more space.
24 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/31] Fetching py38-salt-3003.3_1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/31] Fetching py38-requests-2.25.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/31] Fetching py38-chardet-4.0.0,1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/31] Fetching py38-setuptools-57.0.0.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/31] Fetching py38-certifi-2021.5.30.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/31] Fetching py38-urllib3-1.25.11,1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/31] Fetching py38-openssl-20.0.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/31] Fetching py38-cryptography-3.3.2.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/31] Fetching py38-six-1.16.0.txz: ... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/31] Fetching py38-cffi-1.14.5.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/31] Fetching py38-pycparser-2.20.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [12/31] Fetching py38-pysocks-1.7.1.txz: ... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [13/31] Fetching py38-idna-2.10.txz: ......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [14/31] Fetching py38-markupsafe-1.1.1_1.txz: ... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [15/31] Fetching py38-psutil-5.8.0.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [16/31] Fetching py38-distro-1.5.0.txz: ... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [17/31] Fetching py38-pycryptodomex-3.10.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [18/31] Fetching py38-pyzmq-22.1.0.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [19/31] Fetching libzmq4-4.3.4.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [20/31] Fetching openpgm-5.2.122_6.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [21/31] Fetching norm-1.5r6_1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [22/31] Fetching py38-libcloud-3.3.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [23/31] Fetching py38-progressbar-2.5.txz: .. done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [24/31] Fetching py38-yaml-5.4.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [25/31] Fetching libyaml-0.2.5.txz: ......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [26/31] Fetching py38-pyinotify-0.9.6.txz: ..... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [27/31] Fetching libinotify-20180201_2.txz: .... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [28/31] Fetching py38-msgpack-1.0.2.txz: ........ done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [29/31] Fetching py38-Jinja2-2.11.2_1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [30/31] Fetching py38-Babel-2.9.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [31/31] Fetching py38-pytz-2021.1,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/31] Installing py38-setuptools-57.0.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/31] Extracting py38-setuptools-57.0.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/31] Installing py38-pycparser-2.20...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/31] Extracting py38-pycparser-2.20: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/31] Installing py38-six-1.16.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/31] Extracting py38-six-1.16.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/31] Installing py38-cffi-1.14.5...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [4/31] Extracting py38-cffi-1.14.5: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/31] Installing py38-cryptography-3.3.2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [5/31] Extracting py38-cryptography-3.3.2: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/31] Installing py38-certifi-2021.5.30...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [6/31] Extracting py38-certifi-2021.5.30: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/31] Installing py38-openssl-20.0.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [7/31] Extracting py38-openssl-20.0.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/31] Installing py38-pysocks-1.7.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [8/31] Extracting py38-pysocks-1.7.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/31] Installing py38-idna-2.10...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [9/31] Extracting py38-idna-2.10: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/31] Installing openpgm-5.2.122_6...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [10/31] Extracting openpgm-5.2.122_6: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/31] Installing norm-1.5r6_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [11/31] Extracting norm-1.5r6_1: .... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [12/31] Installing py38-pytz-2021.1,1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [12/31] Extracting py38-pytz-2021.1,1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [13/31] Installing py38-chardet-4.0.0,1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [13/31] Extracting py38-chardet-4.0.0,1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [14/31] Installing py38-urllib3-1.25.11,1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [14/31] Extracting py38-urllib3-1.25.11,1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [15/31] Installing py38-markupsafe-1.1.1_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [15/31] Extracting py38-markupsafe-1.1.1_1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [16/31] Installing libzmq4-4.3.4...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [16/31] Extracting libzmq4-4.3.4: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [17/31] Installing libyaml-0.2.5...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [17/31] Extracting libyaml-0.2.5: ......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [18/31] Installing libinotify-20180201_2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [18/31] Extracting libinotify-20180201_2: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [19/31] Installing py38-Babel-2.9.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [19/31] Extracting py38-Babel-2.9.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [20/31] Installing py38-requests-2.25.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [20/31] Extracting py38-requests-2.25.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [21/31] Installing py38-psutil-5.8.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [21/31] Extracting py38-psutil-5.8.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [22/31] Installing py38-distro-1.5.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [22/31] Extracting py38-distro-1.5.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [23/31] Installing py38-pycryptodomex-3.10.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [23/31] Extracting py38-pycryptodomex-3.10.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [24/31] Installing py38-pyzmq-22.1.0...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [24/31] Extracting py38-pyzmq-22.1.0: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [25/31] Installing py38-libcloud-3.3.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [25/31] Extracting py38-libcloud-3.3.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [26/31] Installing py38-progressbar-2.5...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [26/31] Extracting py38-progressbar-2.5: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [27/31] Installing py38-yaml-5.4.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [27/31] Extracting py38-yaml-5.4.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [28/31] Installing py38-pyinotify-0.9.6...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [28/31] Extracting py38-pyinotify-0.9.6: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [29/31] Installing py38-msgpack-1.0.2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [29/31] Extracting py38-msgpack-1.0.2: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [30/31] Installing py38-Jinja2-2.11.2_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [30/31] Extracting py38-Jinja2-2.11.2_1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [31/31] Installing py38-salt-3003.3_1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [31/31] Extracting py38-salt-3003.3_1: .......... done
=====
Message from openpgm-5.2.122_6:

--
===>   NOTICE:

The openpgm port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from py38-urllib3-1.25.11,1:

--
Since version 1.25 HTTPS connections are now verified by default which is done
via "cert_reqs = 'CERT_REQUIRED'".  While certificate verification can be
disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on.

Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g. via
configuration settings, CLI arguments, etc.).

Yet it may happen that there are still some consumers which don't explicitly
enable/disable certificate verification for HTTPS connections which could then
lead to errors (as is often the case with self-signed certificates).

In case of an error one should try first to temporarily disable certificate
verification of the problematic urllib3 consumer to see if that approach will
remedy the issue.
=====
Message from libinotify-20180201_2:

--
Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from py38-salt-3003.3_1:

--
To configure a Salt Master, do the following:

  o Copy /usr/local/etc/salt/master.sample to /usr/local/etc/salt/master
  o Update to meet your needs
  o sysrc salt_master_enable="YES"



To configure a Salt Minion, do the following:

  o Copy /usr/local/etc/salt/minion.sample to /usr/local/etc/salt/minion
  o Update 'master: salt' to point to your Salt Master's hostname or IP
  o sysrc salt_minion_enable="YES"



To configure a Salt Proxy Minion, do the following:

  o sysrc salt_proxy_enable="YES"
  o sysrc salt_proxy_list=""
  o Update the salt_proxy_list with the proxy minion name(s)



To change the Transport method from the default option of Zeromq to either TCP or RAET:

  o Re-build the port with the desired options enabled to install the correct runtime dependencies
  o Ensure the master and minions all have salt installed with these same options and dependencies
  o Add the line 'transport: [tcp|raet]' to both the master and minion configuration files
  o Restart salt on the master and minions
Step 16: Install package git-lite
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	expat: 2.4.1
	git-lite: 2.32.0_1
	pcre2: 10.37

Number of packages to be installed: 3

The process will require 34 MiB more space.
6 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Fetching git-lite-2.32.0_1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Fetching expat-2.4.1.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Fetching pcre2-10.37.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Installing expat-2.4.1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/3] Extracting expat-2.4.1: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Installing pcre2-10.37...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/3] Extracting pcre2-10.37: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Installing git-lite-2.32.0_1...
===> Creating groups.
Creating group 'git_daemon' with gid '964'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [3/3] Extracting git-lite-2.32.0_1: .......... done
=====
Message from git-lite-2.32.0_1:

--
If you installed the GITWEB option please follow these instructions:

In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.

All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
   /usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
   /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.


If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
Step 17: Install package go
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	go: 1.16.7,1

Number of packages to be installed: 1

The process will require 285 MiB more space.
74 MiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching go-1.16.7,1.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing go-1.16.7,1...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting go-1.16.7,1: .......... done
Step 18: Install package gmake
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	gmake: 4.3_2

Number of packages to be installed: 1

The process will require 2 MiB more space.
416 KiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching gmake-4.3_2.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing gmake-4.3_2...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting gmake-4.3_2: .......... done
Step 19: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 20: Install package nano
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nano: 5.8

Number of packages to be installed: 1

The process will require 3 MiB more space.
555 KiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Fetching nano-5.8.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Installing nano-5.8...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/1] Extracting nano-5.8: .......... done
Step 21: Install package tmux
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	libevent: 2.1.12
	tmux: 3.2a

Number of packages to be installed: 2

The process will require 3 MiB more space.
708 KiB to be downloaded.
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching tmux-3.2a.txz: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching libevent-2.1.12.txz: .......... done
Checking integrity... done (0 conflicting)
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Installing libevent-2.1.12...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting libevent-2.1.12: .......... done
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Installing tmux-3.2a...
[saltstack-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting tmux-3.2a: .......... done
Step 22: Clean package installation
Checking integrity... done (0 conflicting)
Nothing to do.
The following package files will be deleted:
	/var/cache/pkg/syslog-ng-3.32.1~1ab19a412c.txz
	/var/cache/pkg/py38-psutil-5.8.0~37bbece587.txz
	/var/cache/pkg/py38-msgpack-1.0.2~3ff3fa331e.txz
	/var/cache/pkg/py38-chardet-4.0.0,1~5da67a7987.txz
	/var/cache/pkg/indexinfo-0.3.1~fec9f21a3f.txz
	/var/cache/pkg/py38-cffi-1.14.5.txz
	/var/cache/pkg/nano-5.8~d1355c240b.txz
	/var/cache/pkg/py38-pycparser-2.20~cdc959d21f.txz
	/var/cache/pkg/py38-idna-2.10.txz
	/var/cache/pkg/go-1.16.7,1.txz
	/var/cache/pkg/py38-markupsafe-1.1.1_1.txz
	/var/cache/pkg/py38-idna-2.10~f226b8debe.txz
	/var/cache/pkg/readline-8.1.1~258136255b.txz
	/var/cache/pkg/gmake-4.3_2.txz
	/var/cache/pkg/tmux-3.2a.txz
	/var/cache/pkg/ca_root_nss-3.63.txz
	/var/cache/pkg/syslog-ng-3.32.1.txz
	/var/cache/pkg/py38-cryptography-3.3.2~b35a0dc63f.txz
	/var/cache/pkg/tmux-3.2a~e768e43dda.txz
	/var/cache/pkg/curl-7.78.0.txz
	/var/cache/pkg/readline-8.1.1.txz
	/var/cache/pkg/py38-pytz-2021.1,1.txz
	/var/cache/pkg/sudo-1.9.7p1.txz
	/var/cache/pkg/py38-six-1.16.0~6deac60def.txz
	/var/cache/pkg/oniguruma-6.9.7.1.txz
	/var/cache/pkg/libinotify-20180201_2~8f83c48386.txz
	/var/cache/pkg/py38-pyinotify-0.9.6.txz
	/var/cache/pkg/consul-1.9.5.txz
	/var/cache/pkg/libyaml-0.2.5~95b568a1b5.txz
	/var/cache/pkg/py38-openssl-20.0.1.txz
	/var/cache/pkg/py38-salt-3003.3_1.txz
	/var/cache/pkg/pcre-8.44.txz
	/var/cache/pkg/nano-5.8.txz
	/var/cache/pkg/node_exporter-1.1.2.txz
	/var/cache/pkg/curl-7.78.0~0aa53b2802.txz
	/var/cache/pkg/py38-pycryptodomex-3.10.1.txz
	/var/cache/pkg/libinotify-20180201_2.txz
	/var/cache/pkg/libiconv-1.16~bdd1f909b4.txz
	/var/cache/pkg/libnghttp2-1.43.0~15507849d1.txz
	/var/cache/pkg/py38-certifi-2021.5.30.txz
	/var/cache/pkg/gmake-4.3_2~9430bad5f5.txz
	/var/cache/pkg/jo-1.4~4363996396.txz
	/var/cache/pkg/jq-1.6~45b767e25a.txz
	/var/cache/pkg/py38-libcloud-3.3.1~dabf980ed9.txz
	/var/cache/pkg/py38-pyzmq-22.1.0.txz
	/var/cache/pkg/expat-2.4.1.txz
	/var/cache/pkg/py38-Babel-2.9.1.txz
	/var/cache/pkg/consul-1.9.5~e3c3a94bde.txz
	/var/cache/pkg/py38-markupsafe-1.1.1_1~72829f6774.txz
	/var/cache/pkg/libiconv-1.16.txz
	/var/cache/pkg/py38-cryptography-3.3.2.txz
	/var/cache/pkg/libxml2-2.9.12~55c496f72a.txz
	/var/cache/pkg/pcre-8.44~e08afabcb7.txz
	/var/cache/pkg/libevent-2.1.12~215cb40f66.txz
	/var/cache/pkg/py38-psutil-5.8.0.txz
	/var/cache/pkg/py38-progressbar-2.5.txz
	/var/cache/pkg/py38-setuptools-57.0.0~765c507e85.txz
	/var/cache/pkg/py38-certifi-2021.5.30~7ff4353404.txz
	/var/cache/pkg/glib-2.66.8,2.txz
	/var/cache/pkg/py38-yaml-5.4.1.txz
	/var/cache/pkg/libffi-3.3_1~3dc699a29e.txz
	/var/cache/pkg/mpdecimal-2.5.1~511d0c1748.txz
	/var/cache/pkg/gettext-runtime-0.21~c84f0d3292.txz
	/var/cache/pkg/py38-pycryptodomex-3.10.1~de0ef3c480.txz
	/var/cache/pkg/py38-six-1.16.0.txz
	/var/cache/pkg/jq-1.6.txz
	/var/cache/pkg/libzmq4-4.3.4.txz
	/var/cache/pkg/py38-distro-1.5.0~27d25fa9e5.txz
	/var/cache/pkg/py38-distro-1.5.0.txz
	/var/cache/pkg/pcre2-10.37~68f6ea9311.txz
	/var/cache/pkg/libzmq4-4.3.4~c47a652387.txz
	/var/cache/pkg/ca_root_nss-3.63~ced63fe166.txz
	/var/cache/pkg/py38-progressbar-2.5~8096b8c6b3.txz
	/var/cache/pkg/openpgm-5.2.122_6.txz
	/var/cache/pkg/node_exporter-1.1.2~9e7a20f0f9.txz
	/var/cache/pkg/py38-openssl-20.0.1~02037659aa.txz
	/var/cache/pkg/expat-2.4.1~36ce96781b.txz
	/var/cache/pkg/py38-msgpack-1.0.2.txz
	/var/cache/pkg/py38-Babel-2.9.1~87868adc92.txz
	/var/cache/pkg/python38-3.8.10~393b296926.txz
	/var/cache/pkg/py38-salt-3003.3_1~3d3ddee164.txz
	/var/cache/pkg/py38-requests-2.25.1.txz
	/var/cache/pkg/libevent-2.1.12.txz
	/var/cache/pkg/py38-urllib3-1.25.11,1~850af22ace.txz
	/var/cache/pkg/json-c-0.15_1~80920d62dd.txz
	/var/cache/pkg/gettext-runtime-0.21.txz
	/var/cache/pkg/e2fsprogs-libuuid-1.46.4~eef4eaace8.txz
	/var/cache/pkg/py38-pysocks-1.7.1.txz
	/var/cache/pkg/py38-pycparser-2.20.txz
	/var/cache/pkg/libffi-3.3_1.txz
	/var/cache/pkg/libnghttp2-1.43.0.txz
	/var/cache/pkg/glib-2.66.8,2~2e0fe77422.txz
	/var/cache/pkg/git-lite-2.32.0_1.txz
	/var/cache/pkg/py38-cffi-1.14.5~d6225416b6.txz
	/var/cache/pkg/py38-Jinja2-2.11.2_1~38486b61e7.txz
	/var/cache/pkg/py38-setuptools-57.0.0.txz
	/var/cache/pkg/indexinfo-0.3.1.txz
	/var/cache/pkg/norm-1.5r6_1.txz
	/var/cache/pkg/openssl-1.1.1l,1~c48e403b85.txz
	/var/cache/pkg/mpdecimal-2.5.1.txz
	/var/cache/pkg/py38-yaml-5.4.1~bf8e46d345.txz
	/var/cache/pkg/python38-3.8.10.txz
	/var/cache/pkg/py38-pytz-2021.1,1~4f2c71cdc4.txz
	/var/cache/pkg/pcre2-10.37.txz
	/var/cache/pkg/json-c-0.15_1.txz
	/var/cache/pkg/py38-requests-2.25.1~06dc1db613.txz
	/var/cache/pkg/go-1.16.7,1~96b75aacdb.txz
	/var/cache/pkg/py38-Jinja2-2.11.2_1.txz
	/var/cache/pkg/libyaml-0.2.5.txz
	/var/cache/pkg/py38-urllib3-1.25.11,1.txz
	/var/cache/pkg/py38-chardet-4.0.0,1.txz
	/var/cache/pkg/openssl-1.1.1l,1.txz
	/var/cache/pkg/e2fsprogs-libuuid-1.46.4.txz
	/var/cache/pkg/py38-pyinotify-0.9.6~27a41fee6c.txz
	/var/cache/pkg/git-lite-2.32.0_1~45916b3160.txz
	/var/cache/pkg/openpgm-5.2.122_6~ee40e61176.txz
	/var/cache/pkg/py38-libcloud-3.3.1.txz
	/var/cache/pkg/py38-pyzmq-22.1.0~d9ec733d92.txz
	/var/cache/pkg/sudo-1.9.7p1~a8afb80862.txz
	/var/cache/pkg/libxml2-2.9.12.txz
	/var/cache/pkg/norm-1.5r6_1~96d7cbc9b0.txz
	/var/cache/pkg/oniguruma-6.9.7.1~1162468b1d.txz
	/var/cache/pkg/py38-pysocks-1.7.1~5fdee2d894.txz
	/var/cache/pkg/jo-1.4.txz
The cleanup will free 168 MiB
Deleting files: .......... done
All done
Step 23: Remove pre-existing cook script (if any)
Step 24: Create cook script
Step 25: Make cook script executable
setting executable bit on /usr/local/bin/cook
Step 26: Create rc.d script to start cook
creating rc.d script to start cook
Step 27: Make rc.d script to start cook executable
Setting executable bit on cook rc file
Step 28: Enable cook service
enabling cook
cook enabled in /etc/rc.conf
=====>  Stop the pot saltstack-amd64-12_2
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/tmp
=====>  unmount /mnt/data/pot/jails/saltstack-amd64-12_2/m/dev
=====>  Flavour: saltstack+1
=====>  Executing saltstack+1 pot commands on saltstack-amd64-12_2
=====>  No shell script available for the flavour saltstack+1
=====>  Flavour: saltstack+2
=====>  Executing saltstack+2 pot commands on saltstack-amd64-12_2
=====>  No shell script available for the flavour saltstack+2
=====>  Flavour: saltstack+3
=====>  Executing saltstack+3 pot commands on saltstack-amd64-12_2
=====>  No shell script available for the flavour saltstack+3
=====>  Flavour: saltstack+4
=====>  Executing saltstack+4 pot commands on saltstack-amd64-12_2
=====>  No shell script available for the flavour saltstack+4

This site © Honeyguide Group (Pty) Ltd, all the hosted software their respective license owners 2020 - 2021 - Disclaimer