Removed Salt installation steps from everything
This commit is contained in:
parent
5013fa83cc
commit
6588979f8a
@ -6,4 +6,3 @@ sudo apt upgrade -y
|
|||||||
|
|
||||||
sudo apt install -y vim
|
sudo apt install -y vim
|
||||||
|
|
||||||
wget -O - https://bootstrap.saltstack.com | sudo sh
|
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
sudo pkg update
|
sudo pkg update
|
||||||
sudo pkg upgrade -y
|
sudo pkg upgrade -y
|
||||||
|
|
||||||
sudo pkg install -y vim py39-salt py39-tornado
|
|
||||||
|
|
||||||
# Delete /etc/hostid so it gets regenerated
|
# Delete /etc/hostid so it gets regenerated
|
||||||
sudo rm /etc/hostid
|
sudo rm /etc/hostid
|
||||||
|
|
||||||
|
# Install Puppet
|
||||||
|
sudo pkg install -y puppet7
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ if [ "$OS" = 'freebsd' ]; then
|
|||||||
sysrc hostname="$HOSTNAME.$DOMAIN"
|
sysrc hostname="$HOSTNAME.$DOMAIN"
|
||||||
|
|
||||||
# Install Puppet
|
# Install Puppet
|
||||||
pkg install -y puppet7
|
|
||||||
echo -e "[agent]\nserver = $PUPPET_MASTER" > /usr/local/etc/puppet/puppet.conf
|
echo -e "[agent]\nserver = $PUPPET_MASTER" > /usr/local/etc/puppet/puppet.conf
|
||||||
sysrc puppet_enable="YES"
|
sysrc puppet_enable="YES"
|
||||||
else
|
else
|
||||||
|
@ -4,4 +4,3 @@ sudo dnf update -y
|
|||||||
|
|
||||||
sudo dnf install -y vim
|
sudo dnf install -y vim
|
||||||
|
|
||||||
wget -O - https://bootstrap.saltstack.com | sudo sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user