Trying to figure out if these would behave the same or not?
Example 1:
-----------------
class Foo {
require Bar
someresource { 'baz':
…. # This depends on A,B and C being already completed
}
}
class Bar {
include A
include B
include C
}
Example 2:
----------------
class Foo {
include Bar
someresource { 'baz':
….
require => Class['Bar']
}
}
class Bar {
include A
include B
include C
}
So will these behave the same? When I require Bar in the first example are the
A,B and C resources guaranteed to be executed before the resource in Foo? Same
question goes for example 2
Thanks for the clarification!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.