Skip to content
New issue

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

fix for strict_indent do not work for file #109

Closed
zombiedk opened this issue Mar 22, 2023 · 3 comments
Closed

fix for strict_indent do not work for file #109

zombiedk opened this issue Mar 22, 2023 · 3 comments
Labels
bug Something isn't working community

Comments

@zombiedk
Copy link

when you use puppet-lint --fix file.pp to correct indentation it do not make any changes to file sektion

Input

  file { '/etc/ssh/sshrc':
mode         => 'a+rx',
    source => "puppet:///modules/profile/auth/ssh/sshrc",
}

expected output

  file { '/etc/ssh/sshrc':
    mode   => 'a+rx',
    source => "puppet:///modules/profile/auth/ssh/sshrc",
  }

Environment

  • Version [3.3.0]
  • Platform [Ubuntu 22.10]
@zombiedk zombiedk added the bug Something isn't working label Mar 22, 2023
@ekohl
Copy link

ekohl commented Mar 22, 2023

The strict_indent plugin is here: https://github.com/voxpupuli/puppet-lint-strict_indent-check

@zombiedk
Copy link
Author

thanks have create an issue there
fix for strict_indent do not work for file #32

@chelnak
Copy link

chelnak commented Mar 23, 2023

Thanks for this @zombiedk - i'm going to close this here as you have opened an issue over in the Vox repo.

@chelnak chelnak closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

No branches or pull requests

4 participants