Commit 60eca0f4 by source_reader

migrate to ubuntu 20.04

parent 62cea37b
......@@ -11,13 +11,11 @@ cat > /etc/hosts <<EOF
EOF
#fi
#echo "nameserver 172.31.33.1" > /etc/resolv.conf
sudo add-apt-repository ppa:wireguard/wireguard -y
apt-get update
apt remove --purge libreoffice-* -y > /dev/null
apt-get upgrade -y
wget https://apt.puppetlabs.com/puppet-release-bionic.deb
dpkg -i puppet-release-bionic.deb
wget https://apt.puppetlabs.com/puppet-release-focal.deb
dpkg -i puppet-release-focal.deb
add-apt-repository universe
apt-get update
apt install puppet-agent git r10k python3-pip build-essential -y
......
......@@ -20,14 +20,14 @@ class timescaledb {
}
apt::ppa {'ppa:timescale/timescaledb-ppa': }
package {'timescaledb-postgresql-11':
package {'timescaledb-postgresql-12':
ensure => 'present',
require => [Apt::Source['postgresql'], Apt::Ppa['ppa:timescale/timescaledb-ppa']]
}
}
# timescaledb is compiled manually on the pi
class{ 'postgresql::globals':
version => '11',
version => '12',
}
class{ 'postgresql::server':
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment