We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey guys, this code fails to lint:
class { 'ssh': storeconfigs_enabled => false, server_options => { "Match Host ${fqdn}" => { 'PermitRootLogin' => 'without-password', } }, }
The error is:
WARNING: indentation of => is not properly aligned on line 4
If I was to remove the double quotes and variable with the same alignment, it passes.
e.g. this code works
class { 'ssh': storeconfigs_enabled => false, server_options => { 'Match Host --fqdn-' => { 'PermitRootLogin' => 'without-password', } }, }
Any help would be greatly appreciated Fotis
The text was updated successfully, but these errors were encountered:
I have this exact same problem. If I use a variable in a key I get a false indentation aligning warning. Here is my code example:
class { '::ssh::server': storeconfigs_enabled => false, options => { 'Port' => ['22'], 'PermitRootLogin' => 'without-password', 'Subsystem' => 'sftp internal-sftp -l INFO', 'ChallengeResponseAuthentication' => 'no', "Match User ${sftpuser}" => { 'ChrootDirectory' => $sftpmountpath, 'ForceCommand' => 'internal-sftp -l INFO', 'PasswordAuthentication' => 'yes', 'AllowTcpForwarding' => 'no', 'X11Forwarding' => 'no', }, }, }
Sorry, something went wrong.
Duplicate of #424.
No branches or pull requests
Hey guys, this code fails to lint:
The error is:
If I was to remove the double quotes and variable with the same alignment, it passes.
e.g. this code works
Any help would be greatly appreciated
Fotis
The text was updated successfully, but these errors were encountered: