Re: [Puppet Users] puppet-lint and 80 characters line limit?

2012-08-20 Thread Tim Mooney

In regard to: [Puppet Users] puppet-lint and 80 characters line limit?,...:


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?


I asked the same question on May 21st, check the group archives for the
thread and some options.  I believe the subject was linting manifests
with long lines.

My solution:

01:20 PM dogbert ~$ cat ~/.puppet-lintrc 
--no-80chars-check


Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing  Infrastructure  701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

--
You received this message because you are subscribed to the Google Groups Puppet 
Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] puppet-lint and 80 characters line limit?

2012-08-20 Thread Jakov Sosic
On 08/20/2012 08:21 PM, Tim Mooney wrote:

 I asked the same question on May 21st, check the group archives for the
 thread and some options.  I believe the subject was linting manifests
 with long lines.
 
 My solution:
 
 01:20 PM dogbert ~$ cat ~/.puppet-lintrc --no-80chars-check

Oh, I had old version of puppet-lint which didn't have options at all :D
Now I've built RPM for latest rubygem and it works now.

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.