[Puppet Users] Puppet require - failure handling

2014-01-05 Thread Johan Martinez
If I define a wordpress class with require functions as below: class wordpress { require apache require mysql ... } Then would it run even if apache or mysql classes fail for some reason? Also, if apache class returns an error, would mysql class run get triggered or Puppet would exit after apa

[Puppet Users] Cloud provisioning using Open Source Puppet

2014-01-05 Thread Johan Martinez
I am looking for Open Source Puppet solution that will help in launching and managing ec2 instances, RDS instances, elastic cache instances. I think Puppet Enterprise supports AWS out of the box, but I am confused by Puppet Open Source support. Are there any puppetlabs modules that would hep i

[Puppet Users] Puppet require - failure handling

2014-01-05 Thread Jose Luis Ledesma
There is not after or before when puppet applies a manifest if there are not dependencies explicitly declared. In the example you have written mysql and apache will be applied in no particular order between them, but will be implemented both before any other resource in the WordPress class. If

Re: [Puppet Users] Puppet require - failure handling

2014-01-05 Thread Andreas Ntaflos
On 2014-01-05 11:37, Jose Luis Ledesma wrote: There is not after or before when puppet applies a manifest if there are not dependencies explicitly declared. In the example you have written mysql and apache will be applied in no particular order between them, but will be implemented both before

Re: [Puppet Users] Puppet require - failure handling

2014-01-05 Thread Jose Luis Ledesma
Right! I wrote it from the mobile :s -- 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 discussion on the we

Re: [Puppet Users] Puppet require - failure handling

2014-01-05 Thread neubyr
That explains how resource ordering works. Is it the same way with require statement? For example, if apache or mysql class fails on the node, would wordpress class run be attempted? On Sun, Jan 5, 2014 at 8:50 AM, Jose Luis Ledesma < joseluis.lede...@gmail.com> wrote: > Right! I wrote it from

Re: [Puppet Users] Puppet require - failure handling

2014-01-05 Thread Jose Luis Ledesma
Clases WordPress requiere both MySQL and apache, so no resource of WordPress will be "executed" if any of them fails -- 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

[Puppet Users] Re: Hiera and ENC-set top-scope variables

2014-01-05 Thread Josh
Hi, I'm trying to do the exact same thing without success. If I understand the Hiera documentation correctly [1], this should be possible (although, I may be misunderstanding this documentation). The only workaround I have currently is to turn the top-scope variable (provided by my ENC) into

[Puppet Users] Re: Cloud provisioning using Open Source Puppet

2014-01-05 Thread Josh
You could always check out The Foreman [1]. [1] http://theforeman.org Josh On Sunday, January 5, 2014 4:14:56 AM UTC-5, Johan Martinez wrote: > > > I am looking for Open Source Puppet solution that will help in launching > and managing ec2 instances, RDS instances, elastic cache instances. I th

Re: [Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2014-01-05 Thread Johan De Wit
Hi spencer, I just received the hard-copy of the book. let's start reading :) Grts Jo On 12/24/2013 11:04 PM, Spencer Krum wrote: Hello, I am one of the Authors of Pro Puppet. I'm glad to hear that everyone is trying to buy the book. I'm sorry that its taken so long to get it written,

Re: [Puppet Users] Re: rspec-puppet: function stubs

2014-01-05 Thread Johan De Wit
I think the best place to look for examples is the puppet code itself. I haven't used stubbing that much myself, but this will be coming very soon. I'm trying to write an dynamic openldap type starting from the rspec file. I documented a bit on every step i did, and tagged the git repo every