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})
This commit is contained in:
2023-12-24 13:54:40 +11:00
parent f260b09d49
commit d8751ac6c8
15 changed files with 449 additions and 7 deletions
+2
View File
@@ -7,6 +7,8 @@ lookup_options:
merge:
strategy: deep
facts_path: '/opt/puppetlabs/facter/facts.d'
profiles::ntp::client::ntp_role: 'roles::infra::ntp::server'
profiles::ntp::client::peers:
- 0.pool.ntp.org
@@ -0,0 +1,6 @@
---
profiles::minio::server::minio_members: 5
profiles::minio::server::blockdev:
- /dev/sda
- /dev/sdb
profiles::minio::server::minio_storage_class: 'EC:2'
@@ -0,0 +1,2 @@
---
profiles::minio::server::minio_root_pass: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAcAGh4K8P/bOwHs7FEAssBcYgtT+FlkMW4/jpJf230sbOh0jswvCl0woQMMw+AIpkXNJ//YcmDBkhdE92RCK8C4Xi/2nkdWjPt9FQwuT47BhAKISjunRs9R61dKj5aOwAlTQ3lNtsQsknGz17AMTyPEGQC9SnPxYirLRr9VgJX/EKPjl7M2LbkZTJChwIE6IiT+LSzye7YgpkJ7O6h4jNIp5ryWaUqSUfooYjqHc1zl4Bs9ZfyY1K/CWCTIbtd4hY1ZlskRlVa9yA0cWhsufV0gw43RA/bCAJPowLc64bZ4XlLx9Fy0qHKjTCDRLzysUoq0QjIR2Ulf1TkcCJAVLwFDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBC3+P+RW/JoQemkVJE/mpAngDAw1JpFkBvLj4AlbJePvpnG+fFN8coOE+5N94NgGd9Gtl2NZt/g5x/7xFHS28cSlIg=]
+9
View File
@@ -0,0 +1,9 @@
---
profiles::minio::server::minio_members_role: roles::infra::storage::minio
profiles::minio::server::minio_root_user: admin
profiles::minio::server::minio_opts:
- '--anonymous'
profiles::minio::server::minio_members_lookup: true
profiles::minio::server::version: 'RELEASE.2023-12-20T01-00-02Z'
profiles::minio::server::checksum: '09fafaf399885b4912bafda6fa03fc4ccbc39ec45e17239677217317915d6aeb'
profiles::minio::server::checksum_type: 'sha256'