Add Percona Server configuration and bootstrap profiles (#236)#239
Merged
akuzminsky merged 1 commit intomainfrom Jan 19, 2026
Merged
Add Percona Server configuration and bootstrap profiles (#236)#239akuzminsky merged 1 commit intomainfrom
akuzminsky merged 1 commit intomainfrom
Conversation
Implements complete Percona Server management: - packages.pp: Installs percona-server-server and client - config.pp: Configures my.cnf with GTID replication settings - service.pp: Manages MySQL service - bootstrap.pp: Calls ih-mysql CLI for master election and replica setup - mysqld.cnf.erb: MySQL configuration template Bootstrap uses ih-mysql from infrahouse-toolkit which handles: - Master election via DynamoDB distributed lock - MySQL user creation (repl, backup, monitor) on master only - Replica configuration with GTID replication - NLB target group registration Requires custom facts in /etc/puppetlabs/facter/facts.d/custom.json: - percona.cluster_id - percona.dynamodb_table - percona.credentials_secret - percona.vpc_cidr - percona.read_tg_arn - percona.write_tg_arn Closes #236
infrahouse8
approved these changes
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ih-mysqlCLI from infrahouse-toolkitChanges
packages.ppconfig.ppservice.ppbootstrap.ppih-mysql bootstrapfor master election and replica setupmysqld.cnf.erbBootstrap Behavior
The
ih-mysql bootstrapcommand (from infrahouse-toolkit) handles:Required Facts
Custom facts in
/etc/puppetlabs/facter/facts.d/custom.json:percona.cluster_id- Unique cluster identifierpercona.dynamodb_table- DynamoDB table for lockingpercona.credentials_secret- AWS Secrets Manager secret namepercona.vpc_cidr- VPC CIDR for user host restrictionspercona.read_tg_arn- Read target group ARNpercona.write_tg_arn- Write target group ARNTest plan