Re: [Puppet Users] Is the assignment of variables executed before the package resource?

2012-10-23 Thread Apple Wang
t stages in > the process, but also two different machines! > > This is explained in more depth here: > > > http://docs.puppetlabs.com/learning/manifests.html > > > Best Regards, David > > On 23.10.2012 11:09, Apple Wang wrote: > > Hi, all > > I&#x

[Puppet Users] About execution sequence in puppet.

2012-10-23 Thread Apple Wang
Hi, all I have some questions about the execution sequence in puppet. *The background:* I want to install mysql package and configure /etc/my.cnf according to the version of mysql. So I wrote an user defined function to get mysql rpm version. Codes are as follows. ---

[Puppet Users] Is the assignment of variables executed before the package resource?

2012-10-23 Thread Apple Wang
Hi, all I'm confused about the execution sequence in puppet. *The background:* * * I want to get mysql package version after installing it with the Package resource. And I'll configure /etc/my.cnf according the version of mysql package. The code is as following.