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

WARNING: => on line 13 isn't aligned with the previous line #37

Closed
mpiscaer opened this issue Nov 22, 2011 · 0 comments
Closed

WARNING: => on line 13 isn't aligned with the previous line #37

mpiscaer opened this issue Nov 22, 2011 · 0 comments

Comments

@mpiscaer
Copy link

I have a hash in an hash, but now the puppet-lint gives me the following error back:
WARNING: => on line 13 isn't aligned with the previous line
WARNING: => on line 14 isn't aligned with the previous line

It doesn't give me an warrning about the other line. I would say that the style gide is correct of the code.

It is effective on the following code:

class {'lvs::base':
    virtualeservers => {
        '192.168.2.13' => {
            vport           => '11025',
            service         => 'smtp',
            scheduler       => 'wlc',
            protocol        => 'tcp',
            checktype       => 'external',
            checkcommand    => '/path/to/checkscript',
            real_servers    => {
                'server01'   => {
                        real_server => '192.168.2.14',
                        real_port   => '25',
                        forwarding  => 'masq'
                    },
                'server02'  => {
                    real_server => '192.168.2.15',
                    real_port   => '25',
                    forwarding  => 'masq'
                }
            }
        }
    }
}
rodjek added a commit that referenced this issue Dec 26, 2011
@rodjek rodjek closed this as completed in 590cb3f Dec 26, 2011
ekohl pushed a commit to ekohl/puppet-lint that referenced this issue Oct 19, 2022
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

2 participants