similar to: When the lint accumulates...

Displaying 20 results from an estimated 10000 matches similar to: "When the lint accumulates..."

2011 Dec 19
4
Learn from MY Mistake: "false" != false
Sharing my stoopid mistake in the hopes of saving someone else the same grief: I had a boolean toggle that was not performing as expected. Long story short: I had put quotes around the word "false" class { ''foo'' : boolFlag => "false" } was coming up TRUE To fix it, lose the quotes class { ''foo'' : boolFlag => false } “Sometimes I
2013 Jan 31
7
Calling a "subclass" correctly in a node def?
Hi Guys! I played with this a bit and perused the Puppet3 docs, and tried a few different ways of calling the module with no joy before giving in and posting. I''m kind of new to all this so bear with me. *Goal of module* Singular module to hold both a mysql (client) and mysql-server class. Module default would be ''mysql'', or for mysql-servers we''ll call
2012 Sep 13
4
puppet-lint
Hi everyone, Is it possible not to notify error with puppet-lint when "trailing whitespace" are found in a comment line? Just asking. Regards, JM -- 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
2012 Aug 20
4
puppet-lint and 80 characters line limit?
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 =>
2013 Feb 20
1
Announce: Module puppetlabs/postgresql 2.1.0 Available
A new release of the puppetlabs/postgresql module is now available on the Forge: https://forge.puppetlabs.com/puppetlabs/postgresql/2.1.0 Changelog ======== This release is primarily a feature release, introducing some new helpful constructs to the module. For starters, we''ve added the line `include ''postgresql_conf_extras.conf''` by default so extra parameters not
2012 Apr 19
1
puppet-lint error
Hi, this is not strictly puppet related but I am hoping someone here who uses puppet-lint can tell me what is going on here......... $ puppet-lint init.pp /Users/jc/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/ rubygems/custom_require.rb:36:in `require'': iconv will be deprecated in the future, use String#encode instead.
2012 Dec 04
14
custom define type for array with 'case' argument pass to it
I am trying to write a define type which will use an array but in the meantime have an argument pass to it that sets a case. See for example : define link_files ($linkcase) { case $linkcase { "var" : { file { "${name}_exelink" : path => "/var/log/puppet/${name}_log", ensure => link,
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned: I originally had # Ensure /etc/hosts contains the basics host { "${fqdn}": host_aliases => $hostname, ip => $ipaddress, } And thru some trial and error, got down to this (which puppet-lint does not gripe about) # Ensure /etc/hosts contains the basics host { $fqdn: host_aliases => $hostname, ip => $ipaddress, }
2011 Jun 20
3
Geppetto is ready
Geppetto 1.0 is released and ready for download. We want all the feedback we can get, so try it out and let us know what you think! Full story at: http://cloudsmith.github.com/geppetto/ If you haven’t been following the project, Geppetto is an integrated toolset for working with Puppet modules and manifests. It’s built on the Eclipse platform. If you’re an Eclipse user, you can install it
2012 Jul 09
3
puppet 3.0.0 and hiera
Hi, If I have understood it correctly, puppet 3.0.0 will include / require hiera. In order to add support for hiera directly in Geppetto I downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera functions, but they where not there. What is the expected packaging going to be when 3.0.0 is released? Where should I expect the hiera "parser functions" to be located?
2012 Jul 26
2
Please send me your puppet formatting puzzles...
Hi, I have been working on a new puppet code formatter for Geppetto for some time, and it is now starting to work quite well. The plan is to release it in Geppetto 3.0. If you want to, you can help by sending "formatting puzzles" - i.e. "given input x, produce formatted result y". I am esp. looking for code where it is impossible to follow "the style guide" -
2006 Mar 15
2
Wine and a simple text-mode program (Gimpel PC-Lint)
I am trying to run Gimpel's PC-Lint under Wine, and am running into trouble. It is a simple DOS text-mode program, nothing fancy, no graphics, uses stdin, stdout, and stderr. It is invoked thus: In the batch file LIN.BAT: wine Lint-nt +v -i"C:\Lint" "C:\Lint\std.lnt" File std.lnt is a list of optional parameters to Lint-nt that contains this: lnt\au-sm.lnt gnu.lnt
2012 Feb 17
8
Puppet syntax check for Komodo Edit
Hi folks, Recently I''ve been using a MacBook Pro (Lion) as a workstation, I''m feeling good even if still missing some tool (coming from Ubuntu environment). I''d like to have a cross platform IDE with basic Puppet syntax highlight, so far the one that seems to better fit my needs is Komodo Edit v7, that is mentioned here:
2011 Sep 19
1
Announcement: Geppetto 2.0.0 released
The 2.0.0 release of Geppetto is available as download and updates from within Geppetto for all users of 1.0.x. Please see the FAQ at: http://cloudsmith.github.com/geppetto/faq.html for information if you run into problems updating. Checkout http://cloudsmith.github.com/geppetto/faq.html#2011/06/28/how-do-i-update if you need instructions how to run update. In this release =============== *
2013 Apr 16
7
puppet-cleaner: makes puppet DSL code comply with a subset of the style guide
FWIW, I''ve wrote puppet-cleaner to help me make comply thousands of lines of puppet 2.6 DSL code to puppet 2.7 style guide and expectations. I''m uploading it to github today for anyone to use. https://github.com/santana/puppet-cleaner Externally, you run puppet-clean file.pp and it can transform this: /* multiline comment trailing white space here -> */ class
2009 Mar 29
5
Rack::Lint::LintError with latest camping and rack
I''m trying to use Camping from Magnus'' repo (1.9.300) but running the blog.rb example (or anything for that matter) gives me Rack::Lint::LintError at / Content-Length header was 0, but should be 548 Ruby C:/ruby-1.8.7/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/lint.rb: in assert, line 16 Web GET localhost/ There are no errors on the camping output so I suspect something has
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
Has anyone seen anything like this before? I can get it to happen all the time if I issue a HEAD request, but it only happens very intermittently on GET requests. I''m using Ruby 1.9.2p180. Any ideas on where to start debugging? 204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET / HTTP/1.0" 200 37902 0.5316 app error: Content-Length header was 37902, but should be
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello, I''m writing my first puppet function rspec test and am having a problem which I don''t see how to solve. The function (and the test) involve access to files through the File Server. In order for the function (and the test) to work I need to pass "--fileserverconf=fileserver.conf" parameter to Puppet. So far I haven''t found a way to do that. If I
2013 Oct 30
1
Geppetto with Subversion
I''m trying to use Geppetto 4 to develop puppet modules and check them in and out of subversion. I''ve got a subversion repositories setup via web dav. The Cloudsmith FAQ seems a bit vague. I''ve not used Eclipse much at all and am not sure how the subversion integration works. I saw a really cool video demo from the PuppetConf youtube channel using the Forge (
2013 Dec 17
1
Geppetto complains about uninitialized variables in reduce function
Hello, I''m using the following expression to format a list: $valid_environments = [''env1'', ''env2'', ''env3''] $env_message = $valid_environments.reduce |$message, $env| { "${message}, ${env}" } It works at run-time (Puppet 3.2.4 standalone with "--parser=future"). However in Eclipse (v4.3.1),