Re: [Puppet Users] Problem with if resource ordering

2014-04-14 Thread Felix Frank
Hi, have you ever had this on resolved? If not, this is likely the information you are lacking: http://docs.puppetlabs.com/learning/ordering.html#metaparameters-resource-references-and-ordering HTH, Felix On 03/13/2014 10:35 AM, Luis León wrote: > I have a problem with if statements, they execu

[Puppet Users] Problem with if resource ordering

2014-03-13 Thread Luis León
I have a problem with if statements, they execute first of all, for example the next code inside a class that is placed the last resource on node definition: exec { 'rabbitmqctl stop_app': } if $rabbitmq_version == '2.8.7-1' { exec { 'rabbitmqctl reset': }