Re: [Puppet-dev] Platform Team Week of October 6th, 2014

2014-10-09 Thread Felix Frank
On 10/09/2014 09:24 PM, Andy Parker wrote: > I'm waiting with baited breath for the conclusion :) Then I hope you're in Portland these days, so that someone can check your vital signs occasionally ;-) -- You received this message because you are subscribed to the Google Groups "Puppet Developer

Re: [Puppet-dev] Package duplicate resource issue - PUP-1073

2014-10-09 Thread Trevor Vaughan
I'm still a big fan of this for clarity and ease of use: That would conflict for the secondary_package resources. We could try not > unifying the different providers under a single name: > package { 'mysql': ensure => installed } > gem { 'mysql': ensure => installed } > pip { 'mysql': ensure

Re: [Puppet-dev] Package duplicate resource issue - PUP-1073

2014-10-09 Thread Andy Parker
On Thu, Oct 9, 2014 at 3:10 PM, John Bollinger wrote: > On Thursday, October 9, 2014 9:12:41 AM UTC-5, Felix Frank wrote: >> >> On 10/08/2014 10:34 PM, Charlie Sharpsteen wrote: >> > On Wednesday, October 8, 2014 11:51:32 AM UTC-7, John Bollinger wrote: >> > >> > >> > >> > On Wednesday, Octob

Re: [Puppet-dev] Package duplicate resource issue - PUP-1073

2014-10-09 Thread John Bollinger
On Thursday, October 9, 2014 9:12:41 AM UTC-5, Felix Frank wrote: > > On 10/08/2014 10:34 PM, Charlie Sharpsteen wrote: > > On Wednesday, October 8, 2014 11:51:32 AM UTC-7, John Bollinger wrote: > > > > > > > > On Wednesday, October 8, 2014 6:55:19 AM UTC-5, Felix Frank wrote: > > > >

Re: [Puppet-dev] how can i get each java version in each custom facts

2014-10-09 Thread Supriya Uppalapati
Hi Andy, The way i approach for this, was i took my code and first run it in ruby parser and also in my test server to execute first in ruby.After executing that ruby script then i tried to convert ruby script into puppet facts. like Facter.add to retireve the result. My question was, when i exec

Re: [Puppet-dev] how can i get each java version in each custom facts

2014-10-09 Thread Andy Parker
On Thu, Oct 9, 2014 at 7:02 AM, Supriya Uppalapati < supriya.uppalap...@gmail.com> wrote: > Hi, > > when i tested my code with irb, it is executing the output. when in facts > it is not resulting any output > > Here is my output of irb > > *irb* > *irb(main):001:0> logfile = '/home/suppalapati/jav

Re: [Puppet-dev] Package duplicate resource issue - PUP-1073

2014-10-09 Thread Felix Frank
On 10/08/2014 10:34 PM, Charlie Sharpsteen wrote: > On Wednesday, October 8, 2014 11:51:32 AM UTC-7, John Bollinger wrote: > > > > On Wednesday, October 8, 2014 6:55:19 AM UTC-5, Felix Frank wrote: > > package { 'mysql-gem': package_name => mysql, provider => gem } > > ...which is

Re: [Puppet-dev] how can i get each java version in each custom facts

2014-10-09 Thread Supriya Uppalapati
Hi, when i tested my code with irb, it is executing the output. when in facts it is not resulting any output Here is my output of irb *irb* *irb(main):001:0> logfile = '/home/suppalapati/java.txt'* *=> "/home/suppalapati/java.txt"* *irb(main):002:0> line_num=0* *=> 0* *irb(main):003:0> require

Re: [Puppet-dev] how can i get each java version in each custom facts

2014-10-09 Thread Supriya Uppalapati
Hi, I did the same way you told me. Still not returning any output irb irb(main):001:0> logfile = '/home/suppalapati/java.txt' => "/home/suppalapati/java.txt" irb(main):002:0> line_num=0 => 0 irb(main):004:0> require 'facter/util/file_read' => true irb(main):005:0> log = Facter::Util::FileRead.rea

Re: [Puppet-dev] How should apply behave under an ENC

2014-10-09 Thread R.I.Pienaar
- Original Message - > From: "Erik Dalén" > To: "puppet-dev" > Sent: Thursday, October 9, 2014 8:02:47 AM > Subject: Re: [Puppet-dev] How should apply behave under an ENC > I vote for option 2 or 3. > But against 2a. I think differentiating between a config file that > specifies the de

Re: [Puppet-dev] How should apply behave under an ENC

2014-10-09 Thread Erik Dalén
I vote for option 2 or 3. But against 2a. I think differentiating between a config file that specifies the default value (environment=production), and one that leaves it out (to get the default value) seems really odd behaviour. Note that this whole thing only applies if you have node_terminus=exe