Commit Graph

481 Commits

Author SHA1 Message Date
Ben Vincent
dd12726842 Merge pull request 'feat: add resolver/authoritive dns roles' (#57) from neoloc/bindserver into develop
Reviewed-on: unkinben/puppet-prod#57
2023-11-12 13:11:56 +09:30
Ben Vincent
5276731d23 Merge pull request 'fix: datavol profile doesnt create the mountpoint' (#56) from neoloc/datavol_create_mountpath into develop
Reviewed-on: unkinben/puppet-prod#56
2023-11-12 12:55:29 +09:30
Ben Vincent
823594fa05 Merge pull request 'chore: reorganise hieradata' (#55) from neoloc/reorganise_hiera into develop
Reviewed-on: unkinben/puppet-prod#55
2023-11-12 12:34:02 +09:30
1999b96d24 Merge branch 'develop' into neoloc/reorganise_hiera
- added the additional powertools repo
2023-11-12 14:03:00 +11:00
0071f74e60 chore: reorganise hieradata
- move role specific hieradata into respective roles/* paths
2023-11-12 13:57:39 +11:00
02976779c3 Merge pull request 'feat: add powertools repo to reposync' (#54) from neoloc/powertools_repo into develop
Reviewed-on: unkinben/puppet-prod#54
2023-11-11 22:48:57 +09:30
2efde81fff feat: add powertools repo to reposync
- add http://mirror.aarnet.edu.au/pub/almalinux/8.8/PowerTools/x86_64/os/ to
  be synced and mirrored by reposync tools
2023-11-12 00:17:28 +11:00
Ben Vincent
79e37d9dae Merge pull request 'refactor: move to ruby-script facts' (#53) from neoloc/additional_enc_facts into develop
Reviewed-on: unkinben/puppet-prod#53
2023-11-11 22:15:42 +09:30
1b9a4f7832 refactor: move to ruby-script facts
- change enc_role_path fact to be ruby
- add enc_role_tier1, enc_role_tier2 and enc_role_tier3
- add new paths to hiera.yaml
2023-11-11 23:41:48 +11:00
1ff4611318 Merge branch 'develop' into neoloc/bind_resolver
- bring up to speed with rest of repo
2023-11-11 21:48:44 +11:00
7da58059d2 feat: add resolver/authoritive dns roles
- roles are currently empty, this just exists so I can branch off it
  and start building test servers with this role
2023-11-11 21:47:21 +11:00
c3b8044e1c Merge pull request 'chore: bump puppet-enc' (#52) from neoloc/bump_enc_ntpservers into develop
Reviewed-on: unkinben/puppet-prod#52
2023-11-10 22:53:03 +09:30
aef3311fce chore: bump puppet-enc
- includes ntpservers in ntpserver role
- unkinben/puppet-enc#25
2023-11-11 00:21:56 +11:00
881bdd6f86 Merge pull request 'neoloc/ntpserver' (#51) from neoloc/ntpserver into develop
Reviewed-on: unkinben/puppet-prod#51
2023-11-10 22:47:46 +09:30
9bfae72d2e Merge branch 'develop' into neoloc/ntpserver 2023-11-11 00:14:03 +11:00
ffdac8a7d9 Merge pull request 'feat: add enc_role_path fact' (#50) from neoloc/enc_role_path into develop
Reviewed-on: unkinben/puppet-prod#50
2023-11-10 22:35:10 +09:30
f73c16bca2 feat: add enc_role_path fact 2023-11-11 00:03:12 +11:00
9cb730d116 feat: add ntp server/client
- add ntp client and server class
- add ntp server role
- update hiera.yaml to work with enc_role
- cleanup base profile
2023-11-10 23:59:10 +11:00
11508f2538 Merge pull request 'feat: adding reposync wrapper and tooling' (#49) from neoloc/packagerepo into develop
Reviewed-on: unkinben/puppet-prod#49
2023-11-09 20:39:53 +09:30
a913e44176 Merge branch 'develop' into neoloc/packagerepo 2023-11-09 22:09:24 +11:00
19836e2069 feat: adding reposync wrapper and tooling
- add autosyncer/autopromoter scripts
- add timer and service to initial sync process
- add timer/service for daily/weekly/monthly autopromote
- add define to manage each repo
- add nginx webserver to share repos
- add favion.ico if enabled
- add selinux management, and packages for selinux
- cleanup package management, sorting package groups into package classes
2023-11-08 23:16:56 +11:00
7758252060 Merge pull request 'feat: add bash completion' (#48) from neoloc/bashcompletion into develop
Reviewed-on: unkinben/puppet-prod#48
2023-11-08 20:34:06 +09:30
058cc25008 feat: add bash completion
- quality of life addition to all hosts
2023-11-08 22:03:21 +11:00
d11dcc0b24 fix: datavol profile doesnt create the mountpoint
- add file resource to create the required mountpath
- add Array[Enum[]] for mount_options
- fix mount to ensure the mount_options are used
- remove pass and dump options, leave as defaults
2023-11-06 19:31:35 +11:00
Ben Vincent
f5ce438679 Merge pull request 'fix: variant regex results in error' (#47) from neoloc/datavol_size_pattern into develop
Reviewed-on: unkinben/puppet-prod#47
2023-11-05 19:33:28 +09:30
cb9af5a2a8 fix: variant regex results in error
- update the $size variant regex so it actually matches correctly
- default $size to undef, which results in 100%FREE
2023-11-05 18:11:53 +11:00
Ben Vincent
29bc5f39ac Merge pull request 'fix: bump enc' (#45) from neoloc/bump_enc into develop
Reviewed-on: unkinben/puppet-prod#45
2023-11-05 16:25:13 +09:30
36142a3565 fix: bump enc
unkinben/puppet-enc#24
2023-11-05 17:54:36 +11:00
Ben Vincent
b7b371a020 Merge pull request 'feat: adding base packagerepo role' (#44) from neoloc/packagerepo_role into develop
Reviewed-on: unkinben/puppet-prod#44
2023-11-05 16:16:28 +09:30
1d1541419a feat: adding base packagerepo role
- create roles::infra::packagerepo
- bump enc version
2023-11-05 17:45:13 +11:00
Ben Vincent
a81dec41d2 Merge pull request 'feat: add datavol class to manage /data' (#43) from neoloc/datavol into develop
Reviewed-on: unkinben/puppet-prod#43
2023-11-05 16:11:16 +09:30
6bbc14136f Merge branch 'develop' into neoloc/datavol 2023-11-05 17:40:19 +11:00
def2561e6c feat: add datavol class to manage /data
- included puppetlabs-lvm module
  - created profiles::base::datavol to:
    - create pv, vg, lv and format the filesystem and mount it
2023-11-05 17:37:10 +11:00
Ben Vincent
30e3afc163 Merge pull request 'feat: change enc repo to be tagged' (#42) from neoloc/enc_tagged_release into develop
Reviewed-on: unkinben/puppet-prod#42
2023-11-04 19:14:17 +09:30
56518f1fcb feat: change enc repo to be tagged
- enc repository will download a specific tag
- defaults to master
- hiera set to release tag '0.1'
2023-11-04 20:36:08 +11:00
Ben Vincent
3f1694d283 Merge pull request 'feat: add motd and facts' (#41) from neoloc/motd_profile into develop
Reviewed-on: unkinben/puppet-prod#41
2023-11-04 18:42:48 +09:30
0cc0bacad3 feat: add motd and facts
- use parameters created by the enc to create external facts
- use external facts to generate the motd
- use features from unkinben/puppet-enc#22
2023-11-04 20:11:20 +11:00
Ben Vincent
dc4a4942c2 Merge pull request 'fix: debian puppet_version different to EL' (#38) from neoloc/puppet_version_per_os into develop
Reviewed-on: unkinben/puppet-prod#38
2023-11-02 20:45:49 +09:30
a89a68bc61 fix: debian puppet_version different to EL
- change puppet_version to be set per-os in hieradata
2023-11-02 22:14:38 +11:00
Ben Vincent
85a7dec11c Merge pull request 'fix: digitalpacific epel repodata broken' (#37) from neoloc/epel_aarnet into develop
Reviewed-on: unkinben/puppet-prod#37
2023-11-02 20:40:08 +09:30
75a66a3339 fix: digitalpacific epel repodata broken
- change epel to read from aarnet
2023-11-02 22:08:00 +11:00
Ben Vincent
ca6f0abdc7 Merge pull request 'feat: add ceph osd/mds/mon roles' (#36) from neoloc/ceph_roles into develop
Reviewed-on: unkinben/puppet-prod#36
2023-11-02 18:43:41 +09:30
5076d7383a feat: add ceph osd/mds/mon roles
- basic roles currently
- will allow build of ceph to begin
2023-11-02 20:12:47 +11:00
Ben Vincent
89653912cb Merge pull request 'feat: manage puppet clients' (#35) from neoloc/puppetclient into develop
Reviewed-on: unkinben/puppet-prod#35
2023-10-29 18:59:52 +09:30
130669a130 feat: manage puppet clients
- manage the service
- manage the package, version lock it
- deploy the /etc/puppetlabs/puppet/puppet.conf from template for puppet
  clients only
2023-10-29 20:26:39 +11:00
Ben Vincent
cf26d2d2e7 Merge pull request 'feat: add puppetboard role' (#34) from neoloc/puppetboard into develop
Reviewed-on: unkinben/puppet-prod#34
2023-10-29 18:06:27 +09:30
46c3eb9597 feat: add puppetboard role
- add nginx module to manage reverse proxy on host level
- add puppetboard venv
- add gunicorn instance
- add script to start the gunicorn instance
- add nginx vhost
2023-10-29 19:33:11 +11:00
f8faad3ed6 Merge pull request 'feat: add features to puppet.conf' (#33) from neoloc/puppetconf into develop
Reviewed-on: unkinben/puppet-prod#33
2023-10-23 21:09:29 +09:30
0171a82d58 feat: add features to puppet.conf
- reports, for sending reports to puppetdb
- usecacheonfailure, to show faulures in puppetboard (when set to false)
2023-10-23 22:37:41 +11:00
ef0d865845 Merge pull request 'feat: split puppetdb role into api and sql' (#32) from neoloc/puppetdb2 into develop
Reviewed-on: unkinben/puppet-prod#32
2023-10-22 20:30:43 +09:30