|Re: [Hangout-NYLXS] Puppet a bad solution!
|It has a several different ways to set dependences, depending on the class or method you are calling or if it's in the class itself the problem is you need to set it explicitly for every class and function call or the behavior becomes erratic
For example in on class you can have calls to 3 instances of the same method but if you don't set the to depend on each other one after the other then there is no knowing which order the will execute in, or even if all of them will run in a single call of the agent because if it thinks the class is doing too much it will execute half of it in one run then the other half in the next run to reduce the impact on the host.
The second problem is many of the classes imported are from 3rd party modules which may not be aware of every thing in your stack, so things can get strange.
Also since these dependences can be specified in multiple places you can end up with loops.
And to your point nonliner processing would be great if it did parallel execution too but it does not.
Deploying configuration flies via templates, ensuring services are running and configured to start at boot, etc. Are not new problems and shouldn't be that complicated to manage.
From: Ruben Safir
Sent: Sunday, October 25, 2015 00:53
Reply To: NYLXS Discussions List
Subject: Re: [Hangout-NYLXS] Puppet a bad solution!
On 10/23/2015 02:25 AM, prmarino1-at-gmail.com wrote:
> Code can look something like this
> Include A
> Include B
> Include C
> But the result is that it loads them in any random order it wants. And the
> order changes with every invocation of the agent randomly.
> So occasionally class C could load and execute first and as for information
> from class B but since class B hasn't loaded yet it will get null data. Other
> times B will load first and need Data from A and get a null response because A
> hasn't loaded yet then C will load and ask for info from A and B, and get null
> from A and corrupt data from B.
> Then again the can load in order (A then B then C) and every thing is happy.
I don't know anything about puppet other than what I heard at numerous
lectures, but I'm not certain that you want there to be an other to A, B
and C because the OS is multitasking and shouldn't be hung up because of
a problem with another item....BUT
They brag about the ability to declare and enforce dependencies. How is
hangout mailing list
hangout mailing list