puppetlabs / puppet-lint

Check that your Puppet manifests conform to the style guide

Home Page:https://puppetlabs.github.io/puppet-lint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix for strict_indent do not work for file

zombiedk opened this issue · comments

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]

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