On Sunday, January 5, 2014 1:05:01 PM UTC-6, neubyr wrote:
>
>
> 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?  
>
>

Resource and class ordering are the same thing.  One framework governs them 
both.  You can even order resources relative to classes.  Furthermore, a 
'require' statement is exactly equivalent to an 'include' statement plus 
one or more relationship declarations.  That is this

class wordpress {
  require 'apache'
}

is exactly equivalent to

class wordpress {
  include 'apache'
  Class['apache'] -> Class['wordpress']
}


John

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/650ba945-c0e7-47ab-b608-517264c00a60%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to