On Monday, August 20, 2012 12:24:59 PM UTC-5, Jakov Sosic wrote:
>
> Hi.
>
> I'm getting lots of warning like this one from puppet-lint:
>
> WARNING: line 67 has more than 80 characters
>
> Now, I don't like warnings, so any idea how should I rewrite this line
> for example, to void the warning?
>
> package {'rpmforge-release':
> ensure => '0.5.2-2.el6.rf',
> provider => 'rpm',
> source =>
> '
> http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm',
>
>
> }
>
> Is it possible to break links into two lines?
>
>
>
You have 2 options. One is to use the --no-80chars-check option. This is
what I do.
The other option is to use the line continuation character, which (I
think) is a slash ( \ ) followed by a newline. Keep in mind that any
spaces on the next line will be included in the string. I don't like this
option because I feel it decreases readability.
>
>
>
>
> --
> Jakov Sosic
> www.srce.unizg.hr
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/ZZzLZXjGpHIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.