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

Indenting: Arrays split by line #10

Closed
xironix opened this issue Aug 23, 2012 · 1 comment
Closed

Indenting: Arrays split by line #10

xironix opened this issue Aug 23, 2012 · 1 comment

Comments

@xironix
Copy link
Contributor

xironix commented Aug 23, 2012

When indenting puppet code, it won't indent some arrays correctly. For example (proper indentation):

exec { 'some_command':
  command => '/usr/bin/some_command',
  require => [
    File['/etc/some_file.conf'],
    Package['some_package],
  ],                 # Correct indentation
  onlyif => 'true';  # Correct indentation
}

Will be automatically indented like this (improper indentation):

exec { 'some_command':
  command => '/usr/bin/some_command',
  require => [
    File['/etc/some_file.conf'],
    Package['some_package],
    ],                 # Incorrect indentation
    onlyif => 'true';  # Incorrect indentation
}
@nogweii
Copy link
Contributor

nogweii commented Feb 23, 2013

I guess this can be cloesd since the pull request was pulled in.

@rodjek rodjek closed this as completed Jun 9, 2013
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

3 participants