Commit fa6fe91b by source_reader

additional nginx configuration

parent 04bd3fde
passenger_root /var/lib/gems/2.5.0/gems/passenger-6.0.4;
passenger_ruby /usr/bin/ruby2.5;
......@@ -21,6 +21,13 @@ class nginx::pi{
recurse => true,
source => 'puppet:///modules/nginx/pi/conf'
}
file {'/etc/nginx/conf.d/passenger.conf':
ensure => directory,
owner => root,
group => root,
source => 'puppet:///modules/nginx/pi/passenger.conf'
}
file {'/usr/lib/nginx/modules':
ensure => directory,
owner => root,
......
......@@ -2,11 +2,6 @@
# Class: timescaledb
# ===========================
#
# Full description of class timescaledb here.
#
# Authors
# -------
#
# John Donnal
#
#
......@@ -14,26 +9,26 @@ class timescaledb {
if $facts['platform'] == 'ubuntu' {
apt::source { 'postgresql':
location => 'http://apt.postgresql.org/pub/repos/apt/',
release => "${lsbdistcodename}-pgdg",
repos => 'main',
key => {
'id' => 'B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8',
'server' => 'hkp://p80.pool.sks-keyservers.net:80'
apt::source { 'postgresql':
location => 'http://apt.postgresql.org/pub/repos/apt/',
release => "${lsbdistcodename}-pgdg",
repos => 'main',
key => {
'id' => 'B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8',
'server' => 'hkp://p80.pool.sks-keyservers.net:80'
}
}
apt::ppa {'ppa:timescale/timescaledb-ppa': }
package {'timescaledb-postgresql-10':
ensure => 'present',
require => [Apt::Source['postgresql'], Apt::Ppa['ppa:timescale/timescaledb-ppa']]
}
class{ 'postgresql::server':
}
postgresql::server::config_entry { 'shared_preload_libraries':
value => 'timescaledb',
}
}
apt::ppa {'ppa:timescale/timescaledb-ppa': }
package {'timescaledb-postgresql-10':
ensure => 'present',
require => [Apt::Source['postgresql'], Apt::Ppa['ppa:timescale/timescaledb-ppa']]
}
class{ 'postgresql::server':
}
postgresql::server::config_entry { 'shared_preload_libraries':
value => 'timescaledb',
}
} else {
class{ 'postgresql::globals':
# bindir => '/usr/local/pgsql/bin',
......
......@@ -10,6 +10,10 @@ set -e
#deb-src http://mirror.umd.edu/raspbian/raspbian/ stretch main contrib non-free rpi
#EOF
#echo "nameserver 172.31.33.1" > /etc/resolv.conf
echo "SET LOCALE"
raspi-config
apt-get update
apt-get upgrade -y
apt install puppet git r10k -y
......
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