Ben Vincent
f8b30f335b
Merge pull request 'feat: add consul server profile' ( #111 ) from neoloc/consul_server into develop
...
Reviewed-on: unkinben/puppet-prod#111
2024-02-11 15:56:24 +09:30
8cb6b68b53
feat: add consul server profile
...
- install/configure consul
- install/configure dnsmasq as dns proxy for consul
- add unkin yumrepo definition as source for consul
- update datavol to ensure the /data volume is mounted
2024-02-11 17:12:35 +11:00
Ben Vincent
a0434fc7b5
Merge pull request 'feat: cleanup reposync conf files' ( #110 ) from neoloc/cleanup_reposync_conf into develop
...
Reviewed-on: unkinben/puppet-prod#110
2024-02-10 14:15:00 +09:30
71c316e7ae
feat: cleanup reposync conf files
...
- add feature to /etc/reposync/conf.d to ensure the subfiles are cleaned
up when they are not defined
2024-02-10 15:37:24 +11:00
Ben Vincent
d1c61dd13d
Merge pull request 'feat: cleanup almalinux 8.8 reposync' ( #109 ) from neoloc/cleanup_alma8.8_repos into develop
...
Reviewed-on: unkinben/puppet-prod#109
2024-02-10 14:03:24 +09:30
Ben Vincent
4bce524b49
Merge pull request 'feat: puppet wrapper replace dot' ( #108 ) from neoloc/puppetwrapper_dot into develop
...
Reviewed-on: unkinben/puppet-prod#108
2024-02-10 14:02:48 +09:30
a054a94d98
feat: puppet wrapper replace dot
...
- set puppet wrapper to replace '.' with '_' in the branch name
2024-02-10 15:31:45 +11:00
Ben Vincent
974143c84e
Merge pull request 'fix: recursive restorecon for reposync' ( #107 ) from neoloc/restorecon_repos into develop
...
Reviewed-on: unkinben/puppet-prod#107
2024-02-10 13:50:35 +09:30
8332d4f374
fix: recursive restorecon for reposync
...
- set reposync to restore selinux controls on all files in the new
snap_path
2024-02-10 15:19:12 +11:00
Ben Vincent
6b11ea09c7
Merge pull request 'feat: add vault role' ( #106 ) from neoloc/vault_role into develop
...
Reviewed-on: unkinben/puppet-prod#106
2024-02-10 12:47:12 +09:30
d6eeed0b61
feat: add vault role
...
- add basic vault role to begin building servers
2024-02-10 14:16:51 +11:00
5471294f1e
feat: cleanup almalinux 8.8 reposync
...
- syncing almalinux 8.8 no longer required
2024-02-10 14:13:59 +11:00
Ben Vincent
27d6c15c80
Merge pull request 'feat: add consul role' ( #105 ) from neoloc/consul_role into develop
...
Reviewed-on: unkinben/puppet-prod#105
2024-02-06 21:23:33 +09:30
dc97d15ef9
feat: add consul role
2024-02-06 22:51:59 +11:00
2779de4b9d
Merge pull request 'feat: add haproxy role' ( #103 ) from neoloc/haproxy_role into develop
...
Reviewed-on: unkinben/puppet-prod#103
2024-01-07 17:05:22 +09:30
da53e28f0e
feat: add haproxy role
...
- add infra::halb section for highly available load balancers
2024-01-07 18:34:34 +11:00
86a231b3ee
Merge pull request 'fix: fix minio certificate param' ( #102 ) from neoloc/minio_undef into develop
...
Reviewed-on: unkinben/puppet-prod#102
2024-01-05 20:31:55 +09:30
db23e203c6
fix: fix minio certificate param
...
- change enum['string', undef] to an optional param so undef can be set
2024-01-05 22:00:10 +11:00
Ben Vincent
f2a9f40f7f
Merge pull request 'feat: add minio profile' ( #101 ) from neoloc/minio_profile into develop
...
Reviewed-on: unkinben/puppet-prod#101
2024-01-05 20:16:01 +09:30
d8751ac6c8
feat: add minio profile
...
- add additional modules in Puppetfile
- update puppetlabs-lvm to 2.1.0
- add facts.d base path to hieradata
- add infra/storage and infra/storage/minio role data to hieradata
- add new facts for minio setup status
- add a static yaml minio-facts file to assist dynamic ruby facts
- updated hiera with additional directories (country/{role,region})
2024-01-05 21:44:41 +11:00
Ben Vincent
f260b09d49
Merge pull request 'fix: fixed fact variables in hiera.yaml' ( #100 ) from neoloc/hiera_variables into develop
...
Reviewed-on: unkinben/puppet-prod#100
2023-12-28 16:01:46 +09:30
8e0ab95872
fix: fixed fact variables in hiera.yaml
...
- replaced ${..} with %{..}
2023-12-28 17:30:26 +11:00
Ben Vincent
2b4e1e1d03
Merge pull request 'feat: remove boolean for bind::updater' ( #99 ) from neoloc/add_bind_utils_woops into develop
...
Reviewed-on: unkinben/puppet-prod#99
2023-12-26 15:02:29 +09:30
aabce289a4
feat: remove boolean for bind::updater
...
- default to the default set by the module
2023-12-26 16:31:40 +11:00
Ben Vincent
a049338c9d
Merge pull request 'feat: install bind-utils' ( #98 ) from neoloc/add_bind_utils into develop
...
Reviewed-on: unkinben/puppet-prod#98
2023-12-26 14:58:10 +09:30
a144e4ec2d
feat: install bind-utils
2023-12-26 16:27:28 +11:00
Ben Vincent
920f12b45e
Merge pull request 'feat: add/update location facts' ( #97 ) from neoloc/location_facts into develop
...
Reviewed-on: unkinben/puppet-prod#97
2023-12-26 13:23:17 +09:30
dbec0222b3
feat: add/update location facts
...
- add country fact, change region to exclude country string
2023-12-26 14:51:40 +11:00
42211ddf7d
Merge pull request 'feat: add new datavol' ( #96 ) from neoloc/datavol_define into develop
...
Reviewed-on: unkinben/puppet-prod#96
2023-12-24 12:45:36 +09:30
ff83769ffc
Merge pull request 'feat: add region fact' ( #95 ) from neoloc/region_fact into develop
...
Reviewed-on: unkinben/puppet-prod#95
2023-12-24 12:44:15 +09:30
7431ebf51c
feat: add region fact
...
- add fact that maps primary ip subnet to a region code
- defaults to 'lost' if there is no subnet to region mapping
2023-12-24 14:12:54 +11:00
0c1548fbd8
feat: add new datavol
...
- add datavol define to replace the datavol class, which has more
flexibility through additional params, and the ability to call it
multiple times for multiple datavolumes
2023-12-24 12:54:09 +11:00
a0786f3f67
Merge pull request 'feat: add minio base role' ( #94 ) from neoloc/minio_role into develop
...
Reviewed-on: unkinben/puppet-prod#94
2023-12-22 17:47:47 +09:30
dcf83aa466
feat: add minio base role
2023-12-22 19:17:04 +11:00
2b1f20b4ca
Merge pull request 'fix: check for python3_version' ( #93 ) from neoloc/node_lookup into develop
...
Reviewed-on: unkinben/puppet-prod#93
2023-12-18 22:25:04 +09:30
f9562a9109
fix: check for python3_version
...
- check for python3 version before attempting to setup node_lookup
2023-12-18 23:51:39 +11:00
b6c7e3fd2d
Merge pull request 'feat: add selinux support to puppetboard' ( #92 ) from neoloc/nginx_selinux into develop
...
Reviewed-on: unkinben/puppet-prod#92
2023-12-11 20:46:30 +09:30
bf729d9b11
feat: add selinux support to puppetboard
...
- required to allow nginx to reach puppetdb
2023-12-11 22:14:45 +11:00
2d10f9e861
Merge pull request 'feat: manage ruby/puppet gems' ( #91 ) from neoloc/puppetmaster_gems into develop
...
Reviewed-on: unkinben/puppet-prod#91
2023-12-11 20:38:18 +09:30
5b75cf735a
feat: manage ruby/puppet gems
...
- manage installation of puppet_gem packages for puppetmasters
2023-12-11 22:07:23 +11:00
7f270675b1
Merge pull request 'feat: add nodelookup' ( #90 ) from neoloc/nodelookup into develop
...
Reviewed-on: unkinben/puppet-prod#90
2023-12-11 19:47:23 +09:30
685d7db264
feat: add nodelookup
...
- add helper script to make quering puppetdb easier and more efficient
2023-12-11 21:15:48 +11:00
6f088b04cc
Merge pull request 'feat: setup galera cluster member profile' ( #89 ) from neoloc/mariadbgalera into develop
...
Reviewed-on: unkinben/puppet-prod#89
2023-12-10 15:05:38 +09:30
d998fbd85a
Merge branch 'develop' into neoloc/mariadbgalera
2023-12-10 16:34:42 +11:00
11a98b16bb
feat: setup galera cluster member profile
...
- add eyaml support for role
- add /data volume for galera cluster members
- create profiles::selinux namespace for defining selinux configuration
- create profiles::selinux::mysqld for managing specifics for mysqld
- create profiles::selinux::setenforce to manage selinux mode
- parameterised options required in mysqld::server module
- add mariadb repo
- add additional facts for managing mysqld and galera
2023-12-10 16:31:57 +11:00
bfedbaca5f
Merge pull request 'fix: failed to test previously' ( #88 ) from neoloc/mysql_wsrep_fact_invalid_next into develop
...
Reviewed-on: unkinben/puppet-prod#88
2023-12-08 20:04:38 +09:30
a9aabfa161
fix: failed to test previously
...
- change next's outside of a loop to a single if statement
2023-12-08 21:32:32 +11:00
c91e3e632e
Merge pull request 'feat: mysql wsrep_ facts' ( #87 ) from neoloc/mysql_wsrep_fact into develop
...
Reviewed-on: unkinben/puppet-prod#87
2023-12-08 19:56:09 +09:30
ebd20a5e5a
feat: mysql wsrep_ facts
...
- add facts generated from mysql's wsrep status variables
2023-12-08 21:25:01 +11:00
d261e3348d
Merge pull request 'feat: add/remove capabilities for packages' ( #86 ) from neoloc/base_packages_refactor into develop
...
Reviewed-on: unkinben/puppet-prod#86
2023-12-03 16:38:17 +09:30