Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Indenting: Arrays split by line #10

Closed
xironix opened this Issue · 1 comment

3 participants

@xironix

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
}
@evaryont

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

@rodjek rodjek closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.