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

Puppet-lint does not report hash rocket alignment inside a hash definition #951

Open
asselvakumar opened this issue Jul 27, 2021 · 1 comment

Comments

@asselvakumar
Copy link

The puppet-lint does not report the hash rocket alignment warning inside the hash definition, for example.

$stools_ensure = $facts['fqdn'] ? {
    /^\w+alignment-us+/ => 'installed',
    default      => 'absent'
  }

If the same alignment is given inside the resource, puppet-lint is producing a warning, for example.

file { '/etc/passwd':
  ensure => file,
owner => 'root',
group => $rootgroup,
}
warning: puppet-lint: manifests/testing.pp:14:7: indentation of => is not properly aligned (expected in column 8, but found it in column 7)
@alexjfisher
Copy link
Contributor

@asselvakumar Development has recently moved to a fork maintained by Puppet Inc. You may wish to open this issue over at https://github.com/puppetlabs/puppet-lint/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants