Skip to content
This repository

Indenting: Arrays split by line #10

Closed
xironix opened this Issue · 1 comment

3 participants

Steffen L. Norgren No GUI Tim Sharpe
Steffen L. Norgren

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
}
No GUI

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

Tim Sharpe 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.