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
e682462917
feat: split puppetdb role into api and sql
...
- add puppetdb_api and puppetdb_sql role
- add puppetdb_api and puppetdb_sql profile
- add prodinf01n05 to /etc/hosts file
- set listen_address for all services to be hosts ip
- set storeconfigs and storeconfigs_backend to be managed by puppetmaster profile
2023-10-22 21:55:50 +11:00
58961d0399
Merge pull request 'feat: add firewalld management profile' ( #31 ) from neoloc/firewalld into develop
...
Reviewed-on: unkinben/puppet-prod#31
2023-10-22 18:27:38 +09:30
6bb52f2a15
feat: add firewalld management profile
...
- basic profile to enable/disable, and install/remove
- defaulting to enabled and installed, but set to disabled and removed
in hiera
2023-10-22 19:54:10 +11:00
cfe30823b4
Merge pull request 'fix: found typo in r10k script' ( #30 ) from neoloc/r10k_typo into develop
...
Reviewed-on: unkinben/puppet-prod#30
2023-10-22 00:02:43 +09:30
f772215630
fix: found typo in r10k script
2023-10-22 01:30:57 +11:00
2faed5de72
Merge pull request 'fix: set the puppetdb_host correctly' ( #29 ) from neoloc/puppetdb_server_loc into develop
...
Reviewed-on: unkinben/puppet-prod#29
2023-10-21 23:17:00 +09:30
c6c36e8351
fix: set the puppetdb_host correctly
...
- change the puppetdb::master::config from include to class statement
- set the puppetdb_host value to match what is stored in hiera
- disable firewall management on the puppetdb host
2023-10-22 00:40:12 +11:00
92b73019cd
Merge pull request 'feat: add management of /etc/hosts' ( #28 ) from neoloc/hostsfile into develop
...
Reviewed-on: unkinben/puppet-prod#28
2023-10-21 23:05:30 +09:30
95434214a9
feat: add management of /etc/hosts
...
- add class to manage the /etc/hosts file
- add static hosts to /etc/hosts file via hiera array/hash
2023-10-22 00:34:22 +11:00
aaee62afad
Merge pull request 'Added class to manage a default set of scripts' ( #27 ) from neoloc/puppet_wrapper into develop
...
Reviewed-on: unkinben/puppet-prod#27
2023-10-21 22:32:30 +09:30