-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi,
We have the following code:
file { ['/opt/foo/var',
'/opt/foo/log',
'/opt/foo/bar']:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
The formatter makes out of this perfectly fine code something like this:
file { ['/opt/dbe/dirtdb',
'/opt/dbe/log',
'/opt/dbe/sox']:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
This is not the only occurence. Looks like the formatter is formatting code incorrectly in several other places as well.
For example in one occurence it made out of a file:
class bar::foo {
...
exec { 'foobarbazinga':
command => '/usr/sbin/command',
unless => '/usr/sbin/command2',
}
}
Something like this:
class bar::foo {
...
exec { 'foobarbazinga':
command => '/usr/sbin/command',
unless => '/usr/sbin/command2',
} }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels