aboutsummaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-06 21:17:43 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-06 21:18:26 -0400
commit941db4a199191f830d40fe497421d6af9c73aa6d (patch)
tree9f8d1e69771564ff6e39f781bb8527efeaa440f0 /vars
parent1e088983f6a80b6fd47543d0b4989e9ddb3234d5 (diff)
downloadinfrastructure-941db4a199191f830d40fe497421d6af9c73aa6d.tar.gz
add postgresql
Diffstat (limited to 'vars')
-rw-r--r--vars/hostclass/postgres14
-rw-r--r--vars/os/freebsd2
2 files changed, 6 insertions, 0 deletions
diff --git a/vars/hostclass/postgres1 b/vars/hostclass/postgres1
new file mode 100644
index 0000000..a38ba94
--- /dev/null
+++ b/vars/hostclass/postgres1
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+memsize=$(( 8 * 1024 * 1024 * 1024))
+cnames=postgres
diff --git a/vars/os/freebsd b/vars/os/freebsd
index 12d3938..5fae2d6 100644
--- a/vars/os/freebsd
+++ b/vars/os/freebsd
@@ -8,6 +8,8 @@ install_packages='sudo tmux vim'
intel_epp=50
see_other_uids=0
+memsize=$(sysctl -n hw.physmem)
+
export ASSUME_ALWAYS_YES=yes
keytab_dir=/var/db/keytabs
nfscbd_port=7745