Displaying 20 results from an estimated 4000 matches similar to: "puppet-lint -- learning stuff about style but also generating questions"
2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25?
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not
retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey''
at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node
ext3.fr.xxx.com
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Not using cache
on failed catalog
The
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
2011 Feb 03
3
2.6.2 excluding an exported resource
I have the class below to export host entries.
However I wish to override the entry for my host to 127.0.0.1
So for all of the hosts other than foo.bar.com I would like them to
have the real IP address but for foo.bar.com I would like to just have
the loopback host entry. 2.6.2 doesn''t allow multiple tags and if I
put in another entry for localhost there is a collision.
Is there any
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 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.
2013 Mar 18
3
Hiera 1.2.0-rc2 and deep-merge
Stumbled around a bit until I figured out you need to do this:
gem install deep_merge
to get it to work !
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
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 =>
2011 Dec 19
7
When the lint accumulates...
So some of you may be aware that Tim Sharpe from GitHub wrote a Puppet
linting tool:
$ gem install puppet-lint
$ puppet-lint mymanifest.pp
Source: https://github.com/rodjek/puppet-lint
The linting tool checks Puppet code for "best practice" based on the
Puppet Labs Style Guide:
http://docs.puppetlabs.com/guides/style_guide.html
A lot of us have been using puppet-lint (and puppet
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
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 Aug 13
2
Collector not realizing own exported resources when filtering on tags
I''m trying to create a ssh class where the /etc/ssh/ssh_known_hosts and
/etc/ssh/shosts.equiv stays updated. The issue i''m finding is that if I
include a "tag == anything" in the Collector filter, it collects all
resources EXCEPT it''s own. In this case, the known_hosts and .equiv files
will have all the other hostnames, but not it''s own hostname.
2011 Nov 17
4
puppetmanaged.org ?
Anyone from puppetmanaged.org listening to this list ?
The web page to create an account <http://www.puppetmanaged.org/user/register> is busted.
The CAPTCHA does not show up and you cannot register without it.
So I tried their mailing list -- <http://www.puppetmanaged.org/mailman/listinfo>
I was able to join, but then my attempt to post to the list bounced:
2013 Apr 26
7
passwordless ssh
What is the best and easy''t way to let all nodes ssh passwordless to each
other ?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
2012 Feb 08
2
Running Puppet(Master) on port 443
On Feb 1, 2012, at 8:06 PM, Nan Liu wrote:
> Puppet uses REST, so you can run puppet master on 443 to work around firewalls.
I would like to get a bit more information on this.
Is it as simple as setting all the ports in puppet.conf to 443 on master and agent ?
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact
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
2010 Feb 05
1
splint / lint-like syntax checker for R
Greetings -
Does CRAN or someone similar make a splint / lint-like syntax checker
for R? I realize that both ESS and the debug package and similar tools
have debugging and error analysis features, but those appear to require
running the code through the R buffer. I'd like something that did basic
syntax and object-name verification for code that was to run in batch,
as a precursor to
2011 Dec 13
6
Is there a way to push/copy a file from client to master ?
I am dealing with SSL certificates for secure rsyslog that need to be created on each machine and then collected onto the logging server.
Getting a file from puppetmaster to client is trivial, but how do I reverse the process ?
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
2013 Jun 04
11
Share Hiera configuration between 2 nodes?
Hi,
I am trying to use Hiera in puppet 3 and I have two nodes that both need
the same configuration. In this case they are two web servers which have
the same apache configuration.
Rather than creating two seperate hiera files for node1.yaml and node2.yaml
is there a way to group these by role (e.g. webserver.yaml)? I want to
avoid duplicating the configuration if possible and keep the data
2012 Jul 11
3
where is ssh_known_hosts file generated by sshkey ?
Hi ,
I was testing puppet exported resources as in
http://docs.puppetlabs.com/guides/exported_resources.html and I had this
test class (code is from another post).
class ssh_known_hosts{
case $sshrsakey {
'''': { alert("No sshrsakey found for $fqdn") }
default: {
@@sshkey { $fqdn: