Re: [Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Christopher Wood
Taking a stab at this... The puppet parser will always be the authoritative source for one's puppet code validation since that is what will be parsing the code via agent or server. It will introduce any number of bugs and inconsistencies and delay to have puppet-lint keep up with what puppet

Re: [Puppet Users] Re: Puppet Agent Hang when PuppetServer Crashes...

2018-02-20 Thread Josh Cooper
On Fri, Jan 5, 2018 at 12:31 PM, John Sellens wrote: > Hi Josh - thanks for the info. > > Can I make an assertion that having the default read timeout be unlimited > is a mistake? In practical terms, anything over 60 seconds means > something is broken. > Timeouts are

Re: [Puppet Users] puppet 5 upgrade seems to have caused multiple 500 error on server with file resources (to Windows clients)

2018-02-20 Thread Josh Cooper
On Fri, Jan 26, 2018 at 8:28 AM, jmp242 wrote: > Any idea when the puppet server 5.1.5 will be released as referenced in > that bug report? > Puppetserver 5.1.5 was released January 31, and should resolve issues when serving files whose paths contain URI special characters:

Re: [Puppet Users] Puppet 5 tests of forked module gives errors

2018-02-20 Thread David Schmitt
Apologies, I linked you to the wrong section in that document. You need to run puppet generate types --environment for each of your environments. For example, to generate metadata for your production environment, run: puppet generate types --environment production. And you need to run this every

[Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Albert Shih
Hi everyone, I'm wonder why puppet-lint don't show any syntax error. For example I just delete a "," at the end of a line and [root@io manifests]$ puppet-lint init.pp [root@io manifests]$ puppet parser validate init.pp Error: Could not parse for environment production: Syntax error at

Re: [Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Albert Shih
Le 20/02/2018 à 14:00:04+0100, Martin Alfke a écrit Hi, > > some lint checks are not available in lint core, but are within a lint plugin. > In your case check: > https://github.com/voxpupuli/puppet-lint-trailing_comma-check.git > > Complete list can be found on voxpupuli: >

Re: [Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Maria Elena
Hi Albert, maybe cause puppet-lint checks only style (http://puppet-lint.com/). Regards. M.E. On Tue, Feb 20, 2018 at 1:53 PM, Albert Shih wrote: > Hi everyone, > > I'm wonder why puppet-lint don't show any syntax error. > > For example I just delete a "," at the end of a

Re: [Puppet Users] Puppet 5 tests of forked module gives errors

2018-02-20 Thread Henrik Lindberg
On 19/02/18 14:36, jmp242 wrote: I've been on that page, but it doesn't really tell me what to do. I'm not using r10k, nor pe. I don't have a |.resource_types directory pro|bably because I can't get the isolation to do anything. Probably. The .resource_types is created if needed by the

Re: [Puppet Users] Re: Announce: Puppet Platform 5.4.0 is now available

2018-02-20 Thread Melissa Stone
Thank you for bringing this up, Chuck. We'll start investigating it now. On Mon, Feb 19, 2018 at 12:00 PM Chuck wrote: > Breaking ticket: https://tickets.puppetlabs.com/browse/PUP-8223 > > New ticket: https://tickets.puppetlabs.com/browse/PUP-8470 > > Error: UID 900 already

[Puppet Users] unit tests failing on augeas resources in defined type

2018-02-20 Thread Bill Sirinek
I am continuing to work on unit tests for modules using PDK, and am having issues with the augeas resources. I added rspec-puppet-augeas to my Gemfile.local and pdk installed it, so that part is fine. However, when I run the unit tests, the augeas resource fails. I tried this on both my

[Puppet Users] Re: puppet5-nightly repos coming soon to nightlies.puppet.com!

2018-02-20 Thread Molly Waggett
Hey Puppet Users! puppet5 nightlies are finally live at nightlies.puppet.com! We've done our best to make this transition smooth, but if you run into issues or have any questions, please let us know! Thanks! On Tue, Jan 2, 2018 at 11:25 AM, Molly Waggett wrote: >

Re: [Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Albert Shih
20/02/2018 à 14:01:23+0100, Maria Elena a écrit > Hi Albert, > maybe cause puppet-lint checks only style (http://puppet-lint.com/). > Regards. You're perfectly right. But in fact I'm not very good in english, so I will rephrase... Can puppet-lint check also the syntax ? So we don't need to

Re: [Puppet Users] puppet-lint & Syntax

2018-02-20 Thread Martin Alfke
Hi Albert, some lint checks are not available in lint core, but are within a lint plugin. In your case check: https://github.com/voxpupuli/puppet-lint-trailing_comma-check.git Complete list can be found on voxpupuli: https://voxpupuli.org/plugins/#puppet-lint Best, Martin > On 20. Feb 2018,