Ask Your Question

Mysterious "=> alignment" problem

asked 2015-05-25 12:40:23 -0600

tianyin gravatar image


I'm new to Puppet forge, and I'm learning to publish my first simple module:

After I published it, I found the module page showing a warning "Indentation of => is not properly aligned."

However, I checked my manifest files and I didn't find anywhere => is not aligned (in fact I tuned them a couple times just to pass the style test)...

I also run puppet-lint locally and it does not show any warnings.

Does anyone encounter the same warning? Or did I miss something to make the style correct? :-(

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-05-26 19:41:08 -0600

updated 2015-05-26 19:41:32 -0600

What version of puppet-lint are you using locally to test this?

In puppet-lint version 1.0.0 the arrow alignment check was made stricter:

The arrow_alignment check now throws a warning if the arrows aren’t aligned as close to the parameter name as possible.

I believe that's your issue.

edit flag offensive delete link more


My puppet-lint version is 0.1.4 (the default from ubuntu)...T_T hmmm, it's time to update! Thanks a lot, Alex!

tianyin gravatar imagetianyin ( 2015-05-26 20:29:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-05-25 12:40:23 -0600

Seen: 497 times

Last updated: May 26 '15