Re: [Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-06 Thread Fabien Delpierre
enrik Lindberg > > <henrik@cloudsmith.com henrik@cloudsmith.com >> > > wrote: > > > > On 2015-05-10 8:51, Fabien Delpierre wrote: > > > > Hey folks, > > I have something like this in a manifest: > > > >

Re: [Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-06 Thread Fabien Delpierre
That looks like what I need, I will test it all later. Thanks João and Andreas! On Tuesday, October 6, 2015 at 8:29:16 PM UTC-4, Andreas Ntaflos wrote: > > On 2015-10-05 17:51, Fabien Delpierre wrote: > > Hey folks, > > I have something like this in a manifest:

Re: [Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-06 Thread Fabien Delpierre
ndb...@cloudsmith.com> wrote: > On 2015-05-10 8:51, Fabien Delpierre wrote: > >> Hey folks, >> I have something like this in a manifest: >> >> class foo( >>$python_pips = { >> pbr => { ensure => '1.3.0', install_args => ['-I'] }, >&g

[Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-05 Thread Fabien Delpierre
Hey folks, I have something like this in a manifest: class foo( $python_pips = { pbr => { ensure => '1.3.0', install_args => ['-I'] }, linecache2 => { ensure => '1.0.0', install_args => ['-I'] }, elasticsearch => { ensure => '1.6.0', install_args => ['-I'] }, }, ) { require

[Puppet Users] Re: Hi All, Can someone help me to understand chef puppet detail. I am new to this.

2015-07-27 Thread Fabien Delpierre
On Monday, July 27, 2015 at 10:06:38 AM UTC-4, JZacharias wrote: Hi All, Can someone help me to understand chef puppet detail. I am new to this Hello, I apologize if I'm misunderstanding your question, but what I'm getting is that you're trying to understand what Chef and Puppet do? If

[Puppet Users] Re: Newbie question regarding the file resource

2015-07-21 Thread Fabien Delpierre
! On Monday, July 20, 2015 at 12:17:56 PM UTC-4, Fabien Delpierre wrote: Hi folks, I'm super new to Puppet but decently experienced with Chef, I'm trying to apply my Chef logic to some things I'm trying to do in Puppet but I've hit what is probably a simple snag. And perhaps I shouldn't be trying

Re: [Puppet Users] Newbie question regarding the file resource

2015-07-21 Thread Fabien Delpierre
On Tuesday, July 21, 2015 at 9:46:56 AM UTC-4, jcbollinger wrote: I know nothing more about wrapper cookbooks than I can deduce from their name and your code, but they sound like they may have some similarity with the Puppet pattern called Roles Profiles, conceived by Craig Dunn. You

[Puppet Users] Newbie question regarding the file resource

2015-07-20 Thread Fabien Delpierre
Hi folks, I'm super new to Puppet but decently experienced with Chef, I'm trying to apply my Chef logic to some things I'm trying to do in Puppet but I've hit what is probably a simple snag. And perhaps I shouldn't be trying to apply Chef logic, but hear me out first! Firstly, I'm following

Re: [Puppet Users] Newbie question regarding the file resource

2015-07-20 Thread Fabien Delpierre
, Fabien Delpierre wrote: I've tried multiple things: puppet:///modules/sensei/mysite.conf Well that's nice, but earlier in your mail, you stated that mysite.conf is in the 'myfiles' module. The URL you need is puppet:///modules/myfiles/mysite.conf Your reasoning is sound for the most

Re: [Puppet Users] Error: undefined method `' for :undef:Symbol at line of one of my modules

2015-07-17 Thread Fabien Delpierre
On Thursday, July 16, 2015 at 3:05:49 PM UTC-4, Hunter Haugen wrote: A minimal use case shows that if $::operatingsystemmajrelease is undef (puppet's idea of nil) then this will happen, because you can't compare undef with comparators. (I include --trace just to show it really is the

[Puppet Users] Error: undefined method `' for :undef:Symbol at line of one of my modules

2015-07-16 Thread Fabien Delpierre
Hi folks, First off, let me underline that I'm completely new to Puppet. I'm an intermediate Chef user but just changed jobs, and the new place is a Puppet shop and I've never touched Puppet in my life. I have not had time to acclimatize to it at all, but today my coworker asked me to make some