feat: initial commit
This commit is contained in:
commit
38f495e3f4
457 changed files with 40577 additions and 0 deletions
10
scripts/agent-bootstrap.sh
Normal file
10
scripts/agent-bootstrap.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
apt update
|
||||
apt install puppet -y
|
||||
|
||||
echo "[main]" >> /etc/puppet/puppet.conf
|
||||
echo "server = puppet-server.cluster" >> /etc/puppet/puppet.conf
|
||||
|
||||
systemctl start puppet
|
||||
systemctl enable puppet
|
5
scripts/push.sh
Executable file
5
scripts/push.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
HOST="$1"
|
||||
shift 1
|
||||
|
||||
ssh -i ~/.ssh/puppet-push root@$HOST "$@"
|
Loading…
Add table
Add a link
Reference in a new issue