mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
commit
00121d29a6
@ -5,11 +5,14 @@ echo '{{ vm['priv_key'] }}' > /etc/salt/pki/minion.pem
|
||||
echo '{{ vm['pub_key'] }}' > /etc/salt/pki/minion.pub
|
||||
echo "{{ minion }}" > /etc/salt/minion
|
||||
|
||||
apt-get install -y python-software-properties
|
||||
#Add simulated [enter] key to add-apt-repository
|
||||
echo | add-apt-repository -y ppa:saltstack/salt
|
||||
apt-get update
|
||||
# add-apt-repository requires an additional dep and is in different packages
|
||||
# on different systems. Although seemingly ubiquitous it is not a standard,
|
||||
# and is only a convenience script intended to accomplish the below two steps
|
||||
# doing it this way is universal across all debian and ubuntu systems.
|
||||
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | tee /etc/apt/sources.list.d/saltstack.list
|
||||
wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" | apt-key add -
|
||||
|
||||
apt-get update
|
||||
apt-get install -y -o DPkg::Options::=--force-confold salt-minion git-core
|
||||
# minion will be started automatically by install
|
||||
service salt-minion stop
|
||||
|
@ -5,10 +5,13 @@ echo '{{ vm['priv_key'] }}' > /etc/salt/pki/minion.pem
|
||||
echo '{{ vm['pub_key'] }}' > /etc/salt/pki/minion.pub
|
||||
echo "{{ minion }}" > /etc/salt/minion
|
||||
|
||||
apt-get install -y python-software-properties
|
||||
#Add simulated [enter] key to add-apt-repository
|
||||
echo | add-apt-repository -y ppa:saltstack/salt
|
||||
apt-get update
|
||||
# add-apt-repository requires an additional dep and is in different packages
|
||||
# on different systems. Although seemingly ubiquitous it is not a standard,
|
||||
# and is only a convenience script intended to accomplish the below two steps
|
||||
# doing it this way is universal across all debian and ubuntu systems.
|
||||
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | tee /etc/apt/sources.list.d/saltstack.list
|
||||
wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" | apt-key add -
|
||||
|
||||
apt-get update
|
||||
apt-get install -y -o DPkg::Options::=--force-confold salt-minion
|
||||
# minion will be started automatically by install
|
||||
|
Loading…
Reference in New Issue
Block a user