Page MenuHomeMiraheze
Paste P220

puppet install script
ActivePublic

Authored by Paladox on Aug 17 2019, 14:57.
Tags
None
Referenced Files
F2980084: puppet install script
Thu, Mar 21, 20:48
F2704221: puppet install script
Jan 16 2024, 00:57
F1865005: puppet install script
Aug 22 2022, 09:28
F1772995: puppet install script
Jun 4 2022, 21:04
F1480694: puppet install script
Aug 10 2021, 19:16
F1217485: puppet install script
Jul 14 2020, 22:10
F1122594: raw.txt
Feb 18 2020, 22:45
F1119679: raw.txt
Feb 9 2020, 15:13
Subscribers
None
#! /bin/bash
# Miraheze server installation script. This script installs the mandatory
# software to behave as a puppet agent.
# See: https://meta.miraheze.org/wiki/Tech:Puppet
# This should be bookworm!
OSCODENAME=bookworm
apt-get update
apt-get install ca-certificates sudo lsb-release dirmngr -y
gpg --keyserver keyserver.ubuntu.com --recv-key 7F438280EF8D349F
wget https://apt.puppetlabs.com/puppet8-release-"$OSCODENAME".deb
dpkg -i puppet8-release-"$OSCODENAME".deb
apt-get update
apt-get install puppet-agent -y
# chmod and userdel are specific for Scaleway.
chmod 0755 /etc
userdel -r debian
ln -s /opt/puppetlabs/bin/facter /usr/bin/facter
ln -s /opt/puppetlabs/bin/hiera /usr/bin/hiera
ln -s /opt/puppetlabs/bin/puppet /usr/bin/puppet
apt-get --purge remove puppet8-release -y

Event Timeline

Paladox edited the content of this paste. (Show Details)
Southparkfan changed the edit policy from "All Users" to "acl*security (Project)".Feb 7 2021, 00:59
Unknown Object (User) edited the content of this paste. (Show Details)Aug 22 2022, 09:28
Unknown Object (User) removed a subscriber: Southparkfan.