voxpupuli / puppet-lint-strict_indent-check

indent check for puppet-lint
Mozilla Public License 2.0
4 stars 11 forks source link

fix for strict_indent do not work for file #32

Open zombiedk opened 1 year ago

zombiedk commented 1 year ago

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 [puppet-lint 3.3.0] Platform [Ubuntu 22.10]