Fix arrow_alignment violation in mysqlbackup.pp - #1732
Merged
Conversation
The `require` parameter in the `mysql_user` resource block was missing
alignment spaces, causing puppet-lint's `arrow_alignment` check to fail:
indentation of => is not properly aligned (expected in column 19,
but found it in column 13) on line 44 (check: arrow_alignment)
All `=>` arrows within a resource block must align at the same column.
The other two parameters in this block already have `=>` at column 19:
ensure => $ensure,
password_hash => Deferred('mysql::password', [$backuppassword]),
require => Class['mysql::server::root_password'], ← col 13 (wrong)
Restored the correct spacing so all three arrows align at column 19:
require => Class['mysql::server::root_password'],
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bronachfalls
requested review from
a team,
alexjfisher and
bastelfreak
as code owners
August 18, 2026 09:10
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.
The
requireparameter in themysql_userresource block was missing alignment spaces, causing puppet-lint'sarrow_alignmentcheck to fail:All
=>arrows within a resource block must align at the same column. The other two parameters in this block already have=>at column 19:Restored the correct spacing so all three arrows align at column 19:
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
puppet apply)