Re: [Puppet Users] PuppetDB errors

2014-11-20 Thread Paul Seymour
On Wednesday, 19 November 2014 17:56:23 UTC, Wyatt Alt wrote: Hey Paul, That's some kind of DB corruption. Shouldn't be happening. Do you have any sense of when this started or whether it was tied to a recent upgrade? Is there a stacktrace in your logs that you could gist? Does it

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-20 Thread Felix Frank
On 11/19/2014 05:36 PM, Spriya wrote: Hi, Yes .txt can be on agent. The fact is already displayed on agent Yes, but is it a custom fact you made? Is it from some module? I get the feeling you might be over-engineering here. What is the source of the information in the text file? I feel

Re: [Puppet Users] Puppet Explorer 1.2.0 released

2014-11-20 Thread Erik Dalén
Sorry for a bit late reply on this. But I'm using it on ~6000 nodes. But then certain operations start getting a bit slow, especially in the events view. The node list and facts views are still pretty snappy though. This is using fast hardware with lots of mem for the PuppetDB postgres servers

[Puppet Users] Re: File resource

2014-11-20 Thread jcbollinger
On Wednesday, November 19, 2014 8:04:59 AM UTC-6, Mnemo Johnny wrote: Hi, colleagues! Can I repeatedly use a one file resource in Windows in follow case? You can never declare the same resource more than once in one catalog. Under some circumstances, however, the same DSL code can be

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-20 Thread Spriya
Hi, i made a custom fact, I am doing this because my manger wants an alert if the value doesnt match or changed by comparing with the external and the values we are comparing with the facts should be from a txt file not writing the values directly in the .pp file Can you give me any

[Puppet Users] Planning dynamic environments with Git

2014-11-20 Thread Jonathan Gazeley
Hi all, I'm in the process of redesigning my puppet architecture. We want to use dynamic environments and Git (with GitLab). I read about using post-receive hooks to automatically create environments and deploy stuff that is pushed into various branches[1],[2]. But how does that work when

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-20 Thread Felix Frank
On 11/20/2014 03:54 PM, Spriya wrote: Hi, i made a custom fact, I am doing this because my manger wants an alert if the value doesnt match or changed by comparing with the external and the values we are comparing with the facts should be from a txt file not writing the values directly in

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-20 Thread Spriya
Hi, Do you have any sample script. ? On Thursday, November 20, 2014 11:04:43 AM UTC-5, Felix.Frank wrote: On 11/20/2014 03:54 PM, Spriya wrote: Hi, i made a custom fact, I am doing this because my manger wants an alert if the value doesnt match or changed by comparing with the

[Puppet Users] Re: workarounds for ruby segfaults on puppet master

2014-11-20 Thread John Julien
On Wednesday, November 19, 2014 11:02:00 AM UTC-6, Tim.Mooney wrote: All- For those of you that are using puppet on RHEL 6.x (/CentOS/Oracle Linux/Scientific Linux/etc.) and have experienced ruby segfaults on your puppet master(s), what workaround or workarounds have you been using?

Re: [Puppet Users] Re: workarounds for ruby segfaults on puppet master

2014-11-20 Thread Tim Mooney
In regard to: [Puppet Users] Re: workarounds for ruby segfaults on puppet...: For those of you that are using puppet on RHEL 6.x (/CentOS/Oracle Linux/Scientific Linux/etc.) and have experienced ruby segfaults on your puppet master(s), what workaround or workarounds have you been using? I

Re: [Puppet Users] Puppet variable with a custom fact

2014-11-20 Thread Wil Cooley
On Nov 17, 2014 3:38 AM, Antoine Cotten tonio.cot...@gmail.com wrote: Hi Puppet users, Is there any convenient way to access a variable defined in a Puppet class from within a custom fact? Not directly; the ordering is wrong in your mental model. You could write out the variable as an

[Puppet Users] is there anyway to merge two facts into single one

2014-11-20 Thread Spriya
Hi , Is there any way to merge two facts into single facts. Here is my facts java_known_weblogic_version11.7.0_72java_known_weblogic_version1_path /u01/java/jdk1.7.0_72/jre/bin/java I want to merge these two facts into single one I mean java_known_weblogic_version1 =

Re: [Puppet Users] Re: File resource

2014-11-20 Thread Josh Cooper
On Thu, Nov 20, 2014 at 6:55 AM, jcbollinger john.bollin...@stjude.org wrote: On Wednesday, November 19, 2014 8:04:59 AM UTC-6, Mnemo Johnny wrote: Hi, colleagues! Can I repeatedly use a one file resource in Windows in follow case? You can never declare the same resource more than once

[Puppet Users] type as a reserved word

2014-11-20 Thread Garrett Honeycutt
Hello, Noticed Zach's recent contribution[1] to the r10k module and saw that 'type' is now reserved[2] for future use. What is Puppet Labs' plan for changing stdlib? Any recommendations to help with this migration? Any tickets around this initiative? FWIW, my modulepath has 24 modules affected

Re: [Puppet Users] type as a reserved word

2014-11-20 Thread Felix Frank
Hi, well according to this ticket, yes, there is going to be problems. https://tickets.puppetlabs.com/browse/PUP-1027 Those modules will likely not work with Puppet 4 in their current form. Cheers, Felix On 11/20/2014 10:34 PM, Garrett Honeycutt wrote: Hello, Noticed Zach's recent