Compare commits
230 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23dd962d89 | |||
| ac36d9627b | |||
| 198cee27c2 | |||
| f73d6f07ce | |||
| 1c71229fd3 | |||
| d649195ccc | |||
| fcd0bc4c74 | |||
| a30ff81139 | |||
| bbed65b4b8 | |||
| 75ca7a5685 | |||
| 53fabc923b | |||
| 5a9241940f | |||
| df457306cc | |||
| 7fbb87b4b6 | |||
| fd902c1437 | |||
| 0e64c9855a | |||
| 3cfafbac44 | |||
| c5c40c3bfd | |||
| 98f1961a07 | |||
| eb1ada8ea5 | |||
| ec3e42901a | |||
| e905afcab0 | |||
| de6e7d0ba9 | |||
| 780a97dfe4 | |||
| 9aa6472e5b | |||
| 80ab4e6889 | |||
| ccda327c7a | |||
| acef1bde29 | |||
| 7d87e11e79 | |||
| 40c57ede59 | |||
| be02d3d150 | |||
| a550d48f21 | |||
| 2d9faf578f | |||
| 2814a55df6 | |||
| 73362a3bf9 | |||
| 0063f68bc6 | |||
| 372d99893a | |||
| 620339f69d | |||
| 2317d0af59 | |||
| cf0ff85b70 | |||
| 359ce101f1 | |||
| b6c959d368 | |||
| b976f2063a | |||
| 93049707e7 | |||
| a9faa098ee | |||
| 61d912de30 | |||
| 9bed18f78c | |||
| aab3eaf9e7 | |||
| 33c8b226e0 | |||
| 49ff7cc3ab | |||
| d1e63ad18b | |||
| 99b312669b | |||
| 715e88176b | |||
| 1837506b6c | |||
| 3bb2a5dbad | |||
| 0ce6e95f2d | |||
| 770fd643ac | |||
| bd9e08dc24 | |||
| 62837bb22d | |||
| ae57e0e81c | |||
| cb1d562cb0 | |||
| 26b908e5e7 | |||
| a47c6155b8 | |||
| 1cbc1be808 | |||
| 60834ced00 | |||
| 890e9670f3 | |||
| a26daca28c | |||
| 057c4ab747 | |||
| 1fb46b5ab6 | |||
| 66fdd7b615 | |||
| f43d5f685b | |||
| bb2f59621a | |||
| 1df11b8977 | |||
| 10f2dc7047 | |||
| 1a904af2ee | |||
| ed1a4f6488 | |||
| bdd833fa4e | |||
| c10a3e49fa | |||
| 3d5d40f381 | |||
| b3347f9226 | |||
| 1d23fef82e | |||
| c0aab1087e | |||
| 596e498a00 | |||
| f6694599ef | |||
| 93cd02deec | |||
| 520e8a34e0 | |||
| 77d07672f8 | |||
| 89a0f329d8 | |||
| 6dcc7343e0 | |||
| e7d4c75192 | |||
| d9e8637ad6 | |||
| 92f0ae64b9 | |||
| c1637d9f43 | |||
| 1aabe21173 | |||
| 2f088c461f | |||
| 90504e5b02 | |||
| a7b793238a | |||
| 87a6c73578 | |||
| 3e0141bb1b | |||
| bb6f6cbd49 | |||
| 51d6c1e81d | |||
| 537a207779 | |||
| f322440d01 | |||
| ed947dee59 | |||
| a70b6492b0 | |||
| 3079f7d000 | |||
| 1b8f50786f | |||
| b05acb23f4 | |||
| 62f71e1feb | |||
| cdf9456456 | |||
| 2323ef7749 | |||
| 07b89ab737 | |||
| 9359b8902e | |||
| 1e3ce0ec1c | |||
| 496ed12a58 | |||
| e4166c6b14 | |||
| 78f4d2a88f | |||
| 762d980ea8 | |||
| 463abe4b9d | |||
| ecce93bedb | |||
| 9dcaafb8ba | |||
| a21c1b3697 | |||
| bc5bd11f5e | |||
| 2321186ad5 | |||
| c24babe309 | |||
| bfda2b628b | |||
| 278f8001b0 | |||
| 0fe44cf4e2 | |||
| 25b06cde22 | |||
| 8c76e71dc4 | |||
| 0e3dd4d7d0 | |||
| 83d0b31753 | |||
| b6ea353cfb | |||
| c225564bdb | |||
| 06666fe488 | |||
| 9dc88e6db6 | |||
| d87983d8fc | |||
| 95bc2716cf | |||
| 978013f325 | |||
| 829b1b05fd | |||
| 6cb249ffbc | |||
| 427fe352b4 | |||
| 45b061a053 | |||
| d39d25d3f1 | |||
| 06b458cb0e | |||
| e3046563a2 | |||
| e025928d77 | |||
| e3e8b3484d | |||
| bdf420973d | |||
| 6a04701891 | |||
| dd5a4646ff | |||
| 4e47745077 | |||
| 3a4e606459 | |||
| d0eb4c078d | |||
| b95bcbd10a | |||
| adc0cf2c09 | |||
| 771b981d91 | |||
| e0c3a23424 | |||
| a309244713 | |||
| 8eb751e22f | |||
| b981a6fb01 | |||
| 7c1d96bd22 | |||
| 0222f5ec4a | |||
| afd3405c98 | |||
| ab7ce3bbfa | |||
| 4a85c5feff | |||
| 6134b4664b | |||
| e061a72996 | |||
| eaa15e92dc | |||
| a5a193d9eb | |||
| 4400456519 | |||
| d37fb5d7e1 | |||
| 022a564dc0 | |||
| 48e1fb8e30 | |||
| 561d74e9d9 | |||
| 281fdb33d4 | |||
| 1c04366eec | |||
| 86d3b61439 | |||
| 6ebf5c03a5 | |||
| c97db0f0aa | |||
| 46b4fdf632 | |||
| aaf81d0a6c | |||
| afbc15ff40 | |||
| 64248a45c2 | |||
| c7fb1f0cec | |||
| dbccaea24b | |||
| b244327c34 | |||
| 90bcdd1f51 | |||
| ec926dfe0a | |||
| 40af30d0ff | |||
| bac90b5459 | |||
| 41aab65f85 | |||
| c023cfe4dc | |||
| cffb6a54fc | |||
| fd7ced66ce | |||
| 766f124b2c | |||
| 4de772436b | |||
| 75f865c26c | |||
| 2fdc709a17 | |||
| ba3a9e374a | |||
| a28ef09f28 | |||
| 52fff0ccea | |||
| f097cf2550 | |||
| 58d31c5c9a | |||
| 92d6697175 | |||
| d3f471f3ed | |||
| ab1f4300a9 | |||
| 845b91b497 | |||
| 8f0b3e615c | |||
| 8679a0b904 | |||
| 16ba54ee0a | |||
| 4b3553b75c | |||
| abdb3ec8cb | |||
| c0623b64f7 | |||
| d286e2d816 | |||
| 71b29d5e88 | |||
| 6493f392b8 | |||
| 8586e9eb32 | |||
| 92a9655a50 | |||
| 42ad972697 | |||
| 61f5f1ce1f | |||
| 926d3d29d0 | |||
| c6bdae5790 | |||
| 159d66af18 | |||
| c728c1a5e0 | |||
| 4fec931fb1 | |||
| 76b4c8c930 | |||
| 0455965525 | |||
| 4e68900259 | |||
| ca87702466 |
@@ -0,0 +1,24 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
precommit:
|
||||||
|
runs-on: almalinux-8
|
||||||
|
container:
|
||||||
|
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
||||||
|
options: --privileged
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install requirements
|
||||||
|
run: |
|
||||||
|
dnf groupinstall -y "Development Tools" -y
|
||||||
|
dnf install rubygems ruby-devel gcc make redhat-rpm-config glibc-headers glibc-devel -y
|
||||||
|
|
||||||
|
- name: Pre-Commit All Files
|
||||||
|
run: |
|
||||||
|
uvx pre-commit run --all-files
|
||||||
@@ -3,3 +3,8 @@
|
|||||||
detectors:
|
detectors:
|
||||||
FeatureEnvy:
|
FeatureEnvy:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
TooManyStatements:
|
||||||
|
enabled: false
|
||||||
|
UncommunicativeVariableName:
|
||||||
|
accept:
|
||||||
|
- e
|
||||||
|
|||||||
@@ -8,3 +8,6 @@ Style/Documentation:
|
|||||||
|
|
||||||
Layout/LineLength:
|
Layout/LineLength:
|
||||||
Max: 140
|
Max: 140
|
||||||
|
|
||||||
|
Metrics/BlockNesting:
|
||||||
|
Max: 4
|
||||||
|
|||||||
+41
-38
@@ -2,53 +2,54 @@ forge 'forge.puppetlabs.com'
|
|||||||
moduledir 'external_modules'
|
moduledir 'external_modules'
|
||||||
|
|
||||||
# puppetlabs
|
# puppetlabs
|
||||||
mod 'puppetlabs-stdlib', '9.1.0'
|
mod 'puppetlabs-stdlib', '9.7.0'
|
||||||
mod 'puppetlabs-inifile', '6.0.0'
|
mod 'puppetlabs-inifile', '6.2.0'
|
||||||
mod 'puppetlabs-concat', '9.0.0'
|
mod 'puppetlabs-concat', '9.1.0'
|
||||||
mod 'puppetlabs-vcsrepo', '6.1.0'
|
mod 'puppetlabs-vcsrepo', '7.0.0'
|
||||||
mod 'puppetlabs-yumrepo_core', '2.0.0'
|
mod 'puppetlabs-yumrepo_core', '2.1.0'
|
||||||
mod 'puppetlabs-apt', '9.4.0'
|
mod 'puppetlabs-apt', '10.0.1'
|
||||||
mod 'puppetlabs-lvm', '2.1.0'
|
mod 'puppetlabs-lvm', '3.0.1'
|
||||||
mod 'puppetlabs-puppetdb', '7.13.0'
|
mod 'puppetlabs-puppetdb', '7.14.0'
|
||||||
mod 'puppetlabs-postgresql', '9.1.0'
|
mod 'puppetlabs-postgresql', '9.2.0'
|
||||||
mod 'puppetlabs-accounts', '8.1.0'
|
mod 'puppetlabs-firewall', '8.1.4'
|
||||||
mod 'puppetlabs-mysql', '15.0.0'
|
mod 'puppetlabs-accounts', '8.2.2'
|
||||||
|
mod 'puppetlabs-mysql', '16.2.0'
|
||||||
mod 'puppetlabs-xinetd', '3.4.1'
|
mod 'puppetlabs-xinetd', '3.4.1'
|
||||||
mod 'puppetlabs-haproxy', '8.0.0'
|
mod 'puppetlabs-haproxy', '8.2.0'
|
||||||
mod 'puppetlabs-java', '10.1.2'
|
mod 'puppetlabs-java', '11.1.0'
|
||||||
mod 'puppetlabs-reboot', '5.0.0'
|
mod 'puppetlabs-reboot', '5.1.0'
|
||||||
mod 'puppetlabs-docker', '10.0.1'
|
mod 'puppetlabs-docker', '10.2.0'
|
||||||
|
|
||||||
# puppet
|
# puppet
|
||||||
mod 'puppet-python', '7.0.0'
|
mod 'puppet-python', '7.4.0'
|
||||||
mod 'puppet-systemd', '5.1.0'
|
mod 'puppet-systemd', '8.1.0'
|
||||||
mod 'puppet-yum', '7.0.0'
|
mod 'puppet-yum', '7.2.0'
|
||||||
mod 'puppet-archive', '7.0.0'
|
mod 'puppet-archive', '7.1.0'
|
||||||
mod 'puppet-chrony', '2.6.0'
|
mod 'puppet-chrony', '3.0.0'
|
||||||
mod 'puppet-puppetboard', '9.0.0'
|
mod 'puppet-puppetboard', '11.0.0'
|
||||||
mod 'puppet-nginx', '5.0.0'
|
mod 'puppet-nginx', '6.0.1'
|
||||||
mod 'puppet-selinux', '4.1.0'
|
mod 'puppet-selinux', '5.0.0'
|
||||||
mod 'puppet-prometheus', '13.4.0'
|
mod 'puppet-prometheus', '16.0.0'
|
||||||
mod 'puppet-grafana', '13.1.0'
|
mod 'puppet-grafana', '14.1.0'
|
||||||
mod 'puppet-consul', '8.0.0'
|
mod 'puppet-consul', '9.1.0'
|
||||||
mod 'puppet-vault', '4.1.0'
|
mod 'puppet-vault', '4.1.1'
|
||||||
mod 'puppet-dhcp', '6.1.0'
|
mod 'puppet-dhcp', '6.1.0'
|
||||||
mod 'puppet-keepalived', '5.1.0'
|
mod 'puppet-keepalived', '5.1.0'
|
||||||
mod 'puppet-extlib', '7.0.0'
|
mod 'puppet-extlib', '7.5.1'
|
||||||
mod 'puppet-network', '2.2.0'
|
mod 'puppet-network', '2.2.1'
|
||||||
mod 'puppet-kmod', '4.0.1'
|
mod 'puppet-kmod', '4.1.0'
|
||||||
mod 'puppet-filemapper', '4.0.0'
|
mod 'puppet-filemapper', '4.0.0'
|
||||||
mod 'puppet-letsencrypt', '11.0.0'
|
mod 'puppet-letsencrypt', '11.1.0'
|
||||||
mod 'puppet-rundeck', '9.1.0'
|
mod 'puppet-rundeck', '9.2.0'
|
||||||
mod 'puppet-redis', '11.0.0'
|
mod 'puppet-redis', '11.1.0'
|
||||||
mod 'puppet-ipset', '4.3.0'
|
mod 'puppet-nodejs', '11.0.0'
|
||||||
mod 'puppet-nftables', '4.0.0'
|
|
||||||
|
|
||||||
# other
|
# other
|
||||||
mod 'ghoneycutt-puppet', '3.3.0'
|
mod 'saz-sudo', '9.0.2'
|
||||||
mod 'saz-sudo', '8.0.0'
|
mod 'saz-ssh', '13.1.0'
|
||||||
mod 'saz-ssh', '12.1.0'
|
mod 'saz-limits', '5.0.0'
|
||||||
mod 'ghoneycutt-timezone', '4.0.0'
|
mod 'ghoneycutt-timezone', '4.0.0'
|
||||||
|
mod 'ghoneycutt-puppet', '3.3.0'
|
||||||
mod 'dalen-puppetdbquery', '3.0.1'
|
mod 'dalen-puppetdbquery', '3.0.1'
|
||||||
mod 'markt-galera', '3.1.0'
|
mod 'markt-galera', '3.1.0'
|
||||||
mod 'kogitoapp-minio', '1.1.4'
|
mod 'kogitoapp-minio', '1.1.4'
|
||||||
@@ -57,6 +58,8 @@ mod 'stm-file_capability', '6.0.0'
|
|||||||
mod 'h0tw1r3-gitea', '3.2.0'
|
mod 'h0tw1r3-gitea', '3.2.0'
|
||||||
mod 'rehan-mkdir', '2.0.0'
|
mod 'rehan-mkdir', '2.0.0'
|
||||||
mod 'tailoredautomation-patroni', '2.0.0'
|
mod 'tailoredautomation-patroni', '2.0.0'
|
||||||
|
mod 'ssm-crypto_policies', '0.3.3'
|
||||||
|
mod 'thias-sysctl', '1.0.8'
|
||||||
|
|
||||||
mod 'bind',
|
mod 'bind',
|
||||||
:git => 'https://git.service.au-syd1.consul/unkinben/puppet-bind.git',
|
:git => 'https://git.service.au-syd1.consul/unkinben/puppet-bind.git',
|
||||||
|
|||||||
+52
-46
@@ -36,6 +36,12 @@ lookup_options:
|
|||||||
profiles::haproxy::server::listeners:
|
profiles::haproxy::server::listeners:
|
||||||
merge:
|
merge:
|
||||||
strategy: deep
|
strategy: deep
|
||||||
|
profiles::accounts::root::sshkeys:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
|
profiles::accounts::sysadmin::sshkeys:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
haproxy::backend:
|
haproxy::backend:
|
||||||
merge:
|
merge:
|
||||||
strategy: deep
|
strategy: deep
|
||||||
@@ -135,6 +141,20 @@ lookup_options:
|
|||||||
keepalived::vrrp_instance:
|
keepalived::vrrp_instance:
|
||||||
merge:
|
merge:
|
||||||
strategy: deep
|
strategy: deep
|
||||||
|
profiles::etcd::node::initial_cluster_token:
|
||||||
|
convert_to: Sensitive
|
||||||
|
sysctl::base::values:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
|
limits::entries:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
|
zfs::zpools:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
|
zfs::datasets:
|
||||||
|
merge:
|
||||||
|
strategy: deep
|
||||||
|
|
||||||
facts_path: '/opt/puppetlabs/facter/facts.d'
|
facts_path: '/opt/puppetlabs/facter/facts.d'
|
||||||
|
|
||||||
@@ -143,30 +163,35 @@ hiera_include:
|
|||||||
- networking
|
- networking
|
||||||
- ssh::server
|
- ssh::server
|
||||||
- profiles::accounts::rundeck
|
- profiles::accounts::rundeck
|
||||||
- firewall::rules::in::exporters
|
- limits
|
||||||
- firewall::rules::in::consul
|
- sysctl::base
|
||||||
- firewall::rules::out::consul
|
- exporters::node_exporter
|
||||||
- firewall::rules::out::dns
|
|
||||||
- firewall::rules::out::http
|
|
||||||
- firewall::rules::out::https
|
|
||||||
- firewall::rules::out::ntp
|
|
||||||
- firewall::rules::out::puppet
|
|
||||||
- firewall::rules::out::vault
|
|
||||||
|
|
||||||
profiles::ntp::client::ntp_role: 'roles::infra::ntp::server'
|
|
||||||
profiles::ntp::client::use_ntp: 'region'
|
|
||||||
profiles::ntp::client::peers:
|
profiles::ntp::client::peers:
|
||||||
- 0.pool.ntp.org
|
- 0.au.pool.ntp.org
|
||||||
- 1.pool.ntp.org
|
- 1.au.pool.ntp.org
|
||||||
- 2.pool.ntp.org
|
- 2.au.pool.ntp.org
|
||||||
- 3.pool.ntp.org
|
- 3.au.pool.ntp.org
|
||||||
|
|
||||||
profiles::base::puppet_servers:
|
profiles::base::puppet_servers:
|
||||||
- 'prodinf01n01.main.unkin.net'
|
- 'prodinf01n01.main.unkin.net'
|
||||||
|
|
||||||
|
consul::install_method: 'package'
|
||||||
|
consul::manage_repo: false
|
||||||
|
consul::bin_dir: /usr/bin
|
||||||
|
|
||||||
|
vault::install_method: 'repo'
|
||||||
|
vault::manage_repo: false
|
||||||
|
vault::bin_dir: /usr/bin
|
||||||
|
vault::manage_service_file: true
|
||||||
|
vault::manage_config_dir: true
|
||||||
|
vault::disable_mlock: false
|
||||||
|
|
||||||
|
profiles::dns::base::nameservers:
|
||||||
|
- 198.18.19.16
|
||||||
profiles::dns::master::basedir: '/var/named/sources'
|
profiles::dns::master::basedir: '/var/named/sources'
|
||||||
profiles::dns::base::ns_role: 'roles::infra::dns::resolver'
|
#profiles::dns::base::ns_role: 'roles::infra::dns::resolver'
|
||||||
profiles::dns::base::use_ns: 'region'
|
#profiles::dns::base::use_ns: 'region'
|
||||||
profiles::consul::server::members_role: roles::infra::storage::consul
|
profiles::consul::server::members_role: roles::infra::storage::consul
|
||||||
profiles::consul::token::node_editor::accessor_id: '024e27bd-c5bb-41e7-a578-b766509e11bc'
|
profiles::consul::token::node_editor::accessor_id: '024e27bd-c5bb-41e7-a578-b766509e11bc'
|
||||||
profiles::consul::client::members_lookup: true
|
profiles::consul::client::members_lookup: true
|
||||||
@@ -181,6 +206,9 @@ profiles::consul::client::node_rules:
|
|||||||
- resource: node
|
- resource: node
|
||||||
segment: ''
|
segment: ''
|
||||||
disposition: read
|
disposition: read
|
||||||
|
- resource: service
|
||||||
|
segment: node_exporter
|
||||||
|
disposition: write
|
||||||
|
|
||||||
profiles::packages::include:
|
profiles::packages::include:
|
||||||
bash-completion: {}
|
bash-completion: {}
|
||||||
@@ -264,7 +292,8 @@ profiles::puppet::client::dns_alt_names:
|
|||||||
puppetdbapi: puppetdbapi.query.consul
|
puppetdbapi: puppetdbapi.query.consul
|
||||||
puppetdbsql: puppetdbsql.service.au-syd1.consul
|
puppetdbsql: puppetdbsql.service.au-syd1.consul
|
||||||
|
|
||||||
prometheus::node_exporter::export_scrape_job: true
|
exporters::node_exporter::enable: true
|
||||||
|
exporters::node_exporter::cleanup_old_node_exporter: true
|
||||||
prometheus::systemd_exporter::export_scrape_job: true
|
prometheus::systemd_exporter::export_scrape_job: true
|
||||||
|
|
||||||
ssh::server::storeconfigs_enabled: false
|
ssh::server::storeconfigs_enabled: false
|
||||||
@@ -329,6 +358,11 @@ networking::route_defaults:
|
|||||||
netmask: 0.0.0.0
|
netmask: 0.0.0.0
|
||||||
network: default
|
network: default
|
||||||
|
|
||||||
|
# logging:
|
||||||
|
victorialogs::client::journald::enable: true
|
||||||
|
victorialogs::client::journald::inserturl: https://vlinsert.service.consul:9428/insert/journald
|
||||||
|
|
||||||
|
# FIXME these are for the proxmox ceph cluster
|
||||||
profiles::ceph::client::fsid: 7f7f00cb-95de-498c-8dcc-14b54e4e9ca8
|
profiles::ceph::client::fsid: 7f7f00cb-95de-498c-8dcc-14b54e4e9ca8
|
||||||
profiles::ceph::client::mons:
|
profiles::ceph::client::mons:
|
||||||
- 10.18.15.1
|
- 10.18.15.1
|
||||||
@@ -350,31 +384,3 @@ profiles::ceph::client::mons:
|
|||||||
# aliases:
|
# aliases:
|
||||||
# - prodinf01n22
|
# - prodinf01n22
|
||||||
# - repos.main.unkin.net
|
# - repos.main.unkin.net
|
||||||
|
|
||||||
firewall::enable: true
|
|
||||||
firewall::ipset_queries:
|
|
||||||
certbot: "enc_role=roles::infra::pki::certbot"
|
|
||||||
cobbler: "enc_role=roles::infra::cobbler::server"
|
|
||||||
consul: "enc_role=roles::infra::storage::consul"
|
|
||||||
dhcp: "enc_role=roles::infra::dhcp::server"
|
|
||||||
dns_master: "enc_role=roles::infra::dns::master"
|
|
||||||
dns_resolver: "enc_role=roles::infra::dns::resolver"
|
|
||||||
edgecache: "enc_role=roles::infra::storage::edgecache"
|
|
||||||
gitea_runner: "enc_role=roles::infra::git::runner"
|
|
||||||
gitea_server: "enc_role=roles::infra::git::gitea"
|
|
||||||
glauth: "enc_role=roles::infra::auth::glauth"
|
|
||||||
gonic: "enc_role=roles::apps::music::gonic"
|
|
||||||
grafana: "enc_role=roles::infra::metrics::grafana"
|
|
||||||
haproxy: "enc_role=roles::infra::halb::haproxy"
|
|
||||||
jumphost: "enc_role=roles::infra::proxy::jumphost"
|
|
||||||
ntp: "enc_role=roles::infra::ntp::server"
|
|
||||||
prometheus: "enc_role=roles::infra::metrics::prometheus"
|
|
||||||
puppetboard: "enc_role=roles::infra::puppetboard::server"
|
|
||||||
puppetmaster: "enc_role=roles::infra::puppet::master"
|
|
||||||
puppetdb_sql: "enc_role=roles::infra::puppetdb::sql"
|
|
||||||
puppetdb_api: "enc_role=roles::infra::puppetdb::api"
|
|
||||||
redis: "enc_role=roles::infra::db::redis"
|
|
||||||
rundeck: "enc_role=roles::infra::automation::rundeck"
|
|
||||||
sql_galera: "enc_role=roles::infra::sql::galera"
|
|
||||||
sql_patroni: "enc_role=roles::infra::sql::patroni"
|
|
||||||
vault: "enc_role=roles::infra::storage::vault"
|
|
||||||
|
|||||||
@@ -1,2 +1,9 @@
|
|||||||
---
|
---
|
||||||
timezone::timezone: 'Australia/Darwin'
|
timezone::timezone: 'Australia/Darwin'
|
||||||
|
profiles_dns_upstream_forwarder_unkin:
|
||||||
|
- 198.18.17.23
|
||||||
|
- 198.18.17.24
|
||||||
|
profiles_dns_upstream_forwarder_consul:
|
||||||
|
- 198.18.17.34
|
||||||
|
- 198.18.17.35
|
||||||
|
- 198.18.17.36
|
||||||
|
|||||||
@@ -1,52 +1 @@
|
|||||||
---
|
---
|
||||||
profiles::dns::resolver::zones:
|
|
||||||
main.unkin.net-forward:
|
|
||||||
domain: 'main.unkin.net'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
13.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '13.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
14.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '14.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
15.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '15.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
16.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '16.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
17.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '17.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.23
|
|
||||||
- 198.18.17.24
|
|
||||||
forward: 'only'
|
|
||||||
consul-forward:
|
|
||||||
domain: 'consul'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.17.34
|
|
||||||
- 198.18.17.35
|
|
||||||
- 198.18.17.36
|
|
||||||
forward: 'only'
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
---
|
---
|
||||||
timezone::timezone: 'Australia/Sydney'
|
timezone::timezone: 'Australia/Sydney'
|
||||||
certbot::client::webserver: ausyd1nxvm1021.main.unkin.net
|
certbot::client::webserver: ausyd1nxvm2057.main.unkin.net
|
||||||
|
profiles_dns_upstream_forwarder_unkin:
|
||||||
|
- 198.18.19.15
|
||||||
|
profiles_dns_upstream_forwarder_consul:
|
||||||
|
- 198.18.19.14
|
||||||
|
|||||||
@@ -1,52 +1 @@
|
|||||||
---
|
---
|
||||||
profiles::dns::resolver::zones:
|
|
||||||
main.unkin.net-forward:
|
|
||||||
domain: 'main.unkin.net'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
13.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '13.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
14.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '14.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
15.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '15.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
16.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '16.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
17.18.198.in-addr.arpa-forward:
|
|
||||||
domain: '17.18.198.in-addr.arpa'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.14
|
|
||||||
- 198.18.13.15
|
|
||||||
forward: 'only'
|
|
||||||
consul-forward:
|
|
||||||
domain: 'consul'
|
|
||||||
zone_type: 'forward'
|
|
||||||
forwarders:
|
|
||||||
- 198.18.13.19
|
|
||||||
- 198.18.13.20
|
|
||||||
- 198.18.13.21
|
|
||||||
forward: 'only'
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ hiera_include:
|
|||||||
- keepalived
|
- keepalived
|
||||||
|
|
||||||
# keepalived
|
# keepalived
|
||||||
profiles::haproxy::dns::vrrp_ipaddr: '198.18.13.250'
|
profiles::haproxy::dns::ipaddr: '198.18.13.250'
|
||||||
profiles::haproxy::dns::vrrp_cnames:
|
profiles::haproxy::dns::vrrp_cnames:
|
||||||
- sonarr.main.unkin.net
|
- sonarr.main.unkin.net
|
||||||
- radarr.main.unkin.net
|
- radarr.main.unkin.net
|
||||||
|
|||||||
@@ -0,0 +1,305 @@
|
|||||||
|
---
|
||||||
|
profiles::haproxy::dns::ipaddr: "%{hiera('anycast_ip')}"
|
||||||
|
profiles::haproxy::dns::vrrp_cnames:
|
||||||
|
- sonarr.main.unkin.net
|
||||||
|
- radarr.main.unkin.net
|
||||||
|
- lidarr.main.unkin.net
|
||||||
|
- readarr.main.unkin.net
|
||||||
|
- prowlarr.main.unkin.net
|
||||||
|
- nzbget.main.unkin.net
|
||||||
|
- git.unkin.net
|
||||||
|
- fafflix.unkin.net
|
||||||
|
- grafana.unkin.net
|
||||||
|
|
||||||
|
profiles::haproxy::mappings:
|
||||||
|
fe_http:
|
||||||
|
ensure: present
|
||||||
|
mappings:
|
||||||
|
- 'au-syd1-pve.main.unkin.net be_ausyd1pve_web'
|
||||||
|
- 'au-syd1-pve-api.main.unkin.net be_ausyd1pve_api'
|
||||||
|
- 'sonarr.main.unkin.net be_sonarr'
|
||||||
|
- 'radarr.main.unkin.net be_radarr'
|
||||||
|
- 'lidarr.main.unkin.net be_lidarr'
|
||||||
|
- 'readarr.main.unkin.net be_readarr'
|
||||||
|
- 'prowlarr.main.unkin.net be_prowlarr'
|
||||||
|
- 'nzbget.main.unkin.net be_nzbget'
|
||||||
|
- 'jellyfin.main.unkin.net be_jellyfin'
|
||||||
|
- 'fafflix.unkin.net be_jellyfin'
|
||||||
|
- 'git.unkin.net be_gitea'
|
||||||
|
- 'grafana.unkin.net be_grafana'
|
||||||
|
fe_https:
|
||||||
|
ensure: present
|
||||||
|
mappings:
|
||||||
|
- 'au-syd1-pve.main.unkin.net be_ausyd1pve_web'
|
||||||
|
- 'au-syd1-pve-api.main.unkin.net be_ausyd1pve_api'
|
||||||
|
- 'sonarr.main.unkin.net be_sonarr'
|
||||||
|
- 'radarr.main.unkin.net be_radarr'
|
||||||
|
- 'lidarr.main.unkin.net be_lidarr'
|
||||||
|
- 'readarr.main.unkin.net be_readarr'
|
||||||
|
- 'prowlarr.main.unkin.net be_prowlarr'
|
||||||
|
- 'nzbget.main.unkin.net be_nzbget'
|
||||||
|
- 'jellyfin.main.unkin.net be_jellyfin'
|
||||||
|
- 'fafflix.unkin.net be_jellyfin'
|
||||||
|
- 'git.unkin.net be_gitea'
|
||||||
|
- 'grafana.unkin.net be_grafana'
|
||||||
|
|
||||||
|
profiles::haproxy::frontends:
|
||||||
|
fe_http:
|
||||||
|
options:
|
||||||
|
use_backend:
|
||||||
|
- "%[req.hdr(host),lower,map(/etc/haproxy/fe_http.map,be_default)]"
|
||||||
|
fe_https:
|
||||||
|
options:
|
||||||
|
acl:
|
||||||
|
- 'acl_ausyd1pve req.hdr(host) -i au-syd1-pve.main.unkin.net'
|
||||||
|
- 'acl_sonarr req.hdr(host) -i sonarr.main.unkin.net'
|
||||||
|
- 'acl_radarr req.hdr(host) -i radarr.main.unkin.net'
|
||||||
|
- 'acl_lidarr req.hdr(host) -i lidarr.main.unkin.net'
|
||||||
|
- 'acl_readarr req.hdr(host) -i readarr.main.unkin.net'
|
||||||
|
- 'acl_prowlarr req.hdr(host) -i prowlarr.main.unkin.net'
|
||||||
|
- 'acl_nzbget req.hdr(host) -i nzbget.main.unkin.net'
|
||||||
|
- 'acl_jellyfin req.hdr(host) -i jellyfin.main.unkin.net'
|
||||||
|
- 'acl_fafflix req.hdr(host) -i fafflix.unkin.net'
|
||||||
|
- 'acl_gitea req.hdr(host) -i git.unkin.net'
|
||||||
|
- 'acl_grafana req.hdr(host) -i grafana.unkin.net'
|
||||||
|
- 'acl_internalsubnets src 198.18.0.0/16 10.10.12.0/24'
|
||||||
|
use_backend:
|
||||||
|
- "%[req.hdr(host),lower,map(/etc/haproxy/fe_https.map,be_default)]"
|
||||||
|
http-request:
|
||||||
|
- 'deny if { hdr_dom(host) -i au-syd1-pve.main.unkin.net } !acl_internalsubnets'
|
||||||
|
http-response:
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_ausyd1pve'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_sonarr'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_radarr'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_lidarr'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_readarr'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_prowlarr'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_nzbget'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_jellyfin'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_fafflix'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_gitea'
|
||||||
|
- 'set-header X-Frame-Options DENY if acl_grafana'
|
||||||
|
- 'set-header X-Content-Type-Options nosniff'
|
||||||
|
- 'set-header X-XSS-Protection 1;mode=block'
|
||||||
|
|
||||||
|
profiles::haproxy::backends:
|
||||||
|
be_ausyd1pve_web:
|
||||||
|
description: Backend for au-syd1 pve cluster (Web)
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_ausyd1pve_api:
|
||||||
|
description: Backend for au-syd1 pve cluster (API only)
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_sonarr:
|
||||||
|
description: Backend for au-syd1 sonarr
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_radarr:
|
||||||
|
description: Backend for au-syd1 radarr
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_lidarr:
|
||||||
|
description: Backend for au-syd1 lidarr
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_readarr:
|
||||||
|
description: Backend for au-syd1 readarr
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_prowlarr:
|
||||||
|
description: Backend for au-syd1 prowlarr
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_nzbget:
|
||||||
|
description: Backend for au-syd1 nzbget
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /consul/health
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_jellyfin:
|
||||||
|
description: Backend for au-syd1 jellyfin
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
be_gitea:
|
||||||
|
description: Backend for gitea cluster
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
stick-table: 'type ip size 200k expire 30m'
|
||||||
|
stick: 'on src'
|
||||||
|
be_grafana:
|
||||||
|
description: Backend for grafana nodes
|
||||||
|
collect_exported: false # handled in custom function
|
||||||
|
options:
|
||||||
|
balance: roundrobin
|
||||||
|
option:
|
||||||
|
- httpchk GET /
|
||||||
|
- forwardfor
|
||||||
|
- http-keep-alive
|
||||||
|
- prefer-last-server
|
||||||
|
cookie: SRVNAME insert indirect nocache
|
||||||
|
http-reuse: always
|
||||||
|
http-request:
|
||||||
|
- set-header X-Forwarded-Port %[dst_port]
|
||||||
|
- add-header X-Forwarded-Proto https if { dst_port 443 }
|
||||||
|
redirect: 'scheme https if !{ ssl_fc }'
|
||||||
|
stick-table: 'type ip size 200k expire 30m'
|
||||||
|
stick: 'on src'
|
||||||
|
|
||||||
|
profiles::haproxy::certlist::enabled: true
|
||||||
|
profiles::haproxy::certlist::certificates:
|
||||||
|
- /etc/pki/tls/letsencrypt/au-syd1-pve.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/au-syd1-pve-api.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/sonarr.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/radarr.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/lidarr.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/readarr.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/prowlarr.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/nzbget.main.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/fafflix.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/git.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/letsencrypt/grafana.unkin.net/fullchain_combined.pem
|
||||||
|
- /etc/pki/tls/vault/certificate.pem
|
||||||
|
|
||||||
|
# additional altnames
|
||||||
|
profiles::pki::vault::alt_names:
|
||||||
|
- au-syd1-pve.main.unkin.net
|
||||||
|
- au-syd1-pve-api.main.unkin.net
|
||||||
|
- jellyfin.main.unkin.net
|
||||||
|
|
||||||
|
# additional cnames
|
||||||
|
profiles::haproxy::dns::cnames:
|
||||||
|
- au-syd1-pve.main.unkin.net
|
||||||
|
- au-syd1-pve-api.main.unkin.net
|
||||||
|
|
||||||
|
# letsencrypt certificates
|
||||||
|
certbot::client::service: haproxy
|
||||||
|
certbot::client::domains:
|
||||||
|
- au-syd1-pve.main.unkin.net
|
||||||
|
- au-syd1-pve-api.main.unkin.net
|
||||||
|
- sonarr.main.unkin.net
|
||||||
|
- radarr.main.unkin.net
|
||||||
|
- lidarr.main.unkin.net
|
||||||
|
- readarr.main.unkin.net
|
||||||
|
- prowlarr.main.unkin.net
|
||||||
|
- nzbget.main.unkin.net
|
||||||
|
- fafflix.unkin.net
|
||||||
|
- git.unkin.net
|
||||||
|
- grafana.unkin.net
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.10
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.11
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.12
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.13
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.14
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.15
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.16
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.17
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.18
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.19
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.20
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.21
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.22
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.23
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.24
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.25
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
|
|
||||||
profiles::haproxy::dns::vrrp_master: true
|
|
||||||
keepalived::vrrp_instance:
|
|
||||||
VI_250:
|
|
||||||
state: 'MASTER'
|
|
||||||
priority: 101
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.26
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
|
|
||||||
keepalived::vrrp_instance:
|
|
||||||
VI_250:
|
|
||||||
state: 'BACKUP'
|
|
||||||
priority: 100
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
profiles::cobbler::params::is_cobbler_master: true
|
|
||||||
networking::interfaces:
|
|
||||||
ens18:
|
|
||||||
ipaddress: 198.18.13.27
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
interface: ens18
|
|
||||||
|
|
||||||
profiles::almalinux::base::remove_ens18: false
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.28
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.29
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.30
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
ens18:
|
|
||||||
ipaddress: 198.18.13.31
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
interface: ens18
|
|
||||||
|
|
||||||
profiles::almalinux::base::remove_ens18: false
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.32
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.33
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.34
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.35
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.36
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.37
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.38
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.39
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.40
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.41
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.42
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.43
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.44
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.45
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.47
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.47
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.48
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.49
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.50
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.50
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.51
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.51
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.52
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.52
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.53
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.53
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.54
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.55
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.56
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.57
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.57
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.58
|
|
||||||
ens19:
|
|
||||||
ensure: present
|
|
||||||
family: inet
|
|
||||||
method: static
|
|
||||||
ipaddress: 10.18.15.58
|
|
||||||
netmask: 255.255.255.0
|
|
||||||
onboot: true
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.59
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.60
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.61
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.62
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.63
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.64
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.65
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.66
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.67
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.68
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.69
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
-6
@@ -13,9 +13,3 @@ profiles::ssh::sign::principals:
|
|||||||
|
|
||||||
profiles::puppet::puppetca::is_puppetca: true
|
profiles::puppet::puppetca::is_puppetca: true
|
||||||
profiles::puppet::puppetca::allow_subject_alt_names: true
|
profiles::puppet::puppetca::allow_subject_alt_names: true
|
||||||
networking::interfaces:
|
|
||||||
eth0:
|
|
||||||
ipaddress: 198.18.13.46
|
|
||||||
networking::routes:
|
|
||||||
default:
|
|
||||||
gateway: 198.18.13.254
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
profiles::cobbler::params::is_cobbler_master: true
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
profiles::puppet::server::dns_alt_names:
|
|
||||||
- puppetca.main.unkin.net
|
|
||||||
- puppetca.service.consul
|
|
||||||
- puppetca.query.consul
|
|
||||||
- puppetca
|
|
||||||
|
|
||||||
profiles::puppet::puppetca::is_puppetca: false
|
|
||||||
profiles::puppet::puppetca::allow_subject_alt_names: true
|
|
||||||
|
|
||||||
hiera_exclude:
|
|
||||||
- networking
|
|
||||||
@@ -1,5 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_clusterinit_master: true
|
networking_loopback0_ip: 198.18.19.1 # management loopback
|
||||||
profiles::proxmox::params::pve_ceph_mon: true
|
networking_loopback1_ip: 198.18.22.1 # ceph-cluster loopback
|
||||||
profiles::proxmox::params::pve_ceph_mgr: true
|
networking_loopback2_ip: 198.18.23.1 # ceph-public loopback
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_1000_ip: 198.18.15.1 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.1 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:75:c3:60
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:ac:d0:00:00:50
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_mon: true
|
networking_loopback0_ip: 198.18.19.2 # management loopback
|
||||||
profiles::proxmox::params::pve_ceph_mgr: true
|
networking_loopback1_ip: 198.18.22.2 # ceph-cluster loopback
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback2_ip: 198.18.23.2 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.2 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.2 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:74:b6:08
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:e0:4c:68:08:43
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_mon: true
|
networking_loopback0_ip: 198.18.19.3 # management loopback
|
||||||
profiles::proxmox::params::pve_ceph_mgr: true
|
networking_loopback1_ip: 198.18.22.3 # ceph-cluster loopback
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback2_ip: 198.18.23.3 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.3 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.3 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: b8:85:84:a3:25:c5
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:e0:4c:68:07:82
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback0_ip: 198.18.19.4 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.4 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.4 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.4 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.4 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:75:d5:00
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:ac:d0:00:00:43
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback0_ip: 198.18.19.5 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.5 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.5 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.5 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.5 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp1s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: 54:bf:64:a0:08:64
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:e0:4c:68:07:79
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback0_ip: 198.18.19.6 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.6 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.6 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.6 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.6 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:75:10:8d
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:ac:d0:00:00:53
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback0_ip: 198.18.19.7 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.7 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.7 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.7 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.7 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:74:b4:27
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:ac:d0:00:00:5b
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
---
|
---
|
||||||
profiles::proxmox::params::pve_ceph_osd: true
|
networking_loopback0_ip: 198.18.19.8 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.8 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.8 # ceph-public loopback
|
||||||
|
networking_1000_ip: 198.18.15.8 # 1gbe network
|
||||||
|
networking_2500_ip: 198.18.21.8 # 2.5gbe network
|
||||||
|
networking_1000_iface: enp2s0
|
||||||
|
networking_2500_iface: enp3s0
|
||||||
|
networking::interfaces:
|
||||||
|
"%{hiera('networking_1000_iface')}":
|
||||||
|
mac: d8:9e:f3:75:06:18
|
||||||
|
"%{hiera('networking_2500_iface')}":
|
||||||
|
mac: 00:e0:4c:68:08:4b
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.19.9 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.9 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.9 # ceph-public loopback
|
||||||
|
networking_br10_ip: 198.18.25.254
|
||||||
|
networking::interfaces:
|
||||||
|
enp2s0:
|
||||||
|
mac: 70:b5:e8:38:e9:8d
|
||||||
|
ipaddress: 198.18.15.9
|
||||||
|
gateway: 198.18.15.254
|
||||||
|
enp3s0:
|
||||||
|
mac: 00:e0:4c:68:0f:5d
|
||||||
|
ipaddress: 198.18.21.9
|
||||||
|
|
||||||
|
#zfs::zpools:
|
||||||
|
# fastpool:
|
||||||
|
# ensure: present
|
||||||
|
# disk: /dev/nvme0n1
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.19.10 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.10 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.10 # ceph-public loopback
|
||||||
|
networking_br10_ip: 198.18.26.254
|
||||||
|
networking::interfaces:
|
||||||
|
enp2s0:
|
||||||
|
mac: 70:b5:e8:38:e9:37
|
||||||
|
ipaddress: 198.18.15.10
|
||||||
|
gateway: 198.18.15.254
|
||||||
|
enp3s0:
|
||||||
|
mac: 00:e0:4c:68:0f:de
|
||||||
|
ipaddress: 198.18.21.10
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.19.11 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.11 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.11 # ceph-public loopback
|
||||||
|
networking_br10_ip: 198.18.27.254
|
||||||
|
networking::interfaces:
|
||||||
|
enp2s0:
|
||||||
|
mac: 70:b5:e8:38:e9:0f
|
||||||
|
ipaddress: 198.18.15.11
|
||||||
|
gateway: 198.18.15.254
|
||||||
|
enp3s0:
|
||||||
|
mac: 00:e0:4c:68:0f:55
|
||||||
|
ipaddress: 198.18.21.11
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.19.12 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.12 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.12 # ceph-public loopback
|
||||||
|
networking_br10_ip: 198.18.28.254
|
||||||
|
networking::interfaces:
|
||||||
|
enp2s0:
|
||||||
|
mac: 70:b5:e8:4f:05:1e
|
||||||
|
ipaddress: 198.18.15.12
|
||||||
|
gateway: 198.18.15.254
|
||||||
|
enp3s0:
|
||||||
|
mac: 00:e0:4c:68:0f:e5
|
||||||
|
ipaddress: 198.18.21.12
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.19.13 # management loopback
|
||||||
|
networking_loopback1_ip: 198.18.22.13 # ceph-cluster loopback
|
||||||
|
networking_loopback2_ip: 198.18.23.13 # ceph-public loopback
|
||||||
|
networking_br10_ip: 198.18.29.254
|
||||||
|
networking::interfaces:
|
||||||
|
enp2s0:
|
||||||
|
mac: 70:b5:e8:4f:04:b0
|
||||||
|
ipaddress: 198.18.15.13
|
||||||
|
gateway: 198.18.15.254
|
||||||
|
enp3s0:
|
||||||
|
mac: 00:e0:4c:68:0f:36
|
||||||
|
ipaddress: 198.18.21.13
|
||||||
@@ -1,2 +1,23 @@
|
|||||||
# hieradata/os/AlmaLinux/AlmaLinux8.yaml
|
# hieradata/os/AlmaLinux/AlmaLinux8.yaml
|
||||||
---
|
---
|
||||||
|
crypto_policies::policy: 'DEFAULT'
|
||||||
|
|
||||||
|
profiles::packages::include:
|
||||||
|
network-scripts: {}
|
||||||
|
|
||||||
|
profiles::yum::global::repos:
|
||||||
|
powertools:
|
||||||
|
name: powertools
|
||||||
|
descr: powertools repository
|
||||||
|
target: /etc/yum.repos.d/powertools.repo
|
||||||
|
baseurl: https://edgecache.query.consul/almalinux/%{facts.os.release.full}/PowerTools/%{facts.os.architecture}/os
|
||||||
|
gpgkey: http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
||||||
|
mirrorlist: absent
|
||||||
|
unkin:
|
||||||
|
name: unkin
|
||||||
|
descr: unkin repository
|
||||||
|
target: /etc/yum.repos.d/unkin.repo
|
||||||
|
baseurl: https://git.query.consul/api/packages/unkin/rpm/almalinux/el8
|
||||||
|
gpgkey: https://git.query.consul/api/packages/unkin/rpm/repository.key
|
||||||
|
gpgcheck: false
|
||||||
|
mirrorlist: absent
|
||||||
|
|||||||
@@ -1,2 +1,36 @@
|
|||||||
# hieradata/os/AlmaLinux/AlmaLinux9.yaml
|
# hieradata/os/AlmaLinux/AlmaLinux9.yaml
|
||||||
---
|
---
|
||||||
|
crypto_policies::policy: 'DEFAULT:SHA1'
|
||||||
|
|
||||||
|
profiles::yum::global::repos:
|
||||||
|
baseos:
|
||||||
|
baseurl: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/baseos-daily/%{facts.os.architecture}/os/
|
||||||
|
gpgkey: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/baseos-daily/%{facts.os.architecture}/os//RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
mirrorlist: absent
|
||||||
|
extras:
|
||||||
|
baseurl: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/extras-daily/%{facts.os.architecture}/os/
|
||||||
|
gpgkey: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/extras-daily/%{facts.os.architecture}/os//RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
mirrorlist: absent
|
||||||
|
appstream:
|
||||||
|
baseurl: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/appstream-daily/%{facts.os.architecture}/os/
|
||||||
|
gpgkey: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/appstream-daily/%{facts.os.architecture}/os//RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
mirrorlist: absent
|
||||||
|
highavailability:
|
||||||
|
baseurl: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/ha-daily/%{facts.os.architecture}/os/
|
||||||
|
gpgkey: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/ha-daily/%{facts.os.architecture}/os//RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
mirrorlist: absent
|
||||||
|
crb:
|
||||||
|
name: crb
|
||||||
|
descr: crb repository
|
||||||
|
target: /etc/yum.repos.d/crb.repo
|
||||||
|
baseurl: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/crb-daily/%{facts.os.architecture}/os/
|
||||||
|
gpgkey: https://packagerepo.service.consul/almalinux/%{facts.os.release.full}/crb-daily/%{facts.os.architecture}/os//RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
mirrorlist: absent
|
||||||
|
unkin:
|
||||||
|
name: unkin
|
||||||
|
descr: unkin repository
|
||||||
|
target: /etc/yum.repos.d/unkin.repo
|
||||||
|
baseurl: https://git.query.consul/api/packages/unkin/rpm/almalinux/el9
|
||||||
|
gpgkey: https://git.query.consul/api/packages/unkin/rpm/repository.key
|
||||||
|
gpgcheck: false
|
||||||
|
mirrorlist: absent
|
||||||
|
|||||||
@@ -3,16 +3,14 @@
|
|||||||
profiles::firewall::firewalld::ensure_package: 'absent'
|
profiles::firewall::firewalld::ensure_package: 'absent'
|
||||||
profiles::firewall::firewalld::ensure_service: 'stopped'
|
profiles::firewall::firewalld::ensure_service: 'stopped'
|
||||||
profiles::firewall::firewalld::enable_service: false
|
profiles::firewall::firewalld::enable_service: false
|
||||||
profiles::puppet::agent::puppet_version: '7.26.0'
|
profiles::puppet::agent::puppet_version: '7.34.0'
|
||||||
|
|
||||||
hiera_include:
|
hiera_include:
|
||||||
- profiles::almalinux::base
|
- profiles::almalinux::base
|
||||||
|
|
||||||
profiles::packages::include:
|
profiles::packages::include:
|
||||||
|
crypto-policies-scripts: {}
|
||||||
lzo: {}
|
lzo: {}
|
||||||
firewalld:
|
|
||||||
ensure: absent
|
|
||||||
network-scripts: {}
|
|
||||||
policycoreutils: {}
|
policycoreutils: {}
|
||||||
unar: {}
|
unar: {}
|
||||||
xz: {}
|
xz: {}
|
||||||
@@ -41,13 +39,6 @@ profiles::yum::global::repos:
|
|||||||
baseurl: https://edgecache.query.consul/almalinux/%{facts.os.release.full}/AppStream/%{facts.os.architecture}/os
|
baseurl: https://edgecache.query.consul/almalinux/%{facts.os.release.full}/AppStream/%{facts.os.architecture}/os
|
||||||
gpgkey: http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
gpgkey: http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
powertools:
|
|
||||||
name: powertools
|
|
||||||
descr: powertools repository
|
|
||||||
target: /etc/yum.repos.d/powertools.repo
|
|
||||||
baseurl: https://edgecache.query.consul/almalinux/%{facts.os.release.full}/PowerTools/%{facts.os.architecture}/os
|
|
||||||
gpgkey: http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-%{facts.os.release.major}
|
|
||||||
mirrorlist: absent
|
|
||||||
highavailability:
|
highavailability:
|
||||||
name: highavailability
|
name: highavailability
|
||||||
descr: highavailability repository
|
descr: highavailability repository
|
||||||
@@ -59,19 +50,19 @@ profiles::yum::global::repos:
|
|||||||
name: epel
|
name: epel
|
||||||
descr: epel repository
|
descr: epel repository
|
||||||
target: /etc/yum.repos.d/epel.repo
|
target: /etc/yum.repos.d/epel.repo
|
||||||
baseurl: https://edgecache.query.consul/epel/%{facts.os.release.major}/Everything/%{facts.os.architecture}
|
baseurl: https://packagerepo.service.consul/epel/%{facts.os.release.major}/everything-daily/%{facts.os.architecture}/os/
|
||||||
gpgkey: http://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-%{facts.os.release.major}
|
gpgkey: https://packagerepo.service.consul/epel/%{facts.os.release.major}/everything-daily/%{facts.os.architecture}/os/RPM-GPG-KEY-EPEL-%{facts.os.release.major}
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
puppet:
|
puppet:
|
||||||
name: puppet
|
name: puppet
|
||||||
descr: puppet repository
|
descr: puppet repository
|
||||||
target: /etc/yum.repos.d/puppet.repo
|
target: /etc/yum.repos.d/puppet.repo
|
||||||
baseurl: https://yum.puppet.com/puppet7/el/%{facts.os.release.major}/%{facts.os.architecture}
|
baseurl: https://packagerepo.service.consul/puppet7/el/%{facts.os.release.major}-daily/%{facts.os.architecture}/os/
|
||||||
gpgkey: https://yum.puppet.com/RPM-GPG-KEY-puppet-20250406
|
gpgkey: https://packagerepo.service.consul/puppet7/el/%{facts.os.release.major}-daily/%{facts.os.architecture}/os/RPM-GPG-KEY-puppet-20250406
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
unkin:
|
unkinben:
|
||||||
name: unkin
|
name: unkinben
|
||||||
descr: unkin repository
|
descr: unkinben repository
|
||||||
target: /etc/yum.repos.d/unkin.repo
|
target: /etc/yum.repos.d/unkin.repo
|
||||||
baseurl: https://git.query.consul/api/packages/unkinben/rpm/el%{facts.os.release.major}
|
baseurl: https://git.query.consul/api/packages/unkinben/rpm/el%{facts.os.release.major}
|
||||||
gpgkey: https://git.query.consul/api/packages/unkinben/rpm/repository.key
|
gpgkey: https://git.query.consul/api/packages/unkinben/rpm/repository.key
|
||||||
|
|||||||
@@ -13,3 +13,7 @@ profiles::packages::include:
|
|||||||
|
|
||||||
lm-sensors::package: lm-sensors
|
lm-sensors::package: lm-sensors
|
||||||
networking::nwmgr_dns_none: false
|
networking::nwmgr_dns_none: false
|
||||||
|
|
||||||
|
consul::install_method: 'url'
|
||||||
|
consul::manage_repo: false
|
||||||
|
consul::bin_dir: /usr/local/bin
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
profiles::jupyter::jupyterhub::ldap_bind_pass: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAJspN3e2WzA0uZaLgFZ0Ewqii9dY0tTgbirsW70M2VZtLY+s+C6HE8ZZUtpfnRsFwUUhOj7s25X9xVOZNTpZIGPyfx9MWlSyFw2RFuXSEwaydf1DcBbg8261YrTTysA4Jsa1L4DLsX55q+XJUyeUbimVQkIacVIvzTdnZCBKnVNUh3U2PNAmV7SOL2KH8Jpbfs/EQfBt8XuGMCg3I/4RDyoNERqthW6W2KiMX2Gmd8iQ5+W9udH0lEAMx415oyImmN+dEuThcx9FGMi8BWYtnxH96yWafpT5qltwW6EVzIGWuLhiD1LcWYc5RB8jc3DhbeouChpKsN6c4EHoKt3aWsTBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBC8jcnqilJgY1/AnHWHfX4bgDCi2a3Rj43Z0dgfB5HaHdpfked3Cx+u94r2S5+Cg3QogU1AIF04rjzOL+bD2HdaMfo=]
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
---
|
||||||
|
profiles::packages::include:
|
||||||
|
python3.12: {}
|
||||||
|
python3.12-pip: {}
|
||||||
|
|
||||||
|
hiera_include:
|
||||||
|
- docker
|
||||||
|
- profiles::nginx::simpleproxy
|
||||||
|
|
||||||
|
# manage docker
|
||||||
|
docker::version: latest
|
||||||
|
docker::curl_ensure: false
|
||||||
|
docker::root_dir: /data/docker
|
||||||
|
|
||||||
|
# manage a simple nginx reverse proxy
|
||||||
|
profiles::nginx::simpleproxy::nginx_vhost: 'jupyterhub.query.consul'
|
||||||
|
profiles::nginx::simpleproxy::nginx_aliases:
|
||||||
|
- jupyterhub.service.consul
|
||||||
|
- jupyterhub.query.consul
|
||||||
|
- "jupyterhub.service.%{facts.country}-%{facts.region}.consul"
|
||||||
|
|
||||||
|
profiles::nginx::simpleproxy::proxy_host: 127.0.0.1
|
||||||
|
profiles::nginx::simpleproxy::proxy_port: 8000
|
||||||
|
profiles::nginx::simpleproxy::proxy_path: '/'
|
||||||
|
profiles::nginx::simpleproxy::use_default_location: false
|
||||||
|
nginx::client_max_body_size: 20M
|
||||||
|
|
||||||
|
profiles::nginx::simpleproxy::locations:
|
||||||
|
# authorised access from external
|
||||||
|
default:
|
||||||
|
ensure: 'present'
|
||||||
|
server: "%{lookup('profiles::nginx::simpleproxy::nginx_vhost')}"
|
||||||
|
ssl_only: true
|
||||||
|
location: '/'
|
||||||
|
proxy: "http://%{lookup('profiles::nginx::simpleproxy::proxy_host')}:%{lookup('profiles::nginx::simpleproxy::proxy_port')}"
|
||||||
|
proxy_set_header:
|
||||||
|
- 'Host $host'
|
||||||
|
- 'X-Real-IP $remote_addr'
|
||||||
|
- 'X-Forwarded-For $proxy_add_x_forwarded_for'
|
||||||
|
- 'X-Forwarded-Host $host'
|
||||||
|
- 'X-Forwarded-Proto $scheme'
|
||||||
|
- 'Upgrade $http_upgrade'
|
||||||
|
- 'Connection $http_connection'
|
||||||
|
- 'X-Scheme $scheme'
|
||||||
|
proxy_redirect: 'off'
|
||||||
|
proxy_http_version: '1.1'
|
||||||
|
proxy_buffering: 'off'
|
||||||
|
|
||||||
|
# additional altnames
|
||||||
|
profiles::pki::vault::alt_names:
|
||||||
|
- jupyterhub.service.consul
|
||||||
|
- jupyterhub.query.consul
|
||||||
|
- "jupyterhub.service.%{facts.country}-%{facts.region}.consul"
|
||||||
|
|
||||||
|
# configure consul service
|
||||||
|
consul::services:
|
||||||
|
jupyterhub:
|
||||||
|
service_name: 'jupyterhub'
|
||||||
|
tags:
|
||||||
|
- 'jupyterhub'
|
||||||
|
address: "%{facts.networking.ip}"
|
||||||
|
port: 443
|
||||||
|
checks:
|
||||||
|
- id: 'jupyterhub_http_check'
|
||||||
|
name: 'jupyterhub HTTP Check'
|
||||||
|
http: "https://%{facts.networking.fqdn}"
|
||||||
|
method: 'GET'
|
||||||
|
tls_skip_verify: true
|
||||||
|
interval: '10s'
|
||||||
|
timeout: '1s'
|
||||||
|
profiles::consul::client::node_rules:
|
||||||
|
- resource: service
|
||||||
|
segment: jupyterhub
|
||||||
|
disposition: write
|
||||||
@@ -69,8 +69,7 @@ profiles::nginx::simpleproxy::locations:
|
|||||||
location_allow:
|
location_allow:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- "%{facts.networking.ip}"
|
- "%{facts.networking.ip}"
|
||||||
- 198.18.13.25
|
- 198.18.24.0/24
|
||||||
- 198.18.13.26
|
|
||||||
location_deny:
|
location_deny:
|
||||||
- all
|
- all
|
||||||
# authorised access from external
|
# authorised access from external
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- jellyfin
|
- jellyfin
|
||||||
|
|
||||||
|
profiles::packages::include:
|
||||||
|
intel-media-driver: {}
|
||||||
|
libva-intel-driver: {}
|
||||||
|
libva-intel-hybrid-driver: {}
|
||||||
|
intel-mediasdk: {}
|
||||||
|
|
||||||
# manage jellyfin
|
# manage jellyfin
|
||||||
jellyfin::params::service_enable: true
|
jellyfin::params::service_enable: true
|
||||||
|
|
||||||
@@ -61,3 +67,11 @@ profiles::yum::global::repos:
|
|||||||
baseurl: https://download1.rpmfusion.org/nonfree/el/updates/%{facts.os.release.major}/%{facts.os.architecture}
|
baseurl: https://download1.rpmfusion.org/nonfree/el/updates/%{facts.os.release.major}/%{facts.os.architecture}
|
||||||
gpgkey: https://download1.rpmfusion.org/nonfree/el/RPM-GPG-KEY-rpmfusion-nonfree-el-%{facts.os.release.major}
|
gpgkey: https://download1.rpmfusion.org/nonfree/el/RPM-GPG-KEY-rpmfusion-nonfree-el-%{facts.os.release.major}
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
|
unkinben:
|
||||||
|
name: unkinben
|
||||||
|
descr: unkinben repository
|
||||||
|
target: /etc/yum.repos.d/unkin.repo
|
||||||
|
baseurl: https://git.query.consul/api/packages/unkinben/rpm/el8
|
||||||
|
gpgkey: https://git.query.consul/api/packages/unkinben/rpm/repository.key
|
||||||
|
gpgcheck: false
|
||||||
|
mirrorlist: absent
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- lidarr
|
- lidarr
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- profiles::media::lidarr
|
||||||
|
|
||||||
# manage lidarr
|
# manage lidarr
|
||||||
lidarr::params::user: lidarr
|
lidarr::params::user: lidarr
|
||||||
|
|||||||
@@ -4,12 +4,19 @@ hiera_include:
|
|||||||
- nzbget
|
- nzbget
|
||||||
- profiles::media::nzbget
|
- profiles::media::nzbget
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- exporters::nzbget_exporter
|
||||||
|
|
||||||
|
profiles::packages::include:
|
||||||
|
unrar: {}
|
||||||
|
|
||||||
# manage nzbget
|
# manage nzbget
|
||||||
nzbget::params::user: nzbget
|
nzbget::params::user: nzbget
|
||||||
nzbget::params::group: media
|
nzbget::params::group: media
|
||||||
nzbget::params::manage_group: false
|
nzbget::params::manage_group: false
|
||||||
|
|
||||||
|
# nzbget_exporter
|
||||||
|
exporters::nzbget_exporter::enable: true
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- nzbget.main.unkin.net
|
- nzbget.main.unkin.net
|
||||||
@@ -59,6 +66,9 @@ profiles::consul::client::node_rules:
|
|||||||
- resource: service
|
- resource: service
|
||||||
segment: nzbget
|
segment: nzbget
|
||||||
disposition: write
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: nzbget_exporter
|
||||||
|
disposition: write
|
||||||
|
|
||||||
profiles::yum::global::repos:
|
profiles::yum::global::repos:
|
||||||
rpmfusion-free:
|
rpmfusion-free:
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- prowlarr
|
- prowlarr
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- profiles::media::prowlarr
|
||||||
|
- exporters::exportarr
|
||||||
|
|
||||||
# manage prowlarr
|
# manage prowlarr
|
||||||
prowlarr::params::user: prowlarr
|
prowlarr::params::user: prowlarr
|
||||||
@@ -10,6 +12,12 @@ prowlarr::params::manage_group: false
|
|||||||
prowlarr::params::archive_version: 1.19.0
|
prowlarr::params::archive_version: 1.19.0
|
||||||
prowlarr::params::port: 8000
|
prowlarr::params::port: 8000
|
||||||
|
|
||||||
|
# exportarr
|
||||||
|
exporters::exportarr::enable: true
|
||||||
|
exporters::exportarr::app: prowlarr
|
||||||
|
exporters::exportarr::api_key: "%{hiera('prowlarr::api_key')}"
|
||||||
|
exporters::exportarr::backfill: true
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- prowlarr.main.unkin.net
|
- prowlarr.main.unkin.net
|
||||||
@@ -54,6 +62,9 @@ profiles::consul::client::node_rules:
|
|||||||
- resource: service
|
- resource: service
|
||||||
segment: prowlarr
|
segment: prowlarr
|
||||||
disposition: write
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: exportarr
|
||||||
|
disposition: write
|
||||||
|
|
||||||
profiles::nginx::simpleproxy::locations:
|
profiles::nginx::simpleproxy::locations:
|
||||||
arrstack_web_external:
|
arrstack_web_external:
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- radarr
|
- radarr
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- profiles::media::radarr
|
||||||
|
- exporters::exportarr
|
||||||
|
|
||||||
# manage radarr
|
# manage radarr
|
||||||
radarr::params::user: radarr
|
radarr::params::user: radarr
|
||||||
@@ -10,6 +12,10 @@ radarr::params::manage_group: false
|
|||||||
radarr::params::archive_version: 5.7.0
|
radarr::params::archive_version: 5.7.0
|
||||||
radarr::params::port: 8000
|
radarr::params::port: 8000
|
||||||
|
|
||||||
|
# exportarr
|
||||||
|
exporters::exportarr::enable: true
|
||||||
|
exporters::exportarr::app: radarr
|
||||||
|
exporters::exportarr::api_key: "%{hiera('radarr::api_key')}"
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
@@ -55,3 +61,6 @@ profiles::consul::client::node_rules:
|
|||||||
- resource: service
|
- resource: service
|
||||||
segment: radarr
|
segment: radarr
|
||||||
disposition: write
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: exportarr
|
||||||
|
disposition: write
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- readarr
|
- readarr
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- profiles::media::readarr
|
||||||
|
|
||||||
# manage readarr
|
# manage readarr
|
||||||
readarr::params::user: readarr
|
readarr::params::user: readarr
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- sonarr
|
- sonarr
|
||||||
- profiles::nginx::ldapauth
|
- profiles::nginx::ldapauth
|
||||||
|
- profiles::media::sonarr
|
||||||
|
- exporters::exportarr
|
||||||
|
|
||||||
# manage sonarr
|
# manage sonarr
|
||||||
sonarr::params::user: sonarr
|
sonarr::params::user: sonarr
|
||||||
@@ -10,6 +12,11 @@ sonarr::params::manage_group: false
|
|||||||
sonarr::params::archive_version: 4.0.5
|
sonarr::params::archive_version: 4.0.5
|
||||||
sonarr::params::port: 8000
|
sonarr::params::port: 8000
|
||||||
|
|
||||||
|
# exportarr
|
||||||
|
exporters::exportarr::enable: true
|
||||||
|
exporters::exportarr::app: sonarr
|
||||||
|
exporters::exportarr::api_key: "%{hiera('sonarr::api_key')}"
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- sonarr.main.unkin.net
|
- sonarr.main.unkin.net
|
||||||
@@ -54,3 +61,6 @@ profiles::consul::client::node_rules:
|
|||||||
- resource: service
|
- resource: service
|
||||||
segment: sonarr
|
segment: sonarr
|
||||||
disposition: write
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: exportarr
|
||||||
|
disposition: write
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user