software developer using puppet to automate the installation custom
software. I had a question involving variable parsing order. It has been
mentioned that Puppet variables are parse-order-dependent, though sometimes
seems totally random or independent of any order. Is there a way to order
or chain variable parsing (in an instance where parsing seems to be at
random), kind of how resource execution can be ordered in a manifest? I
know this isn't traditionally how puppet works, but I was curious as to any
trick that may accomplish something like this. To give a little context, I
want to assign a variable a value that only becomes existent after it is
created by the execution of a particular exec resource. But when a
manifest is applied, variables are checked before resources are executed.
So on and so forth.... Even if this isn't possible (assigning a variable
after resource execution), a way to at least order the parsing of the
variables in the phase before resource execution would prove very helpful.
I apologize if this seems trivial to anyone. Honestly I hope that it is.
Thanks a bunch!!
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/iyOUo33GaM8J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.