Re: [Puppet Users] Puppet Language Style Guide update

2017-02-14 Thread Thomas Müller
I'm using vim with syntastic for code checks while editing. For git hooks checks I use overcommit - a flexible git hook manager. This is not a GUI but works great. :-) Thomas https://github.com/vim-syntastic/syntastic https://github.com/brigade/overcommit -- You received this message because

[Puppet Users] Re: optimize my configuration

2017-02-14 Thread jcbollinger
On Monday, February 13, 2017 at 10:51:42 AM UTC-6, puppetstan wrote: > > thanks for your answer > > But with this conf, my package package-5.0.el6.noarch.rpm is automatically > downloaded even if my package version is 5.0. So it's my problem. I don't > want downloaded package package-5.0.el6.no

[Puppet Users] Why do my SERVER certs get revoked?

2017-02-14 Thread Dayton Jones
I'm intermittently getting Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=my.puppet.master] when clients try to connect...this is very random and could go months without the error, but I've got it sev

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
I found that although that fixed my error, I got no data. Turns out this is because you need a hiera.yaml in each environment folder with the datadir specified to that environment (if you are using a hieradata folder specific to each environment. I also needed to change puppet.conf and add envi

[Puppet Users] Infortmatica Installation using puppet Manifest

2017-02-14 Thread Mahender Mahende
Hi Team, Could someone help me out for writing the manifest to install the Informatica using the puppet manifest. Thanks, Mahender -- 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

[Puppet Users] Re: Puppet reporting

2017-02-14 Thread Bob
I use puppetdb along with pupperboard, gives a really nice interface and works with puppet 3+4 Also can be puppet'd itself. On Friday, February 10, 2017 at 3:13:24 AM UTC+13, devops...@gmail.com wrote: > > Hi Everyone, > > I want to report the puppet change events across nodes to a central > s

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
The spec appears to be here - https://docs.puppet.com/puppet/4.9/lookup_quick.html On Wednesday, February 8, 2017 at 8:37:32 AM UTC+13, Joshua Schaeffer wrote: > > Okay I see that they are actually preparing to release Puppet 4.9.2 which > is supposed to fix these issues. Does this mean they wil

[Puppet Users] Puppet erb template create loop

2017-02-14 Thread Rafael Tomelin
Hi dear, I is create a module and need loop in puppet class and template The my class step is: 1) My class have array declared; $pools = [ { name => 'PoolDiario', poolType => 'Backup', recycle=> 'yes', autoPrune => 'yes',

[Puppet Users] Re: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-14 Thread Bob
Being that I have followed the default structure this time the following worked fine for me direct from the above link - --- version: 5 defaults: datadir: data data_hash: yaml_data hierarchy: - name: "Nodes" path: "nodes/%{trusted.certname}.yaml" # Putting a JSON level between YAML

Re: [Puppet Users] Puppet Language Style Guide update

2017-02-14 Thread Ramin K
Also a fan of David Walhstrom's git hooks and we use them server side too. Ramin On 2/13/17 10:36 AM, Christopher Wood wrote: Same budget for tools here. I get along just fine with a combination of puppet-mode for emacs and the pre-commit hook from David Walhstrom's puppet-git-hooks project.

[Puppet Users] Re: Why do my SERVER certs get revoked?

2017-02-14 Thread John Gelnaw
On Tuesday, February 14, 2017 at 11:56:27 AM UTC-5, Dayton Jones wrote: > > I'm intermittently getting > Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server > certificate B: certificate verify failed: [certificate revoked for > /CN=my.puppet.master] > > when clients try to conn

[Puppet Users] hiera deep hash merges broken

2017-02-14 Thread Daniel Urist
To get deep hash merges in hiera, I have been using the following in my hiera.yaml: > --- > :merge_behavior: deeper > :backends: > - eyaml And in one of my classes, a call to hiera_hash() like this: $if_merged = hiera_hash('profiles::pserver::interfaces') However, with puppetserver versio

[Puppet Users] Re: hiera deep hash merges broken

2017-02-14 Thread Daniel Urist
Just found this issue, which seems to describe what's going on: https://github.com/TomPoulton/hiera-eyaml/issues/222 So eyaml is broken wrt hash merges? Are there any workarounds available? On Tue, Feb 14, 2017 at 12:35 PM, Daniel Urist wrote: > To get deep hash merges in hiera, I have been usi