[Puppet Users] Enhancing NetApp Puppet library - implementing netapp_snmp_community_delete

2017-06-28 Thread nidhi mittal hada
Hello All, I am working on netapp puppet module enhancment present here https://github.com/puppetlabs/puppetlabs-netapp/ I have a doubt here regarding community acceptance to a thought flow. = I have got limitation

[Puppet Users] Re: PuppetDB - High CPU Large number of KahaDB files and very little work going to postgresql

2017-06-28 Thread Mike Sharpton
Hmm, I had thought these were one in the same. I don't have a 3 environment to look at anymore. Good luck. On Wednesday, June 28, 2017 at 2:37:35 PM UTC-5, Peter Krawetzky wrote: > > I looked at both documents and the second one references the scheduler log > files filling up. Mine are

[Puppet Users] Re: PuppetDB - High CPU Large number of KahaDB files and very little work going to postgresql

2017-06-28 Thread Peter Krawetzky
I looked at both documents and the second one references the scheduler log files filling up. Mine are actually in the KahaDB directory. On Wednesday, June 28, 2017 at 12:25:57 PM UTC-4, Peter Krawetzky wrote: > > Last Sunday we hit a wall on our 3.0.2 puppetdb server. The cpu spiked > and

[Puppet Users] Re: PuppetDB - High CPU Large number of KahaDB files and very little work going to postgresql

2017-06-28 Thread Peter Krawetzky
Hi Mike, thanks for the reply. I'll look at the doci and see what they say but somehow I suspected that. And thanks for how to disable puppetdb. On Wednesday, June 28, 2017 at 12:25:57 PM UTC-4, Peter Krawetzky wrote: > > Last Sunday we hit a wall on our 3.0.2 puppetdb server. The cpu spiked

Re: [Puppet Users] PuppetDB low catalog-duplication rate Puppet DB 4.3.0

2017-06-28 Thread Christopher Wood
I had a broadly similar issue in that I had a low catalog duplication rate and I had to change some puppet manifests around to fix that. Back in 2015 I was doing this to get mcollective plugin sources for the file resource: source => regsubst(keys($plugins), '^',

[Puppet Users] apt, yum, downloads, and rsync infrastructure improvements

2017-06-28 Thread Daniel Dreier
Today we're making improvements to apt.puppetlabs.com, yum.puppetlabs.com, and downloads.puppetlabs.com. I don't anticipate any user-visible changes, and this notification is just to let folks know so that you can report problems to me. Specifically, we're switching out the CDN backend - it's

[Puppet Users] PuppetDB low catalog-duplication rate Puppet DB 4.3.0

2017-06-28 Thread Mike Sharpton
Hey all, I am hoping there is someone else in the same boat as I am. We are running Puppet 4.2.2, along with PuppetDB 4.3.0. I am seeing low duplication rate which I think is contributing to our queuing problems in PuppetDB. The queue will fluctuate from 0-100 queued, to up to 2000. We

[Puppet Users] Re: PuppetDB - High CPU Large number of KahaDB files and very little work going to postgresql

2017-06-28 Thread Mike Sharpton
Hey Peter, I am not using version 3 anything anymore, but you can turn off the masters sending things to PuppetDB by removing a few lines in the puppet.conf. The master will not send anything to PuppetDB without this. Not sure if you need or mess with routes.yaml/puppetdb.conf as well.

Re: [Puppet Users] Re: hiera_hash string key variable

2017-06-28 Thread Henrik Lindberg
On 28/06/17 13:58, João Matos wrote: tks. tried both ways. didnt work Then something else is wrong, impossible to say what since "didnt work" does not say much. I am absolutely positive the example I showed does what you wanted "interpolates a value into the key you are looking up" -

[Puppet Users] PuppetDB - High CPU Large number of KahaDB files and very little work going to postgresql

2017-06-28 Thread Peter Krawetzky
Last Sunday we hit a wall on our 3.0.2 puppetdb server. The cpu spiked and the KahaDB logs started to grow eventually almost filling a filesystem. I stopped the service, removed the mq directory per a troubleshooting guide, and restarted. After several minutes the same symptoms began again

[Puppet Users] Re: ntp package_name

2017-06-28 Thread João Matos
now i can't find how the common is being "called". Guess this is puppet 4 stuff. Will dig the docs. tks On Wednesday, 28 June 2017 12:58:14 UTC+1, João Matos wrote: > > I am baffled! > > package_manage is not defined anywhere. How is this possible? > > >

Re: [Puppet Users] getvar and case

2017-06-28 Thread Ugo Bellavance
I confirm that using stdlib's downcase() worked. -- 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+unsubscr...@googlegroups.com. To view this

RE: [Puppet Users] ntp package_name

2017-06-28 Thread Bart-Jan Vrielink
João, The default value is defined in data/common.yaml (as present), but depending on the OS version, this may be overridden. See hiera.yaml for what files may be consulted. Note that this version of the ntp module requires at least Puppet version 4.7.0. -Original message- From:

[Puppet Users] Re: hiera_hash string key variable

2017-06-28 Thread João Matos
tks. tried both ways. didnt work On Monday, 26 June 2017 17:58:51 UTC+1, João Matos wrote: > > Hi > > i wanted to had the value to hiera_hash string key from a variable > > something like: > > $variable= specific > $newvariable = hiera_hash('data::hiera::$variable') > > is this possible what's

[Puppet Users] ntp package_name

2017-06-28 Thread João Matos
I am baffled! package_manage is not defined anywhere. How is this possible? https://github.com/puppetlabs/puppetlabs-ntp/blob/master/manifests/install.pp if $ntp::package_manage { package { $ntp::package_name: ensure => $ntp::package_ensure, }

Re: [Puppet Users] passing a regex as a class parameter

2017-06-28 Thread Henrik Lindberg
On 27/06/17 17:44, Christopher Wood wrote: A little oddity I stumbled across while getting things wrong about somebody's pastebin entry in #puppet on freenode. This thing: class classname ( Regexp $param, ) { notice('yes') } class { 'classname': param => /^.$/, } Does this with