Paul Lathrop <[email protected]> writes:
> On Sun, Apr 18, 2010 at 12:03 PM, Mr Gabriel <[email protected]> wrote:
>
>> Thank you for your answer, I thought this was the case, I coudn't see
>> any mechanism to control the order.
>
> There specifically IS a mechanism to control ordering. 'before',
> 'require', 'subscribe', and 'notify' are metaparameters which specify
> ordering explicitly.
...but they were traditionally hard to locate, so I have some sympathy for
Mr Gabriel having trouble with that. This may have improved in the newer
documentation now it moved to puppetlabs, though, since I have not rechecked.
> One of the ways that people find they need to adjust their thinking when
> using Puppet is to adjust to the idea that you need to explicitly specify
> your dependencies. This is a feature, not a bug.
In fairness, people are used to the idea they need to explicitly specify their
dependencies — just that the mechanism for that is careful ordering of your
source files, not a meta-dependency system.
>> Is is true enough to say that eventually, everything will run?
>
> As long as there are no persistent errors, you can usually depend on
> multiple runs of puppet eventually bringing your system into sync with
> your expectations. It's generally considered a best practice to spend
> a little time trying to get your manifests to work in as few runs as
> feasible.
I would have just said "yes". :)
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
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.