Page Menu
Home
Miraheze
Search
Configure Global Search
Log In
Paste
P220
puppet install script
Active
Public
Actions
Authored by
Paladox
on Aug 17 2019, 14:57.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
Southparkfan
#! /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 stretch or buster!
OSCODENAME
=
buster
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/puppet6-release-
"
$OSCODENAME
"
.deb
dpkg -i puppet6-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 puppet6-release -y
Event Timeline
Paladox
created this paste.
Aug 17 2019, 14:57
2019-08-17 14:57:11 (UTC+0)
Paladox
edited the content of this paste.
(Show Details)
Oct 23 2019, 14:38
2019-10-23 14:38:11 (UTC+0)
Paladox
edited the content of this paste.
(Show Details)
Southparkfan
edited the content of this paste.
(Show Details)
Oct 23 2019, 14:50
2019-10-23 14:50:34 (UTC+0)
Southparkfan
edited the content of this paste.
(Show Details)
Oct 23 2019, 14:56
2019-10-23 14:56:35 (UTC+0)
Paladox
edited the content of this paste.
(Show Details)
Feb 9 2020, 15:13
2020-02-09 15:13:42 (UTC+0)
Paladox
edited the content of this paste.
(Show Details)
Feb 18 2020, 22:45
2020-02-18 22:45:00 (UTC+0)
Southparkfan
edited the content of this paste.
(Show Details)
Jul 14 2020, 22:10
2020-07-14 22:10:24 (UTC+0)
Southparkfan
added a subscriber:
Southparkfan
.
Feb 1 2021, 21:55
2021-02-01 21:55:58 (UTC+0)
Southparkfan
changed the edit policy from "All Users" to "
acl*security
(Project)".
Sun, Feb 7, 00:59
2021-02-07 00:59:19 (UTC+0)
Log In to Comment